taglinefilesource code
unchar90kernel/blk_drv/scsi/aha1542.cstatic int aha1542_out(unchar *cmdp, int len)
unchar103kernel/blk_drv/scsi/aha1542.cstatic int aha1542_in(unchar *cmdp, int len)
unchar360kernel/blk_drv/scsi/aha1542.cunchar ahacmd = CMD_START_SCSI;
unchar361kernel/blk_drv/scsi/aha1542.cunchar direction;
unchar362kernel/blk_drv/scsi/aha1542.cunchar *cmd = (unchar *) SCpnt->cmnd;
unchar363kernel/blk_drv/scsi/aha1542.cunchar target = SCpnt->target;
unchar364kernel/blk_drv/scsi/aha1542.cunchar lun = SCpnt->lun;
unchar495kernel/blk_drv/scsi/aha1542.cprintk("%02x ", ((unchar *)&ccb[mbo])[i]);
unchar535kernel/blk_drv/scsi/aha1542.cstatic unchar cmd[5] = {CMD_MBINIT, AHA1542_MAILBOXES};
unchar554kernel/blk_drv/scsi/aha1542.cstatic unchar inquiry_cmd[] = {CMD_RETCONF };
unchar555kernel/blk_drv/scsi/aha1542.cstatic unchar inquiry_result[3];
unchar615kernel/blk_drv/scsi/aha1542.cstatic unchar inquiry_cmd[] = {CMD_INQUIRY };
unchar616kernel/blk_drv/scsi/aha1542.cstatic unchar inquiry_result[4];
unchar661kernel/blk_drv/scsi/aha1542.cstatic unchar oncmd[] = {CMD_BUSON_TIME, 7};
unchar662kernel/blk_drv/scsi/aha1542.cstatic unchar offcmd[] = {CMD_BUSOFF_TIME, 5};
unchar712kernel/blk_drv/scsi/aha1542.cunchar buf[8];
unchar713kernel/blk_drv/scsi/aha1542.cstatic unchar cmd[] = {  READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0};
unchar752kernel/blk_drv/scsi/aha1542.cunchar ahacmd = CMD_START_SCSI;
unchar79kernel/blk_drv/scsi/aha1542.hunchar status;    /* Command/Status */
unchar80kernel/blk_drv/scsi/aha1542.hunchar ccbptr[3];    /* msb, .., lsb */
unchar85kernel/blk_drv/scsi/aha1542.hunchar datalen[3];    /* Size of this part of chain */
unchar86kernel/blk_drv/scsi/aha1542.hunchar dataptr[3];    /* Location of data */
unchar110kernel/blk_drv/scsi/aha1542.hunchar op;      /* Command Control Block Operation Code */
unchar111kernel/blk_drv/scsi/aha1542.hunchar idlun;      /* op=0,2:Target Id, op=1:Initiator Id */
unchar115kernel/blk_drv/scsi/aha1542.hunchar cdblen;    /* SCSI Command Length */
unchar116kernel/blk_drv/scsi/aha1542.hunchar rsalen;    /* Request Sense Allocation Length/Disable */
unchar117kernel/blk_drv/scsi/aha1542.hunchar datalen[3];    /* Data Length (msb, .., lsb) */
unchar118kernel/blk_drv/scsi/aha1542.hunchar dataptr[3];    /* Data Pointer */
unchar119kernel/blk_drv/scsi/aha1542.hunchar linkptr[3];    /* Link Pointer */
unchar120kernel/blk_drv/scsi/aha1542.hunchar commlinkid;    /* Command Linking Identifier */
unchar121kernel/blk_drv/scsi/aha1542.hunchar hastat;    /* Host Adapter Status (HASTAT) */
unchar122kernel/blk_drv/scsi/aha1542.hunchar tarstat;    /* Target Device Status */
unchar123kernel/blk_drv/scsi/aha1542.hunchar reserved[2];
unchar124kernel/blk_drv/scsi/aha1542.hunchar cdb[MAX_CDB+MAX_SENSE];/* SCSI Command Descriptor Block */
unchar57kernel/blk_drv/scsi/aha1740.cint aha1740_makecode(unchar *sense, unchar *status)
unchar239kernel/blk_drv/scsi/aha1740.cunchar direction;
unchar240kernel/blk_drv/scsi/aha1740.cunchar *cmd = (unchar *) SCpnt->cmnd;
unchar241kernel/blk_drv/scsi/aha1740.cunchar target = SCpnt->target;
unchar354kernel/blk_drv/scsi/aha1740.cprintk("%02x ", ((unchar *)&ecb[ecbno])[i]);
unchar135kernel/blk_drv/scsi/aha1740.hunchar senselen;    /* Sense Length */
unchar136kernel/blk_drv/scsi/aha1740.hunchar cdblen;    /* CDB Length */
unchar138kernel/blk_drv/scsi/aha1740.hunchar cdb[MAX_CDB];    /* CDB area */
unchar140kernel/blk_drv/scsi/aha1740.hunchar sense[MAX_SENSE];  /* Sense area */ 
unchar141kernel/blk_drv/scsi/aha1740.hunchar status[MAX_STATUS];  /* Status area */
unchar139kernel/blk_drv/scsi/scsi_debug.cunchar *cmd = (unchar *) SCpnt->cmnd;
unchar74kernel/blk_drv/scsi/wd7000.cstatic unchar controlstat = 0;
unchar76kernel/blk_drv/scsi/wd7000.cstatic unchar rev_1 = 0, rev_2 = 0;  /* filled in by wd7000_revision */
unchar119kernel/blk_drv/scsi/wd7000.cstatic inline int command_out(unchar *cmdp, int len)
unchar295kernel/blk_drv/scsi/wd7000.cunchar *icb;          /* for host commands */
unchar340kernel/blk_drv/scsi/wd7000.cicb = (unchar *) scb;
unchar355kernel/blk_drv/scsi/wd7000.cunchar *cdb;
unchar356kernel/blk_drv/scsi/wd7000.cunchar idlun;
unchar359kernel/blk_drv/scsi/wd7000.ccdb = (unchar *) SCpnt->cmnd;
unchar429kernel/blk_drv/scsi/wd7000.cunchar init_block[] = {
unchar494kernel/blk_drv/scsi/wd7000.cvolatile unchar icb[ICB_LEN] = {0x8c};  /* read firmware revision level */
unchar582kernel/blk_drv/scsi/wd7000.c{  int j;  unchar *cdbj = (unchar *) SCpnt->cmnd;
unchar100kernel/blk_drv/scsi/wd7000.hunchar status;
unchar101kernel/blk_drv/scsi/wd7000.hunchar scbptr[3];
unchar127kernel/blk_drv/scsi/wd7000.hunchar op;      /* Command Control Block Operation Code */
unchar128kernel/blk_drv/scsi/wd7000.hunchar idlun;      /* op=0,2:Target Id, op=1:Initiator Id */
unchar132kernel/blk_drv/scsi/wd7000.hunchar cdb[12];    /* SCSI Command Block */
unchar133kernel/blk_drv/scsi/wd7000.hunchar status;    /* SCSI Return Status */
unchar134kernel/blk_drv/scsi/wd7000.hunchar vue;      /* Vendor Unique Error Code */
unchar135kernel/blk_drv/scsi/wd7000.hunchar maxlen[3];    /* Maximum Data Transfer Length */
unchar136kernel/blk_drv/scsi/wd7000.hunchar dataptr[3];    /* SCSI Data Block Pointer */
unchar137kernel/blk_drv/scsi/wd7000.hunchar linkptr[3];    /* Next Command Link Pointer */
unchar138kernel/blk_drv/scsi/wd7000.hunchar direc;      /* Transfer Direction */
unchar139kernel/blk_drv/scsi/wd7000.hunchar reserved2[6];    /* SCSI Command Descriptor Block */
unchar149kernel/blk_drv/scsi/wd7000.hunchar len[3];
unchar150kernel/blk_drv/scsi/wd7000.hunchar ptr[3];