tag | line | file | source code |
cmnd | 2664 | drivers/scsi/53c7,8xx.c | c->cmnd[0] = REQUEST_SENSE; |
cmnd | 2665 | drivers/scsi/53c7,8xx.c | c->cmnd[1] &= 0xe0; /* Zero all but LUN */ |
cmnd | 2666 | drivers/scsi/53c7,8xx.c | c->cmnd[2] = 0; |
cmnd | 2667 | drivers/scsi/53c7,8xx.c | c->cmnd[3] = 0; |
cmnd | 2668 | drivers/scsi/53c7,8xx.c | c->cmnd[4] = sizeof(c->sense_buffer); |
cmnd | 2669 | drivers/scsi/53c7,8xx.c | c->cmnd[5] = 0; |
cmnd | 3010 | drivers/scsi/53c7,8xx.c | memcpy ((void *) event->cmnd, (void *) c->cmnd, |
cmnd | 3011 | drivers/scsi/53c7,8xx.c | sizeof (event->cmnd)); |
cmnd | 3534 | drivers/scsi/53c7,8xx.c | switch (cmd->cmnd[0]) { |
cmnd | 3551 | drivers/scsi/53c7,8xx.c | print_command(cmd->cmnd); |
cmnd | 3712 | drivers/scsi/53c7,8xx.c | patch_dsa_32(tmp->dsa, dsa_cmdout, 1, virt_to_bus(cmd->cmnd)); |
cmnd | 3907 | drivers/scsi/53c7,8xx.c | switch (cmd->cmnd[0]) { |
cmnd | 3930 | drivers/scsi/53c7,8xx.c | if (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) { |
cmnd | 4206 | drivers/scsi/53c7,8xx.c | print_command (cmd->cmd->cmnd); |
cmnd | 4475 | drivers/scsi/53c7,8xx.c | print_command (tmp->cmnd); |
cmnd | 4538 | drivers/scsi/53c7,8xx.c | print_command (cmd->cmd->cmnd); |
cmnd | 5846 | drivers/scsi/53c7,8xx.c | print_command(cmd->cmnd); |
cmnd | 6333 | drivers/scsi/53c7,8xx.c | print_command (event.cmnd); |
cmnd | 1058 | drivers/scsi/53c7,8xx.h | unsigned char cmnd[12]; |
cmnd | 822 | drivers/scsi/AM53C974.c | cmd->cmnd[0], cmd->target, cmd->lun, cmd->request_bufflen, cmd->use_sg)); |
cmnd | 834 | drivers/scsi/AM53C974.c | if (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) { |
cmnd | 845 | drivers/scsi/AM53C974.c | (cmd->cmnd[0] == REQUEST_SENSE) ? "head" : "tail")); |
cmnd | 1085 | drivers/scsi/AM53C974.c | (hostdata->sel_cmd->cmnd[0] == REQUEST_SENSE) ? |
cmnd | 1120 | drivers/scsi/AM53C974.c | if ((hostdata->connected->cmnd[0] == REQUEST_SENSE) && hostdata->connected->use_sg) { |
cmnd | 1190 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
cmnd | 1205 | drivers/scsi/AM53C974.c | if (cmd->cmnd[0] == REQUEST_SENSE) { |
cmnd | 1495 | drivers/scsi/AM53C974.c | for (i = 0; i < cmd->cmd_len; i++) AM53C974_write_8(FFREG, cmd->cmnd[i]); |
cmnd | 1585 | drivers/scsi/AM53C974.c | "LINKED_FLG_CMD_COMPLETE message\n", cmd->cmnd[0])); |
cmnd | 1604 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
cmnd | 1620 | drivers/scsi/AM53C974.c | if (cmd->cmnd[0] != REQUEST_SENSE) |
cmnd | 1628 | drivers/scsi/AM53C974.c | "COMMAND_COMPLETE message\n", cmd->cmnd[0])); |
cmnd | 1630 | drivers/scsi/AM53C974.c | if ((cmd->cmnd[0] != REQUEST_SENSE) && (cmd->SCp.Status == CHECK_CONDITION)) { |
cmnd | 1632 | drivers/scsi/AM53C974.c | cmd->cmnd[0] = REQUEST_SENSE; |
cmnd | 1633 | drivers/scsi/AM53C974.c | cmd->cmnd[1] &= 0xe0; |
cmnd | 1634 | drivers/scsi/AM53C974.c | cmd->cmnd[2] = 0; |
cmnd | 1635 | drivers/scsi/AM53C974.c | cmd->cmnd[3] = 0; |
cmnd | 1636 | drivers/scsi/AM53C974.c | cmd->cmnd[4] = sizeof(cmd->sense_buffer); |
cmnd | 1637 | drivers/scsi/AM53C974.c | cmd->cmnd[5] = 0; |
cmnd | 1654 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
cmnd | 1679 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
cmnd | 1688 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
cmnd | 1699 | drivers/scsi/AM53C974.c | cmd->cmnd[0])); |
cmnd | 1706 | drivers/scsi/AM53C974.c | instance->host_no, cmd->cmnd[0], cmd->target, cmd->lun)); |
cmnd | 1791 | drivers/scsi/AM53C974.c | unsigned int i, len, cmd_size = COMMAND_SIZE(cmd->cmnd[0]); |
cmnd | 1828 | drivers/scsi/AM53C974.c | if (((cmd->cmnd[0] == INQUIRY) || (cmd->cmnd[0] == REQUEST_SENSE)) && |
cmnd | 1842 | drivers/scsi/AM53C974.c | for (i = 0; i < cmd_size; i++) AM53C974_write_8(FFREG, cmd->cmnd[i]); |
cmnd | 1847 | drivers/scsi/AM53C974.c | for (i = 0; i < cmd_size; i++) AM53C974_write_8(FFREG, cmd->cmnd[i]); |
cmnd | 2029 | drivers/scsi/BusLogic.c | unsigned char *CDB = Command->cmnd; |
cmnd | 868 | drivers/scsi/NCR5380.c | pos = lprint_command (cmd->cmnd, pos, buffer, length); |
cmnd | 1054 | drivers/scsi/NCR5380.c | switch (cmd->cmnd[0]) { |
cmnd | 1075 | drivers/scsi/NCR5380.c | switch (cmd->cmnd[0]) |
cmnd | 1113 | drivers/scsi/NCR5380.c | if (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) { |
cmnd | 1125 | drivers/scsi/NCR5380.c | (cmd->cmnd[0] == REQUEST_SENSE) ? "head" : "tail"); |
cmnd | 1235 | drivers/scsi/NCR5380.c | (tmp->cmnd[0] == REQUEST_SENSE) ? TAG_NONE : |
cmnd | 1400 | drivers/scsi/NCR5380.c | switch (cmd->cmnd[0]) |
cmnd | 2568 | drivers/scsi/NCR5380.c | if (cmd->cmnd[0] != REQUEST_SENSE) |
cmnd | 2574 | drivers/scsi/NCR5380.c | if ((cmd->cmnd[0] != REQUEST_SENSE) && |
cmnd | 2580 | drivers/scsi/NCR5380.c | cmd->cmnd[0] = REQUEST_SENSE; |
cmnd | 2581 | drivers/scsi/NCR5380.c | cmd->cmnd[1] &= 0xe0; |
cmnd | 2582 | drivers/scsi/NCR5380.c | cmd->cmnd[2] = 0; |
cmnd | 2583 | drivers/scsi/NCR5380.c | cmd->cmnd[3] = 0; |
cmnd | 2584 | drivers/scsi/NCR5380.c | cmd->cmnd[4] = sizeof(cmd->sense_buffer); |
cmnd | 2585 | drivers/scsi/NCR5380.c | cmd->cmnd[5] = 0; |
cmnd | 2786 | drivers/scsi/NCR5380.c | data = cmd->cmnd; |
cmnd | 2795 | drivers/scsi/NCR5380.c | if (!disconnect && should_disconnect(cmd->cmnd[0])) { |
cmnd | 691 | drivers/scsi/NCR53c406a.c | SCpnt->cmnd[0], |
cmnd | 699 | drivers/scsi/NCR53c406a.c | printk("cmd[%d]=%02x ", i, SCpnt->cmnd[i])); |
cmnd | 716 | drivers/scsi/NCR53c406a.c | outb(SCpnt->cmnd[i], SCSI_FIFO); |
cmnd | 3713 | drivers/scsi/advansys.c | scsiq.cdbptr = &scp->cmnd[0]; |
cmnd | 3779 | drivers/scsi/advansys.c | ASC_DBG_PRT_CDB(1, scp->cmnd, scp->cmd_len); |
cmnd | 3825 | drivers/scsi/advansys.c | ASC_DBG_PRT_CDB(2, scp->cmnd, scp->cmd_len); |
cmnd | 887 | drivers/scsi/aha152x.c | print_command(SCpnt->cmnd); |
cmnd | 1750 | drivers/scsi/aha152x.c | SETPORT(SCSIDAT, CURRENT_SC->cmnd[i]); |
cmnd | 2673 | drivers/scsi/aha152x.c | print_command(ptr->cmnd); |
cmnd | 2762 | drivers/scsi/aha152x.c | for(i=0; i<COMMAND_SIZE(ptr->cmnd[0]); i++) |
cmnd | 2763 | drivers/scsi/aha152x.c | SPRINTF("0x%02x", ptr->cmnd[i]); |
cmnd | 514 | drivers/scsi/aha1542.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmnd | 255 | drivers/scsi/aha1740.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmnd | 2062 | drivers/scsi/aic7xxx.c | cmd->cmd_len = COMMAND_SIZE(cmd->cmnd[0]); |
cmnd | 4074 | drivers/scsi/aic7xxx.c | cmd->target, cmd->cmnd[0], cmd->cmd_len, p->needwdtr, mask); |
cmnd | 4090 | drivers/scsi/aic7xxx.c | addr = cmd->cmnd; |
cmnd | 4173 | drivers/scsi/aic7xxx.c | cmd->cmnd[0], cmd->cmd_len, cmd->target, cmd->channel, |
cmnd | 571 | 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 | 327 | drivers/scsi/eata_dma.c | inline int eata_send_immediate(u32 addr, u32 base, u8 cmnd, u8 cmnd2, u8 id, |
cmnd | 341 | drivers/scsi/eata_dma.c | outb(cmnd, base + HA_WCOMMAND); |
cmnd | 412 | drivers/scsi/eata_dma.c | if (cmd->cmnd[0] == WRITE_6 || cmd->cmnd[0] == WRITE_10 || |
cmnd | 413 | drivers/scsi/eata_dma.c | cmd->cmnd[0] == WRITE_12 || cmd->cmnd[0] == READ_6 || |
cmnd | 414 | drivers/scsi/eata_dma.c | cmd->cmnd[0] == READ_10 || cmd->cmnd[0] == READ_12) { |
cmnd | 417 | drivers/scsi/eata_dma.c | switch(cmd->cmnd[0]) { |
cmnd | 420 | drivers/scsi/eata_dma.c | x = cmd->cmnd[4]/2; |
cmnd | 424 | drivers/scsi/eata_dma.c | sho = (short *) &cmd->cmnd[7]; |
cmnd | 429 | drivers/scsi/eata_dma.c | lon = (long *) &cmd->cmnd[6]; |
cmnd | 437 | drivers/scsi/eata_dma.c | if (cmd->cmnd[0] == WRITE_6 || cmd->cmnd[0] == WRITE_10 || |
cmnd | 438 | drivers/scsi/eata_dma.c | cmd->cmnd[0] == WRITE_12){ |
cmnd | 445 | drivers/scsi/eata_dma.c | switch (cmd->cmnd[0]) { |
cmnd | 501 | 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 | 1087 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_request_sense, sizeof(do_request_sense)); |
cmnd | 1090 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_inquiry, sizeof(do_inquiry)); |
cmnd | 1096 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_read_capacity, sizeof(do_read_capacity)); |
cmnd | 1109 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_request_sense, sizeof(do_request_sense)); |
cmnd | 1114 | drivers/scsi/fdomain.c | memcpy(SCinit.cmnd, do_request_sense, sizeof(do_request_sense)); |
cmnd | 1372 | drivers/scsi/fdomain.c | outb( current_SC->cmnd[current_SC->SCp.sent_command++], |
cmnd | 1376 | drivers/scsi/fdomain.c | current_SC->cmnd[ current_SC->SCp.sent_command - 1] ); |
cmnd | 1400 | drivers/scsi/fdomain.c | current_SC->cmnd[0], |
cmnd | 1553 | drivers/scsi/fdomain.c | switch (current_SC->cmnd[0]) { |
cmnd | 1657 | drivers/scsi/fdomain.c | if (current_SC->cmnd[0] == REQUEST_SENSE && !current_SC->SCp.Status) { |
cmnd | 1714 | drivers/scsi/fdomain.c | *(unsigned char *)SCpnt->cmnd, |
cmnd | 1804 | drivers/scsi/fdomain.c | *(unsigned char *)SCpnt->cmnd, |
cmnd | 561 | drivers/scsi/g_NCR5380.c | len += sprint_command (buffer, len, cmd->cmnd); |
cmnd | 421 | drivers/scsi/in2000.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmnd | 228 | drivers/scsi/ppa.c | out_p(0,cmd->cmnd[k]); |
cmnd | 236 | drivers/scsi/ppa.c | printk("%3x",(cmd->cmnd[k]) & 0xff ); |
cmnd | 262 | drivers/scsi/ppa.c | v = cmd->cmnd[0]; |
cmnd | 332 | drivers/scsi/qlogic.c | outb(cmd->cmnd[i], qbase + 2); |
cmnd | 1183 | drivers/scsi/scsi.c | SCpnt->host->host_no, SCpnt->channel, SCpnt->target, SCpnt->cmnd, |
cmnd | 1242 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->cmnd , (void *) generic_sense, |
cmnd | 1245 | drivers/scsi/scsi.c | SCpnt->cmnd[1] = SCpnt->lun << 5; |
cmnd | 1246 | drivers/scsi/scsi.c | SCpnt->cmnd[4] = sizeof(SCpnt->sense_buffer); |
cmnd | 1251 | drivers/scsi/scsi.c | SCpnt->cmd_len = COMMAND_SIZE(SCpnt->cmnd[0]); |
cmnd | 1264 | drivers/scsi/scsi.c | void scsi_do_cmd (Scsi_Cmnd * SCpnt, const void *cmnd , |
cmnd | 1281 | drivers/scsi/scsi.c | printk ("%02x ", ((unsigned char *) cmnd)[i]); |
cmnd | 1322 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->data_cmnd , (const void *) cmnd, 12); |
cmnd | 1337 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->cmnd , (const void *) cmnd, 12); |
cmnd | 1346 | drivers/scsi/scsi.c | SCpnt->cmd_len = COMMAND_SIZE(SCpnt->cmnd[0]); |
cmnd | 1631 | drivers/scsi/scsi.c | if (SCpnt->cmnd[0] != TEST_UNIT_READY && |
cmnd | 1632 | drivers/scsi/scsi.c | SCpnt->cmnd[0] != INQUIRY) |
cmnd | 1738 | drivers/scsi/scsi.c | memcpy ((void *) SCpnt->cmnd, |
cmnd | 1851 | drivers/scsi/scsi.c | print_command (SCpnt->cmnd); |
cmnd | 3147 | drivers/scsi/scsi.c | SCpnt->cmnd[0], |
cmnd | 353 | drivers/scsi/scsi.h | unsigned char cmnd[12]; |
cmnd | 433 | drivers/scsi/scsi.h | extern void scsi_do_cmd (Scsi_Cmnd *, const void *cmnd , |
cmnd | 175 | drivers/scsi/scsi_debug.c | unchar *cmd = (unchar *) SCpnt->cmnd; |
cmnd | 94 | drivers/scsi/seagate.c | const void *cmnd, |
cmnd | 560 | drivers/scsi/seagate.c | (const void *) current_cmnd = SCpnt->cmnd; |
cmnd | 600 | drivers/scsi/seagate.c | result = internal_command (SCint->target, SCint->lun, SCint->cmnd, SCint->request_buffer, |
cmnd | 614 | drivers/scsi/seagate.c | return internal_command (SCpnt->target, SCpnt->lun, SCpnt->cmnd, SCpnt->request_buffer, |
cmnd | 619 | drivers/scsi/seagate.c | static int internal_command(unsigned char target, unsigned char lun, const void *cmnd, |
cmnd | 661 | drivers/scsi/seagate.c | print_command((unsigned char *) cmnd); |
cmnd | 748 | drivers/scsi/seagate.c | cmnd=current_cmnd; /* WDE add */ |
cmnd | 1344 | drivers/scsi/seagate.c | DATA = *(const unsigned char *) cmnd; |
cmnd | 1345 | drivers/scsi/seagate.c | cmnd = 1+(const unsigned char *) cmnd; |
cmnd | 1442 | drivers/scsi/seagate.c | cmnd=current_cmnd; |
cmnd | 298 | drivers/scsi/sg.c | unsigned char cmnd[MAX_COMMAND_SIZE]; |
cmnd | 424 | drivers/scsi/sg.c | memcpy_fromfs(cmnd,buf,size); |
cmnd | 437 | drivers/scsi/sg.c | cmnd[1]= (cmnd[1] & 0x1f) | (device->device->lun<<5); |
cmnd | 448 | drivers/scsi/sg.c | scsi_do_cmd (SCpnt,(void *) cmnd, |
cmnd | 256 | 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; |