taglinefilesource code
unchar154drivers/scsi/aha1542.cstatic int aha1542_out(unsigned int base, unchar *cmdp, int len)
unchar186drivers/scsi/aha1542.cstatic int aha1542_in(unsigned int base, unchar *cmdp, int len)
unchar208drivers/scsi/aha1542.cstatic int aha1542_in1(unsigned int base, unchar *cmdp, int len)
unchar285drivers/scsi/aha1542.cunchar inquiry_cmd[] = {CMD_INQUIRY };
unchar286drivers/scsi/aha1542.cunchar inquiry_result[4];
unchar287drivers/scsi/aha1542.cunchar *cmdp;
unchar507drivers/scsi/aha1542.cunchar ahacmd = CMD_START_SCSI;
unchar508drivers/scsi/aha1542.cunchar direction;
unchar509drivers/scsi/aha1542.cunchar *cmd = (unchar *) SCpnt->cmnd;
unchar510drivers/scsi/aha1542.cunchar target = SCpnt->target;
unchar511drivers/scsi/aha1542.cunchar lun = SCpnt->lun;
unchar652drivers/scsi/aha1542.cprintk("%02x ", ((unchar *)&ccb[mbo])[i]);
unchar695drivers/scsi/aha1542.cunchar cmd[5] = {CMD_MBINIT, AHA1542_MAILBOXES, 0, 0, 0};
unchar717drivers/scsi/aha1542.cunchar inquiry_cmd[] = {CMD_RETCONF };
unchar718drivers/scsi/aha1542.cunchar inquiry_result[3];
unchar786drivers/scsi/aha1542.cstatic unchar mbenable_cmd[3];
unchar787drivers/scsi/aha1542.cstatic unchar mbenable_result[2];
unchar818drivers/scsi/aha1542.cunchar inquiry_cmd[] = {CMD_INQUIRY };
unchar819drivers/scsi/aha1542.cunchar inquiry_result[4];
unchar950drivers/scsi/aha1542.cunchar oncmd[] = {CMD_BUSON_TIME, 7};
unchar951drivers/scsi/aha1542.cunchar offcmd[] = {CMD_BUSOFF_TIME, 5};
unchar967drivers/scsi/aha1542.cunchar dmacmd[] = {CMD_DMASPEED, 0};
unchar1031drivers/scsi/aha1542.cunchar buf[8];
unchar1032drivers/scsi/aha1542.cstatic unchar cmd[] = {  READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0};
unchar1076drivers/scsi/aha1542.cunchar ahacmd = CMD_START_SCSI;
unchar1104drivers/scsi/aha1542.cunchar ahacmd = CMD_START_SCSI;
unchar1174drivers/scsi/aha1542.cunchar ahacmd = CMD_START_SCSI;
unchar83drivers/scsi/aha1542.hunchar status;    /* Command/Status */
unchar84drivers/scsi/aha1542.hunchar ccbptr[3];    /* msb, .., lsb */
unchar89drivers/scsi/aha1542.hunchar datalen[3];    /* Size of this part of chain */
unchar90drivers/scsi/aha1542.hunchar dataptr[3];    /* Location of data */
unchar114drivers/scsi/aha1542.hunchar op;      /* Command Control Block Operation Code */
unchar115drivers/scsi/aha1542.hunchar idlun;      /* op=0,2:Target Id, op=1:Initiator Id */
unchar119drivers/scsi/aha1542.hunchar cdblen;    /* SCSI Command Length */
unchar120drivers/scsi/aha1542.hunchar rsalen;    /* Request Sense Allocation Length/Disable */
unchar121drivers/scsi/aha1542.hunchar datalen[3];    /* Data Length (msb, .., lsb) */
unchar122drivers/scsi/aha1542.hunchar dataptr[3];    /* Data Pointer */
unchar123drivers/scsi/aha1542.hunchar linkptr[3];    /* Link Pointer */
unchar124drivers/scsi/aha1542.hunchar commlinkid;    /* Command Linking Identifier */
unchar125drivers/scsi/aha1542.hunchar hastat;    /* Host Adapter Status (HASTAT) */
unchar126drivers/scsi/aha1542.hunchar tarstat;    /* Target Device Status */
unchar127drivers/scsi/aha1542.hunchar reserved[2];
unchar128drivers/scsi/aha1542.hunchar cdb[MAX_CDB+MAX_SENSE];/* SCSI Command Descriptor Block */
unchar63drivers/scsi/aha1740.cint aha1740_makecode(unchar *sense, unchar *status)
unchar248drivers/scsi/aha1740.cunchar direction;
unchar249drivers/scsi/aha1740.cunchar *cmd = (unchar *) SCpnt->cmnd;
unchar250drivers/scsi/aha1740.cunchar target = SCpnt->target;
unchar364drivers/scsi/aha1740.cprintk("%02x ", ((unchar *)&ecb[ecbno])[i]);
unchar204drivers/scsi/eata.cunchar        :4,    /* unused low nibble */
unchar206drivers/scsi/eata.cunchar  ocsena:1,    /* Overlap Command Support Enabled */
unchar214drivers/scsi/eata.cunchar host_addr[3]; /* Host Adapter SCSI ID for channels 2, 1, 0 */
unchar215drivers/scsi/eata.cunchar reserved;
unchar221drivers/scsi/eata.cunchar     irq:4,    /* Interrupt Request assigned to this controller */
unchar225drivers/scsi/eata.cunchar  sync;        /* 1 if scsi target id 7...0 is running sync scsi */
unchar228drivers/scsi/eata.cunchar  isaena:1,    /* ISA i/o addressing is disabled/enabled */
unchar231drivers/scsi/eata.cunchar  max_id:5,    /* Max number of SCSI target IDs */
unchar240drivers/scsi/eata.cunchar edis:1,       /* Disable EATA interface after config command */
unchar245drivers/scsi/eata.cunchar cpad[511];
unchar250drivers/scsi/eata.cunchar adapter_status:7,    /* State related to current command */
unchar252drivers/scsi/eata.cunchar target_status;       /* SCSI status received after data transfer */
unchar253drivers/scsi/eata.cunchar unused[2];
unchar261drivers/scsi/eata.cunchar  sreset:1,     /* SCSI Bus Reset Signal should be asserted */
unchar269drivers/scsi/eata.cunchar sense_len;     /* Request Sense Length */
unchar270drivers/scsi/eata.cunchar unused[4];
unchar271drivers/scsi/eata.cunchar phsunit:1,     /* Send to Target Physical Unit (bypass RAID) */
unchar273drivers/scsi/eata.cunchar target;        /* SCSI Target ID */
unchar274drivers/scsi/eata.cunchar     lun:3,     /* LUN */
unchar279drivers/scsi/eata.cunchar mess[3];       /* Massage to/from Target */
unchar280drivers/scsi/eata.cunchar cdb[12];       /* Command Descriptor Block */
unchar322drivers/scsi/eata.cstatic inline unchar wait_on_busy(ushort iobase) {
unchar331drivers/scsi/eata.cstatic inline unchar do_dma (ushort iobase, unsigned int addr, unchar cmd) {
unchar346drivers/scsi/eata.cstatic inline unchar read_pio (ushort iobase, ushort *start, ushort *end) {
unchar85drivers/scsi/eata_dma.cstatic unchar EISAbases[] =
unchar90drivers/scsi/eata_dma.cstatic unchar reg_IRQ[] =
unchar92drivers/scsi/eata_dma.cstatic unchar reg_IRQL[] =
unchar554drivers/scsi/eata_dma.cunchar success = FALSE;
unchar823drivers/scsi/eata_dma.cunchar dma_channel = 0;
unchar825drivers/scsi/eata_dma.cunchar bugs = 0;
unchar64drivers/scsi/eata_pio.cstatic unchar EISAbases[] =
unchar69drivers/scsi/eata_pio.cstatic unchar reg_IRQ[] =
unchar71drivers/scsi/eata_pio.cstatic unchar reg_IRQL[] =
unchar133drivers/scsi/eata_pio.cunchar stat,odd;
unchar262drivers/scsi/eata_pio.cinline uint eata_pio_send_command(uint base, unchar command)
unchar447drivers/scsi/eata_pio.cunchar success = FALSE;
unchar645drivers/scsi/eata_pio.cunchar buffer[512];
unchar340drivers/scsi/hosts.hvoid scan_scsis (struct Scsi_Host * shpnt, unchar hardcoded,
unchar341drivers/scsi/hosts.hunchar hchannel, unchar hid, unchar hlun);
unchar414drivers/scsi/in2000.cunchar direction;
unchar415drivers/scsi/in2000.cunchar *cmd = (unchar *) SCpnt->cmnd;
unchar416drivers/scsi/in2000.cunchar target = SCpnt->target;
unchar363drivers/scsi/scsi.cvoid scan_scsis (struct Scsi_Host * shpnt, unchar hardcoded, 
unchar364drivers/scsi/scsi.cunchar hchannel, unchar hid, unchar hlun)
unchar178drivers/scsi/scsi_debug.cunchar *cmd = (unchar *) SCpnt->cmnd;
unchar287drivers/scsi/u14-34f.cstatic inline unchar wait_on_busy(ushort iobase) {
unchar153drivers/scsi/wd7000.cunchar status;
unchar154drivers/scsi/wd7000.cunchar scbptr[3];             /* SCSI-style - MSB first (big endian) */
unchar172drivers/scsi/wd7000.cunchar control;                   /* shadows CONTROL port value */
unchar173drivers/scsi/wd7000.cunchar rev1, rev2;                /* filled in by wd7000_revision */
unchar257drivers/scsi/wd7000.cunchar op;                   /* command opcode (= 1) */
unchar258drivers/scsi/wd7000.cunchar ID;                   /* Adapter's SCSI ID */
unchar259drivers/scsi/wd7000.cunchar bus_on;               /* Bus on time, x 125ns (see below) */
unchar260drivers/scsi/wd7000.cunchar bus_off;              /* Bus off time, ""         ""      */
unchar261drivers/scsi/wd7000.cunchar rsvd;                 /* Reserved */
unchar262drivers/scsi/wd7000.cunchar mailboxes[3];         /* Address of Mailboxes, MSB first  */
unchar263drivers/scsi/wd7000.cunchar ogmbs;                /* Number of outgoing MBs, max 64, 0,1 = 1 */
unchar264drivers/scsi/wd7000.cunchar icmbs;                /* Number of incoming MBs,   ""       ""   */
unchar325drivers/scsi/wd7000.cunchar len[3];
unchar326drivers/scsi/wd7000.cunchar ptr[3];              /* Also SCSI-style - MSB first */
unchar330drivers/scsi/wd7000.cunchar op;      /* Command Control Block Operation Code */
unchar331drivers/scsi/wd7000.cunchar idlun;      /* op=0,2:Target Id, op=1:Initiator Id */
unchar335drivers/scsi/wd7000.cunchar cdb[12];    /* SCSI Command Block */
unchar336drivers/scsi/wd7000.cvolatile unchar status;       /* SCSI Return Status */
unchar337drivers/scsi/wd7000.cvolatile unchar vue;    /* Vendor Unique Error Code */
unchar338drivers/scsi/wd7000.cunchar maxlen[3];    /* Maximum Data Transfer Length */
unchar339drivers/scsi/wd7000.cunchar dataptr[3];    /* SCSI Data Block Pointer */
unchar340drivers/scsi/wd7000.cunchar linkptr[3];    /* Next Command Link Pointer */
unchar341drivers/scsi/wd7000.cunchar direc;      /* Transfer Direction */
unchar342drivers/scsi/wd7000.cunchar reserved2[6];    /* SCSI Command Descriptor Block */
unchar379drivers/scsi/wd7000.cunchar op;
unchar380drivers/scsi/wd7000.cunchar IDlun;                 /* Initiator SCSI ID/lun */
unchar381drivers/scsi/wd7000.cunchar len[3];                /* command buffer length */
unchar382drivers/scsi/wd7000.cunchar ptr[3];                /* command buffer address */
unchar383drivers/scsi/wd7000.cunchar rsvd[7];               /* reserved */
unchar384drivers/scsi/wd7000.cvolatile unchar vue;          /* vendor-unique error code */
unchar385drivers/scsi/wd7000.cvolatile unchar status;       /* returned (icmb) status */
unchar386drivers/scsi/wd7000.cvolatile unchar phase;        /* used by interrupt handler */
unchar390drivers/scsi/wd7000.cunchar op;
unchar391drivers/scsi/wd7000.cunchar IDlun;                 /* Target SCSI ID/lun */
unchar392drivers/scsi/wd7000.cunchar stat;                  /* (outgoing) completion status byte 1 */
unchar393drivers/scsi/wd7000.cunchar rsvd[12];              /* reserved */
unchar394drivers/scsi/wd7000.cvolatile unchar vue;          /* vendor-unique error code */
unchar395drivers/scsi/wd7000.cvolatile unchar status;       /* returned (icmb) status */
unchar396drivers/scsi/wd7000.cvolatile unchar phase;        /* used by interrupt handler */
unchar400drivers/scsi/wd7000.cunchar op;
unchar401drivers/scsi/wd7000.cvolatile unchar primary;      /* primary revision level (returned) */
unchar402drivers/scsi/wd7000.cvolatile unchar secondary;    /* secondary revision level (returned) */
unchar403drivers/scsi/wd7000.cunchar rsvd[12];              /* reserved */
unchar404drivers/scsi/wd7000.cvolatile unchar vue;          /* vendor-unique error code */
unchar405drivers/scsi/wd7000.cvolatile unchar status;       /* returned (icmb) status */
unchar406drivers/scsi/wd7000.cvolatile unchar phase;        /* used by interrupt handler */
unchar410drivers/scsi/wd7000.cunchar op;
unchar411drivers/scsi/wd7000.cvolatile unchar mask[14];     /* mask bits */
unchar413drivers/scsi/wd7000.cunchar rsvd[12];              /* reserved */
unchar415drivers/scsi/wd7000.cvolatile unchar vue;          /* vendor-unique error code */
unchar416drivers/scsi/wd7000.cvolatile unchar status;       /* returned (icmb) status */
unchar417drivers/scsi/wd7000.cvolatile unchar phase;        /* used by interrupt handler */
unchar421drivers/scsi/wd7000.cunchar op;
unchar422drivers/scsi/wd7000.cunchar type;                  /* diagnostics type code (0-3) */
unchar423drivers/scsi/wd7000.cunchar len[3];                /* buffer length */
unchar424drivers/scsi/wd7000.cunchar ptr[3];                /* buffer address */
unchar425drivers/scsi/wd7000.cunchar rsvd[7];               /* reserved */
unchar426drivers/scsi/wd7000.cvolatile unchar vue;          /* vendor-unique error code */
unchar427drivers/scsi/wd7000.cvolatile unchar status;       /* returned (icmb) status */
unchar428drivers/scsi/wd7000.cvolatile unchar phase;        /* used by interrupt handler */
unchar437drivers/scsi/wd7000.cunchar op;
unchar438drivers/scsi/wd7000.cunchar rsvd1;                 /* reserved */
unchar439drivers/scsi/wd7000.cunchar len[3];                /* parms buffer length */
unchar440drivers/scsi/wd7000.cunchar ptr[3];                /* parms buffer address */
unchar441drivers/scsi/wd7000.cunchar idx[2];                /* index (MSB-LSB) */
unchar442drivers/scsi/wd7000.cunchar rsvd2[5];              /* reserved */
unchar443drivers/scsi/wd7000.cvolatile unchar vue;          /* vendor-unique error code */
unchar444drivers/scsi/wd7000.cvolatile unchar status;       /* returned (icmb) status */
unchar445drivers/scsi/wd7000.cvolatile unchar phase;        /* used by interrupt handler */
unchar449drivers/scsi/wd7000.cunchar op;
unchar450drivers/scsi/wd7000.cunchar data[14];              /* format-specific data */
unchar451drivers/scsi/wd7000.cvolatile unchar vue;          /* vendor-unique error code */
unchar452drivers/scsi/wd7000.cvolatile unchar status;       /* returned (icmb) status */
unchar453drivers/scsi/wd7000.cvolatile unchar phase;        /* used by interrupt handler */
unchar457drivers/scsi/wd7000.cunchar op;                    /* ICB opcode */
unchar464drivers/scsi/wd7000.cunchar data[18];
unchar495drivers/scsi/wd7000.cunchar u[sizeof(int)];  /* the sizeof(int) makes it more portable */
unchar499drivers/scsi/wd7000.cstatic inline void any2scsi( unchar *scsi, int any )
unchar507drivers/scsi/wd7000.cstatic inline int scsi2int( unchar *scsi )
unchar571drivers/scsi/wd7000.cstatic inline int command_out(Adapter *host, unchar *cmd, int len)
unchar691drivers/scsi/wd7000.cunchar start_ogmb;
unchar707drivers/scsi/wd7000.cany2scsi((unchar *) ogmbs[ogmb].scbptr, (int) scbptr);
unchar864drivers/scsi/wd7000.cscb = (struct scb *) scsi2int((unchar *)icmbs[icmb].scbptr);
unchar895drivers/scsi/wd7000.cregister unchar *cdb = (unchar *) SCpnt->cmnd;
unchar896drivers/scsi/wd7000.cregister unchar idlun;
unchar910drivers/scsi/wd7000.cSCpnt->host_scribble = (unchar *) scb;
unchar957drivers/scsi/wd7000.cstatic unchar buf[256];
unchar1037drivers/scsi/wd7000.cany2scsi((unchar *) &(init_cmd.mailboxes), (int) &(host->mb));
unchar1038drivers/scsi/wd7000.cif (!command_out(host, (unchar *) &init_cmd, sizeof(init_cmd)))  {