tag | line | file | source code |
cmnd | 736 | drivers/scsi/NCR5380.c | switch (cmd->cmnd[0]) { |
cmnd | 767 | drivers/scsi/NCR5380.c | if (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) { |
cmnd | 777 | drivers/scsi/NCR5380.c | (cmd->cmnd[0] == REQUEST_SENSE) ? "head" : "tail"); |
cmnd | 863 | drivers/scsi/NCR5380.c | (tmp->cmnd[0] == REQUEST_SENSE) ? TAG_NONE : |
cmnd | 1615 | drivers/scsi/NCR5380.c | if (cmd->cmnd[0] != REQUEST_SENSE) |
cmnd | 1620 | drivers/scsi/NCR5380.c | if ((cmd->cmnd[0] != REQUEST_SENSE) && |
cmnd | 1626 | drivers/scsi/NCR5380.c | cmd->cmnd[0] = REQUEST_SENSE; |
cmnd | 1627 | drivers/scsi/NCR5380.c | cmd->cmnd[1] &= 0xe0; |
cmnd | 1628 | drivers/scsi/NCR5380.c | cmd->cmnd[2] = 0; |
cmnd | 1629 | drivers/scsi/NCR5380.c | cmd->cmnd[3] = 0; |
cmnd | 1630 | drivers/scsi/NCR5380.c | cmd->cmnd[4] = sizeof(cmd->sense_buffer); |
cmnd | 1631 | drivers/scsi/NCR5380.c | cmd->cmnd[5] = 0; |
cmnd | 1727 | drivers/scsi/NCR5380.c | len = COMMAND_SIZE(cmd->cmnd[0]); |
cmnd | 1728 | drivers/scsi/NCR5380.c | data = cmd->cmnd; |
cmnd | 1737 | drivers/scsi/NCR5380.c | if (!disconnect && should_disconnect(cmd->cmnd[0])) { |
cmnd | 719 | drivers/scsi/aha152x.c | *(unsigned char *)SCpnt->cmnd, |
cmnd | 1455 | drivers/scsi/aha152x.c | COMMAND_SIZE(current_SC->cmnd[0])>>1); |
cmnd | 1459 | drivers/scsi/aha152x.c | outsw( ¤t_SC->cmnd, |
cmnd | 1460 | drivers/scsi/aha152x.c | COMMAND_SIZE(current_SC->cmnd[0])>>1, |
cmnd | 1482 | drivers/scsi/aha152x.c | COMMAND_SIZE(current_SC->cmnd[0])); |
cmnd | 2324 | drivers/scsi/aha152x.c | for(i=0; i<COMMAND_SIZE(ptr->cmnd[0]); i++) |
cmnd | 2325 | drivers/scsi/aha152x.c | printk("%02x ", ptr->cmnd[i]); |
cmnd | 390 | drivers/scsi/aha1542.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmnd | 241 | drivers/scsi/aha1740.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmnd | 651 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_request_sense, sizeof(do_request_sense)); |
cmnd | 654 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_inquiry, sizeof(do_inquiry)); |
cmnd | 660 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_read_capacity, sizeof(do_read_capacity)); |
cmnd | 673 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_request_sense, sizeof(do_request_sense)); |
cmnd | 678 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_request_sense, sizeof(do_request_sense)); |
cmnd | 884 | drivers/scsi/fdomain.c | outb( current_SC->cmnd[current_SC->SCp.sent_command++], |
cmnd | 888 | drivers/scsi/fdomain.c | current_SC->cmnd[ current_SC->SCp.sent_command - 1] ); |
cmnd | 912 | drivers/scsi/fdomain.c | current_SC->target, current_SC->cmnd[0], |
cmnd | 939 | drivers/scsi/fdomain.c | >= COMMAND_SIZE( current_SC->cmnd[ 0 ] ))) { |
cmnd | 1066 | drivers/scsi/fdomain.c | switch (current_SC->cmnd[0]) { |
cmnd | 1170 | drivers/scsi/fdomain.c | if (current_SC->cmnd[0] == REQUEST_SENSE && !current_SC->SCp.Status) { |
cmnd | 1227 | drivers/scsi/fdomain.c | *(unsigned char *)SCpnt->cmnd, |
cmnd | 1312 | drivers/scsi/fdomain.c | *(unsigned char *)SCpnt->cmnd, |
cmnd | 722 | drivers/scsi/scsi.c | "bufflen = %d, done = %08x)\n", SCpnt->host->host_no, SCpnt->target, SCpnt->cmnd, SCpnt->buffer, SCpnt->bufflen, SCpnt->done); |
cmnd | 761 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->cmnd , (void *) generic_sense, |
cmnd | 764 | drivers/scsi/scsi.c | SCpnt->cmnd[1] = SCpnt->lun << 5; |
cmnd | 765 | drivers/scsi/scsi.c | SCpnt->cmnd[4] = sizeof(SCpnt->sense_buffer); |
cmnd | 783 | drivers/scsi/scsi.c | void scsi_do_cmd (Scsi_Cmnd * SCpnt, const void *cmnd , |
cmnd | 798 | drivers/scsi/scsi.c | printk ("%02x ", ((unsigned char *) cmnd)[i]); |
cmnd | 839 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->data_cmnd , (void *) cmnd, 12); |
cmnd | 853 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->cmnd , (void *) cmnd, 12); |
cmnd | 1237 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->cmnd, |
cmnd | 343 | drivers/scsi/scsi.h | unsigned char cmnd[12]; |
cmnd | 420 | drivers/scsi/scsi.h | extern void scsi_do_cmd (Scsi_Cmnd *, const void *cmnd , |
cmnd | 139 | drivers/scsi/scsi_debug.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmnd | 86 | drivers/scsi/seagate.c | const void *cmnd, |
cmnd | 522 | drivers/scsi/seagate.c | (const void *) current_cmnd = SCpnt->cmnd; |
cmnd | 562 | drivers/scsi/seagate.c | result = internal_command (SCint->target, SCint->lun, SCint->cmnd, SCint->request_buffer, |
cmnd | 576 | drivers/scsi/seagate.c | return internal_command (SCpnt->target, SCpnt->lun, SCpnt->cmnd, SCpnt->request_buffer, |
cmnd | 581 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, const void *cmnd, |
cmnd | 623 | drivers/scsi/seagate.c | print_command((unsigned char *) cmnd); |
cmnd | 708 | drivers/scsi/seagate.c | cmnd=current_cmnd; /* WDE add */ |
cmnd | 1304 | drivers/scsi/seagate.c | DATA = *(unsigned char *) cmnd; |
cmnd | 1305 | drivers/scsi/seagate.c | cmnd = 1+(unsigned char *) cmnd; |
cmnd | 1402 | drivers/scsi/seagate.c | cmnd=current_cmnd; |
cmnd | 212 | drivers/scsi/sg.c | unsigned char cmnd[MAX_COMMAND_SIZE]; |
cmnd | 265 | drivers/scsi/sg.c | memcpy_fromfs(cmnd,buf,size); |
cmnd | 268 | drivers/scsi/sg.c | cmnd[1]=(cmnd[1] & 0x1f) | (device->device->lun<<5); |
cmnd | 272 | drivers/scsi/sg.c | scsi_do_cmd (SCpnt,(void *) cmnd, |
cmnd | 716 | drivers/scsi/ultrastor.c | my_mscp->length_of_scsi_cdbs = COMMAND_SIZE(*(unsigned char *)SCpnt->cmnd); |
cmnd | 717 | drivers/scsi/ultrastor.c | memcpy(my_mscp->scsi_cdbs, SCpnt->cmnd, my_mscp->length_of_scsi_cdbs); |
cmnd | 361 | drivers/scsi/wd7000.c | cdb = (unchar *) SCpnt->cmnd; |
cmnd | 586 | drivers/scsi/wd7000.c | { int j; unchar *cdbj = (unchar *) SCpnt->cmnd; |