tag | line | file | source code |
cmnd | 1852 | drivers/scsi/53c7,8xx.c | c->cmnd[0] = REQUEST_SENSE; |
cmnd | 1853 | drivers/scsi/53c7,8xx.c | c->cmnd[1] &= 0xe0; /* Zero all but LUN */ |
cmnd | 1854 | drivers/scsi/53c7,8xx.c | c->cmnd[2] = 0; |
cmnd | 1855 | drivers/scsi/53c7,8xx.c | c->cmnd[3] = 0; |
cmnd | 1856 | drivers/scsi/53c7,8xx.c | c->cmnd[4] = sizeof(c->sense_buffer); |
cmnd | 1857 | drivers/scsi/53c7,8xx.c | c->cmnd[5] = 0; |
cmnd | 2437 | drivers/scsi/53c7,8xx.c | switch (cmd->cmnd[0]) { |
cmnd | 2454 | drivers/scsi/53c7,8xx.c | print_command(cmd->cmnd); |
cmnd | 2547 | drivers/scsi/53c7,8xx.c | patch_dsa_32(tmp->dsa, dsa_cmdout, 1, virt_to_bus(cmd->cmnd)); |
cmnd | 2729 | drivers/scsi/53c7,8xx.c | switch (cmd->cmnd[0]) { |
cmnd | 2923 | drivers/scsi/53c7,8xx.c | print_command (cmd->cmd->cmnd); |
cmnd | 3176 | drivers/scsi/53c7,8xx.c | print_command (tmp->cmnd); |
cmnd | 3224 | drivers/scsi/53c7,8xx.c | print_command (cmd->cmd->cmnd); |
cmnd | 1930 | drivers/scsi/BusLogic.c | unsigned char *CDB = Command->cmnd; |
cmnd | 854 | drivers/scsi/NCR5380.c | switch (cmd->cmnd[0]) { |
cmnd | 885 | drivers/scsi/NCR5380.c | if (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) { |
cmnd | 895 | drivers/scsi/NCR5380.c | (cmd->cmnd[0] == REQUEST_SENSE) ? "head" : "tail"); |
cmnd | 981 | drivers/scsi/NCR5380.c | (tmp->cmnd[0] == REQUEST_SENSE) ? TAG_NONE : |
cmnd | 2108 | drivers/scsi/NCR5380.c | if (cmd->cmnd[0] != REQUEST_SENSE) |
cmnd | 2114 | drivers/scsi/NCR5380.c | if ((cmd->cmnd[0] != REQUEST_SENSE) && |
cmnd | 2120 | drivers/scsi/NCR5380.c | cmd->cmnd[0] = REQUEST_SENSE; |
cmnd | 2121 | drivers/scsi/NCR5380.c | cmd->cmnd[1] &= 0xe0; |
cmnd | 2122 | drivers/scsi/NCR5380.c | cmd->cmnd[2] = 0; |
cmnd | 2123 | drivers/scsi/NCR5380.c | cmd->cmnd[3] = 0; |
cmnd | 2124 | drivers/scsi/NCR5380.c | cmd->cmnd[4] = sizeof(cmd->sense_buffer); |
cmnd | 2125 | drivers/scsi/NCR5380.c | cmd->cmnd[5] = 0; |
cmnd | 2314 | drivers/scsi/NCR5380.c | data = cmd->cmnd; |
cmnd | 2323 | drivers/scsi/NCR5380.c | if (!disconnect && should_disconnect(cmd->cmnd[0])) { |
cmnd | 681 | drivers/scsi/NCR53c406a.c | SCpnt->cmnd[0], |
cmnd | 689 | drivers/scsi/NCR53c406a.c | printk("cmd[%d]=%02x ", i, SCpnt->cmnd[i])); |
cmnd | 706 | drivers/scsi/NCR53c406a.c | outb(SCpnt->cmnd[i], SCSI_FIFO); |
cmnd | 810 | drivers/scsi/aha152x.c | print_command(SCpnt->cmnd); |
cmnd | 1656 | drivers/scsi/aha152x.c | outsw( DATAPORT, ¤t_SC->cmnd, current_SC->cmd_len >> 1 ); |
cmnd | 2566 | drivers/scsi/aha152x.c | print_command(ptr->cmnd); |
cmnd | 517 | drivers/scsi/aha1542.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmnd | 255 | drivers/scsi/aha1740.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmnd | 2601 | drivers/scsi/aic7xxx.c | cmd->cmd_len = COMMAND_SIZE(cmd->cmnd[0]); |
cmnd | 4502 | drivers/scsi/aic7xxx.c | cmd->target, cmd->cmnd[0], cmd->cmd_len, p->needwdtr, mask); |
cmnd | 4518 | drivers/scsi/aic7xxx.c | addr = cmd->cmnd; |
cmnd | 4606 | drivers/scsi/aic7xxx.c | cmd->cmnd[0], cmd->cmd_len, cmd->target, cmd->channel, |
cmnd | 568 | drivers/scsi/constants.c | print_command (cmd->cmnd); |
cmnd | 674 | drivers/scsi/eata.c | if (SCpnt->cmnd[0] == data_out_cmds[k]) { |
cmnd | 698 | drivers/scsi/eata.c | memcpy(cpp->cdb, SCpnt->cmnd, SCpnt->cmd_len); |
cmnd | 328 | drivers/scsi/eata_dma.c | inline int eata_send_immediate(u32 addr, u32 base, u8 cmnd, u8 cmnd2, u8 id, |
cmnd | 342 | drivers/scsi/eata_dma.c | outb(cmnd, base + HA_WCOMMAND); |
cmnd | 413 | drivers/scsi/eata_dma.c | if (cmd->cmnd[0] == WRITE_6 || cmd->cmnd[0] == WRITE_10 || |
cmnd | 414 | drivers/scsi/eata_dma.c | cmd->cmnd[0] == WRITE_12 || cmd->cmnd[0] == READ_6 || |
cmnd | 415 | drivers/scsi/eata_dma.c | cmd->cmnd[0] == READ_10 || cmd->cmnd[0] == READ_12) { |
cmnd | 418 | drivers/scsi/eata_dma.c | switch(cmd->cmnd[0]) { |
cmnd | 421 | drivers/scsi/eata_dma.c | x = cmd->cmnd[4]/2; |
cmnd | 425 | drivers/scsi/eata_dma.c | sho = (short *) &cmd->cmnd[7]; |
cmnd | 430 | drivers/scsi/eata_dma.c | lon = (long *) &cmd->cmnd[6]; |
cmnd | 438 | drivers/scsi/eata_dma.c | if (cmd->cmnd[0] == WRITE_6 || cmd->cmnd[0] == WRITE_10 || |
cmnd | 439 | drivers/scsi/eata_dma.c | cmd->cmnd[0] == WRITE_12){ |
cmnd | 446 | drivers/scsi/eata_dma.c | switch (cmd->cmnd[0]) { |
cmnd | 502 | drivers/scsi/eata_dma.c | memcpy(cp->cp_cdb, cmd->cmnd, cmd->cmd_len); |
cmnd | 74 | drivers/scsi/eata_dma_proc.c | char cmnd[10]; |
cmnd | 164 | drivers/scsi/eata_dma_proc.c | cmnd[0] = LOG_SENSE; |
cmnd | 165 | drivers/scsi/eata_dma_proc.c | cmnd[1] = 0; |
cmnd | 166 | drivers/scsi/eata_dma_proc.c | cmnd[2] = 0x33 + (3<<6); |
cmnd | 167 | drivers/scsi/eata_dma_proc.c | cmnd[3] = 0; |
cmnd | 168 | drivers/scsi/eata_dma_proc.c | cmnd[4] = 0; |
cmnd | 169 | drivers/scsi/eata_dma_proc.c | cmnd[5] = 0; |
cmnd | 170 | drivers/scsi/eata_dma_proc.c | cmnd[6] = 0; |
cmnd | 171 | drivers/scsi/eata_dma_proc.c | cmnd[7] = 0x00; |
cmnd | 172 | drivers/scsi/eata_dma_proc.c | cmnd[8] = 0x66; |
cmnd | 173 | drivers/scsi/eata_dma_proc.c | cmnd[9] = 0; |
cmnd | 191 | drivers/scsi/eata_dma_proc.c | scsi_do_cmd (&scmd, cmnd, buff + 0x144, 0x66, |
cmnd | 299 | drivers/scsi/eata_dma_proc.c | cmnd[0] = LOG_SENSE; |
cmnd | 300 | drivers/scsi/eata_dma_proc.c | cmnd[1] = 0; |
cmnd | 301 | drivers/scsi/eata_dma_proc.c | cmnd[2] = 0x32 + (3<<6); |
cmnd | 302 | drivers/scsi/eata_dma_proc.c | cmnd[3] = 0; |
cmnd | 303 | drivers/scsi/eata_dma_proc.c | cmnd[4] = 0; |
cmnd | 304 | drivers/scsi/eata_dma_proc.c | cmnd[5] = 0; |
cmnd | 305 | drivers/scsi/eata_dma_proc.c | cmnd[6] = 0; |
cmnd | 306 | drivers/scsi/eata_dma_proc.c | cmnd[7] = 0x01; |
cmnd | 307 | drivers/scsi/eata_dma_proc.c | cmnd[8] = 0x44; |
cmnd | 308 | drivers/scsi/eata_dma_proc.c | cmnd[9] = 0; |
cmnd | 319 | drivers/scsi/eata_dma_proc.c | scsi_do_cmd (&scmd, cmnd, buff2, 0x144, |
cmnd | 326 | drivers/scsi/eata_pio.c | switch (cmd->cmnd[0]) { |
cmnd | 355 | drivers/scsi/eata_pio.c | memcpy(cp->cp_cdb, cmd->cmnd, COMMAND_SIZE(*cmd->cmnd)); |
cmnd | 1025 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_request_sense, sizeof(do_request_sense)); |
cmnd | 1028 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_inquiry, sizeof(do_inquiry)); |
cmnd | 1034 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_read_capacity, sizeof(do_read_capacity)); |
cmnd | 1047 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_request_sense, sizeof(do_request_sense)); |
cmnd | 1052 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_request_sense, sizeof(do_request_sense)); |
cmnd | 1310 | drivers/scsi/fdomain.c | outb( current_SC->cmnd[current_SC->SCp.sent_command++], |
cmnd | 1314 | drivers/scsi/fdomain.c | current_SC->cmnd[ current_SC->SCp.sent_command - 1] ); |
cmnd | 1338 | drivers/scsi/fdomain.c | current_SC->cmnd[0], |
cmnd | 1491 | drivers/scsi/fdomain.c | switch (current_SC->cmnd[0]) { |
cmnd | 1595 | drivers/scsi/fdomain.c | if (current_SC->cmnd[0] == REQUEST_SENSE && !current_SC->SCp.Status) { |
cmnd | 1652 | drivers/scsi/fdomain.c | *(unsigned char *)SCpnt->cmnd, |
cmnd | 1742 | drivers/scsi/fdomain.c | *(unsigned char *)SCpnt->cmnd, |
cmnd | 421 | drivers/scsi/in2000.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmnd | 332 | drivers/scsi/qlogic.c | outb(cmd->cmnd[i], qbase + 2); |
cmnd | 1118 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->channel, SCpnt->target, SCpnt->cmnd, |
cmnd | 1177 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->cmnd , (void *) generic_sense, |
cmnd | 1180 | drivers/scsi/scsi.c | SCpnt->cmnd[1] = SCpnt->lun << 5; |
cmnd | 1181 | drivers/scsi/scsi.c | SCpnt->cmnd[4] = sizeof(SCpnt->sense_buffer); |
cmnd | 1186 | drivers/scsi/scsi.c | SCpnt->cmd_len = COMMAND_SIZE(SCpnt->cmnd[0]); |
cmnd | 1199 | drivers/scsi/scsi.c | void scsi_do_cmd (Scsi_Cmnd * SCpnt, const void *cmnd , |
cmnd | 1216 | drivers/scsi/scsi.c | printk ("%02x ", ((unsigned char *) cmnd)[i]); |
cmnd | 1257 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->data_cmnd , (const void *) cmnd, 12); |
cmnd | 1272 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->cmnd , (const void *) cmnd, 12); |
cmnd | 1281 | drivers/scsi/scsi.c | SCpnt->cmd_len = COMMAND_SIZE(SCpnt->cmnd[0]); |
cmnd | 1666 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->cmnd, |
cmnd | 1780 | drivers/scsi/scsi.c | print_command (SCpnt->cmnd); |
cmnd | 3054 | drivers/scsi/scsi.c | SCpnt->cmnd[0], |
cmnd | 354 | drivers/scsi/scsi.h | unsigned char cmnd[12]; |
cmnd | 434 | drivers/scsi/scsi.h | extern void scsi_do_cmd (Scsi_Cmnd *, const void *cmnd , |
cmnd | 178 | drivers/scsi/scsi_debug.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmnd | 94 | drivers/scsi/seagate.c | const void *cmnd, |
cmnd | 558 | drivers/scsi/seagate.c | (const void *) current_cmnd = SCpnt->cmnd; |
cmnd | 598 | drivers/scsi/seagate.c | result = internal_command (SCint->target, SCint->lun, SCint->cmnd, SCint->request_buffer, |
cmnd | 612 | drivers/scsi/seagate.c | return internal_command (SCpnt->target, SCpnt->lun, SCpnt->cmnd, SCpnt->request_buffer, |
cmnd | 617 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, const void *cmnd, |
cmnd | 659 | drivers/scsi/seagate.c | print_command((unsigned char *) cmnd); |
cmnd | 746 | drivers/scsi/seagate.c | cmnd=current_cmnd; /* WDE add */ |
cmnd | 1342 | drivers/scsi/seagate.c | DATA = *(const unsigned char *) cmnd; |
cmnd | 1343 | drivers/scsi/seagate.c | cmnd = 1+(const unsigned char *) cmnd; |
cmnd | 1440 | drivers/scsi/seagate.c | cmnd=current_cmnd; |
cmnd | 301 | drivers/scsi/sg.c | unsigned char cmnd[MAX_COMMAND_SIZE]; |
cmnd | 435 | drivers/scsi/sg.c | memcpy_fromfs(cmnd,buf,size); |
cmnd | 448 | drivers/scsi/sg.c | cmnd[1]= (cmnd[1] & 0x1f) | (device->device->lun<<5); |
cmnd | 459 | drivers/scsi/sg.c | scsi_do_cmd (SCpnt,(void *) cmnd, |
cmnd | 255 | drivers/scsi/sr.c | print_command(SCpnt->cmnd); |
cmnd | 636 | drivers/scsi/u14-34f.c | memcpy(cpp->scsi_cdbs, SCpnt->cmnd, cpp->scsi_cdbs_len); |
cmnd | 733 | drivers/scsi/ultrastor.c | memcpy(my_mscp->scsi_cdbs, SCpnt->cmnd, my_mscp->length_of_scsi_cdbs); |
cmnd | 902 | drivers/scsi/wd7000.c | register unchar *cdb = (unchar *) SCpnt->cmnd; |