tag | line | file | source code |
cmnd | 1754 | drivers/scsi/53c7,8xx.c | c->cmnd[0] = REQUEST_SENSE; |
cmnd | 1755 | drivers/scsi/53c7,8xx.c | c->cmnd[1] &= 0xe0; /* Zero all but LUN */ |
cmnd | 1756 | drivers/scsi/53c7,8xx.c | c->cmnd[2] = 0; |
cmnd | 1757 | drivers/scsi/53c7,8xx.c | c->cmnd[3] = 0; |
cmnd | 1758 | drivers/scsi/53c7,8xx.c | c->cmnd[4] = sizeof(c->sense_buffer); |
cmnd | 1759 | drivers/scsi/53c7,8xx.c | c->cmnd[5] = 0; |
cmnd | 2260 | drivers/scsi/53c7,8xx.c | switch (cmd->cmnd[0]) { |
cmnd | 2277 | drivers/scsi/53c7,8xx.c | print_command(cmd->cmnd); |
cmnd | 2426 | drivers/scsi/53c7,8xx.c | patch_dsa_32(tmp->dsa, dsa_cmdout, 0, COMMAND_SIZE(cmd->cmnd[0])); |
cmnd | 2427 | drivers/scsi/53c7,8xx.c | patch_dsa_32(tmp->dsa, dsa_cmdout, 1, cmd->cmnd); |
cmnd | 2611 | drivers/scsi/53c7,8xx.c | switch (cmd->cmnd[0]) { |
cmnd | 2799 | drivers/scsi/53c7,8xx.c | print_command (cmd->cmd->cmnd); |
cmnd | 3052 | drivers/scsi/53c7,8xx.c | print_command (tmp->cmnd); |
cmnd | 3100 | drivers/scsi/53c7,8xx.c | print_command (cmd->cmd->cmnd); |
cmnd | 853 | drivers/scsi/NCR5380.c | switch (cmd->cmnd[0]) { |
cmnd | 884 | drivers/scsi/NCR5380.c | if (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) { |
cmnd | 894 | drivers/scsi/NCR5380.c | (cmd->cmnd[0] == REQUEST_SENSE) ? "head" : "tail"); |
cmnd | 980 | drivers/scsi/NCR5380.c | (tmp->cmnd[0] == REQUEST_SENSE) ? TAG_NONE : |
cmnd | 2104 | drivers/scsi/NCR5380.c | if (cmd->cmnd[0] != REQUEST_SENSE) |
cmnd | 2110 | drivers/scsi/NCR5380.c | if ((cmd->cmnd[0] != REQUEST_SENSE) && |
cmnd | 2116 | drivers/scsi/NCR5380.c | cmd->cmnd[0] = REQUEST_SENSE; |
cmnd | 2117 | drivers/scsi/NCR5380.c | cmd->cmnd[1] &= 0xe0; |
cmnd | 2118 | drivers/scsi/NCR5380.c | cmd->cmnd[2] = 0; |
cmnd | 2119 | drivers/scsi/NCR5380.c | cmd->cmnd[3] = 0; |
cmnd | 2120 | drivers/scsi/NCR5380.c | cmd->cmnd[4] = sizeof(cmd->sense_buffer); |
cmnd | 2121 | drivers/scsi/NCR5380.c | cmd->cmnd[5] = 0; |
cmnd | 2309 | drivers/scsi/NCR5380.c | len = COMMAND_SIZE(cmd->cmnd[0]); |
cmnd | 2310 | drivers/scsi/NCR5380.c | data = cmd->cmnd; |
cmnd | 2319 | drivers/scsi/NCR5380.c | if (!disconnect && should_disconnect(cmd->cmnd[0])) { |
cmnd | 702 | drivers/scsi/aha152x.c | *(unsigned char *)SCpnt->cmnd, |
cmnd | 1472 | drivers/scsi/aha152x.c | COMMAND_SIZE(current_SC->cmnd[0])>>1); |
cmnd | 1477 | drivers/scsi/aha152x.c | ¤t_SC->cmnd, |
cmnd | 1478 | drivers/scsi/aha152x.c | COMMAND_SIZE(current_SC->cmnd[0])>>1 ); |
cmnd | 1499 | drivers/scsi/aha152x.c | COMMAND_SIZE(current_SC->cmnd[0])); |
cmnd | 2327 | drivers/scsi/aha152x.c | for(i=0; i<COMMAND_SIZE(ptr->cmnd[0]); i++) |
cmnd | 2328 | drivers/scsi/aha152x.c | printk("%02x ", ptr->cmnd[i]); |
cmnd | 474 | drivers/scsi/aha1542.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmnd | 242 | drivers/scsi/aha1740.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmnd | 601 | drivers/scsi/buslogic.c | unsigned char *cmd = (unsigned char *)scpnt->cmnd; |
cmnd | 556 | drivers/scsi/constants.c | print_command (cmd->cmnd); |
cmnd | 704 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_request_sense, sizeof(do_request_sense)); |
cmnd | 707 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_inquiry, sizeof(do_inquiry)); |
cmnd | 713 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_read_capacity, sizeof(do_read_capacity)); |
cmnd | 726 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_request_sense, sizeof(do_request_sense)); |
cmnd | 731 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_request_sense, sizeof(do_request_sense)); |
cmnd | 941 | drivers/scsi/fdomain.c | outb( current_SC->cmnd[current_SC->SCp.sent_command++], |
cmnd | 945 | drivers/scsi/fdomain.c | current_SC->cmnd[ current_SC->SCp.sent_command - 1] ); |
cmnd | 969 | drivers/scsi/fdomain.c | current_SC->target, current_SC->cmnd[0], |
cmnd | 996 | drivers/scsi/fdomain.c | >= COMMAND_SIZE( current_SC->cmnd[ 0 ] ))) { |
cmnd | 1123 | drivers/scsi/fdomain.c | switch (current_SC->cmnd[0]) { |
cmnd | 1227 | drivers/scsi/fdomain.c | if (current_SC->cmnd[0] == REQUEST_SENSE && !current_SC->SCp.Status) { |
cmnd | 1284 | drivers/scsi/fdomain.c | *(unsigned char *)SCpnt->cmnd, |
cmnd | 1369 | drivers/scsi/fdomain.c | *(unsigned char *)SCpnt->cmnd, |
cmnd | 524 | drivers/scsi/scsi.c | print_command (SCpnt->cmnd); |
cmnd | 764 | drivers/scsi/scsi.c | "bufflen = %d, done = %08x)\n", SCpnt->host->host_no, SCpnt->target, SCpnt->cmnd, SCpnt->buffer, SCpnt->bufflen, SCpnt->done); |
cmnd | 817 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->cmnd , (void *) generic_sense, |
cmnd | 820 | drivers/scsi/scsi.c | SCpnt->cmnd[1] = SCpnt->lun << 5; |
cmnd | 821 | drivers/scsi/scsi.c | SCpnt->cmnd[4] = sizeof(SCpnt->sense_buffer); |
cmnd | 839 | drivers/scsi/scsi.c | void scsi_do_cmd (Scsi_Cmnd * SCpnt, const void *cmnd , |
cmnd | 854 | drivers/scsi/scsi.c | printk ("%02x ", ((unsigned char *) cmnd)[i]); |
cmnd | 897 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->data_cmnd , (void *) cmnd, 12); |
cmnd | 911 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->cmnd , (void *) cmnd, 12); |
cmnd | 1317 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->cmnd, |
cmnd | 1909 | drivers/scsi/scsi.c | SCpnt->cmnd[0], |
cmnd | 426 | drivers/scsi/scsi.h | unsigned char cmnd[12]; |
cmnd | 505 | drivers/scsi/scsi.h | extern void scsi_do_cmd (Scsi_Cmnd *, const void *cmnd , |
cmnd | 157 | drivers/scsi/scsi_debug.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmnd | 84 | drivers/scsi/seagate.c | const void *cmnd, |
cmnd | 516 | drivers/scsi/seagate.c | (const void *) current_cmnd = SCpnt->cmnd; |
cmnd | 556 | drivers/scsi/seagate.c | result = internal_command (SCint->target, SCint->lun, SCint->cmnd, SCint->request_buffer, |
cmnd | 570 | drivers/scsi/seagate.c | return internal_command (SCpnt->target, SCpnt->lun, SCpnt->cmnd, SCpnt->request_buffer, |
cmnd | 575 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, const void *cmnd, |
cmnd | 617 | drivers/scsi/seagate.c | print_command((unsigned char *) cmnd); |
cmnd | 704 | drivers/scsi/seagate.c | cmnd=current_cmnd; /* WDE add */ |
cmnd | 1300 | drivers/scsi/seagate.c | DATA = *(unsigned char *) cmnd; |
cmnd | 1301 | drivers/scsi/seagate.c | cmnd = 1+(unsigned char *) cmnd; |
cmnd | 1398 | drivers/scsi/seagate.c | cmnd=current_cmnd; |
cmnd | 223 | drivers/scsi/sg.c | unsigned char cmnd[MAX_COMMAND_SIZE]; |
cmnd | 277 | drivers/scsi/sg.c | memcpy_fromfs(cmnd,buf,size); |
cmnd | 280 | drivers/scsi/sg.c | cmnd[1]=(cmnd[1] & 0x1f) | (device->device->lun<<5); |
cmnd | 284 | drivers/scsi/sg.c | scsi_do_cmd (SCpnt,(void *) cmnd, |
cmnd | 117 | drivers/scsi/st.c | SCpnt->cmnd[0], SCpnt->cmnd[1], SCpnt->cmnd[2], |
cmnd | 118 | drivers/scsi/st.c | SCpnt->cmnd[3], SCpnt->cmnd[4], SCpnt->cmnd[5], |
cmnd | 130 | drivers/scsi/st.c | && SCpnt->cmnd[0] != WRITE_6 |
cmnd | 131 | drivers/scsi/st.c | && SCpnt->cmnd[0] != WRITE_FILEMARKS |
cmnd | 136 | drivers/scsi/st.c | if (SCpnt->cmnd[0] == READ_6) |
cmnd | 138 | drivers/scsi/st.c | else if (SCpnt->cmnd[0] == WRITE_6) |
cmnd | 717 | drivers/scsi/ultrastor.c | my_mscp->length_of_scsi_cdbs = COMMAND_SIZE(*(unsigned char *)SCpnt->cmnd); |
cmnd | 718 | drivers/scsi/ultrastor.c | memcpy(my_mscp->scsi_cdbs, SCpnt->cmnd, my_mscp->length_of_scsi_cdbs); |
cmnd | 898 | drivers/scsi/wd7000.c | register unchar *cdb = (unchar *) SCpnt->cmnd; |