/drivers/scsi/ |
D | constants.c | 204 static void print_opcode_name(unsigned char * cdbp, int cdb_len) in print_opcode_name() argument 215 "len=%d ext_len=%d", len, cdb_len); in print_opcode_name() 222 if ((cdb_len > 0) && (len != cdb_len)) in print_opcode_name() 224 len, cdb_len); in print_opcode_name() 227 if ((cdb_len > 0) && (len != cdb_len)) in print_opcode_name() 229 len, cdb_len); in print_opcode_name() 295 static void print_opcode_name(unsigned char * cdbp, int cdb_len) in print_opcode_name() argument 305 "ext_len=%d", cdb0, len, cdb_len); in print_opcode_name() 310 if (len != cdb_len) in print_opcode_name() 311 printk(", in_cdb_len=%d, ext_len=%d", len, cdb_len); in print_opcode_name()
|
D | qla1280.h | 522 __le16 cdb_len; /* SCSI command length. */ member 629 __le16 cdb_len; /* SCSI command length. */ member 649 __le16 cdb_len; /* SCSI command length. */ member 795 uint8_t cdb_len; member
|
D | a100u2w.c | 890 scb->cdb_len = cmd->cmd_len; in inia100_build_scb() 891 if (scb->cdb_len >= IMAX_CDB) { in inia100_build_scb() 893 scb->cdb_len = IMAX_CDB; in inia100_build_scb() 901 memcpy(scb->cdb, cmd->cmnd, scb->cdb_len); in inia100_build_scb()
|
D | a100u2w.h | 162 u8 cdb_len; /*21 CDB Length */ member
|
D | u14-34f.c | 572 unsigned char cdb_len; /* 6, 10, or 12 */ member 760 cpp->cdb_len = 6; in board_inquiry() 1297 cpp->cdb_len = SCpnt->cmd_len; in u14_34f_queuecommand()
|
D | advansys.c | 321 uchar cdb_len; member 1853 uchar cdb_len; /* SCSI CDB length. Must <= 16 bytes. */ member 2631 (ulong)q->cdbptr, q->q2.cdb_len, in asc_prt_asc_scsi_q() 2655 (ulong)q->d2.srb_ptr, q->d2.target_ix, q->d2.cdb_len, in asc_prt_asc_qdone_info() 2709 q->cdb_len, q->done_status, q->host_status, q->scsi_status); in asc_prt_adv_scsi_req_q() 9911 asc_scsi_q->q2.cdb_len = scp->cmd_len; in asc_build_req() 10162 scsiqp->cdb_len = scp->cmd_len; in adv_build_req() 10367 (uchar *)scsiq->cdbptr, scsiq->q2.cdb_len >> 1); in AscPutReadyQueue()
|
D | qla1280.c | 2860 pkt->cdb_len = cpu_to_le16(CMD_CDBLEN(cmd)); in qla1280_64bit_start_scsi() 3129 pkt->cdb_len = cpu_to_le16(CMD_CDBLEN(cmd)); in qla1280_32bit_start_scsi()
|
/drivers/ata/ |
D | sata_inic162x.c | 484 unsigned int cdb_len = 0; in inic_qc_prep() local 489 cdb_len = qc->dev->cdb_len; in inic_qc_prep() 498 cpb->len = cpu_to_le32(qc->nbytes + cdb_len); in inic_qc_prep() 524 prd->len = cpu_to_le16(cdb_len); in inic_qc_prep()
|
D | sata_promise.c | 417 unsigned int cdb_len = qc->dev->cdb_len; in pdc_atapi_pkt() local 482 BUG_ON(cdb_len & ~0x1E); in pdc_atapi_pkt() 485 buf[30] = (((cdb_len >> 1) & 7) << 5) | ATA_REG_DATA | PDC_LAST_REG; in pdc_atapi_pkt() 486 memcpy(buf+31, cdb, cdb_len); in pdc_atapi_pkt()
|
D | libata-scsi.c | 2458 memset(&qc->cdb, 0, qc->dev->cdb_len); in atapi_request_sense() 2582 memset(qc->cdb, 0, dev->cdb_len); in atapi_xlat() 2989 if (unlikely(!scmd->cmd_len || scmd->cmd_len > dev->cdb_len)) in __ata_scsi_queuecmd() 3001 if (unlikely(len > scmd->cmd_len || len > dev->cdb_len)) in __ata_scsi_queuecmd() 3023 scmd->cmd_len, scsi_op, dev->cdb_len); in __ata_scsi_queuecmd()
|
D | sata_sil24.c | 476 if (dev->cdb_len == 16) in sil24_dev_config() 853 memcpy(cb->atapi.cdb, qc->cdb, qc->dev->cdb_len); in sil24_qc_prep()
|
D | libata-sff.c | 935 WARN_ON_ONCE(qc->dev->cdb_len < 12); in atapi_send_cdb() 937 ap->ops->sff_data_xfer(qc->dev, qc->cdb, qc->dev->cdb_len, 1); in atapi_send_cdb()
|
D | sata_fsl.c | 412 memcpy((void *)&cd->acmd, qc->cdb, qc->dev->cdb_len); in sata_fsl_qc_prep()
|
D | libata-core.c | 2387 dev->cdb_len = 0; in ata_dev_configure() 2490 dev->cdb_len = 16; in ata_dev_configure() 2508 dev->cdb_len = (unsigned int) rc; in ata_dev_configure()
|
/drivers/block/ |
D | ub.c | 196 unsigned char cdb_len; member 740 cmd->cdb_len = 10; in ub_cmd_build_block() 763 cmd->cdb_len = rq->cmd_len; in ub_cmd_build_packet() 938 bcb->Length = cmd->cdb_len; in ub_scsi_cmd_start() 1449 scmd->cdb_len = 6; in ub_state_sense() 1839 cmd->cdb_len = 6; in ub_sync_tur() 1892 cmd->cdb_len = 10; in ub_sync_read_cap()
|
D | ida_cmd.h | 330 __u8 cdb_len; member
|
/drivers/scsi/megaraid/ |
D | megaraid_sas.h | 663 u8 cdb_len; /*06h */ member 759 u8 cdb_len; /*06h */ member
|
D | megaraid_sas.c | 682 pthru->cdb_len = scp->cmd_len; in megasas_build_dcdb() 899 …->host_no,cmd->frame_count,pthru->cmd,pthru->target_id,pthru->lun,pthru->cdb_len , pthru->data_xfe… in megasas_dump_pending_frames()
|
/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 1527 hscb->cdb_len = cmd->cmd_len; in ahc_linux_run_command() 1528 if (hscb->cdb_len <= 12) { in ahc_linux_run_command() 1529 memcpy(hscb->shared_data.cdb, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command() 1531 memcpy(hscb->cdb32, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
|
D | aic79xx_osm.c | 843 reset_scb->hscb->cdb_len = 0; in ahd_linux_dev_reset() 1640 hscb->cdb_len = cmd->cmd_len; in ahd_linux_run_command() 1641 memcpy(hscb->shared_data.idata.cdb, cmd->cmnd, hscb->cdb_len); in ahd_linux_run_command() 2313 pending_scb->hscb->cdb_len = 0; in ahd_linux_queue_abort_cmd()
|
D | aic7xxx.h | 469 /*28*/ uint8_t cdb_len; member
|
D | aic7xxx_core.c | 1138 hscb->cdb_len = sizeof(*sc); in ahc_handle_seqint() 2112 hscb->cdb_len); 7936 atio->cdb_len = 6; in ahc_handle_target_cmd() 7940 atio->cdb_len = 10; in ahc_handle_target_cmd() 7943 atio->cdb_len = 16; in ahc_handle_target_cmd() 7946 atio->cdb_len = 12; in ahc_handle_target_cmd() 7951 atio->cdb_len = 1; in ahc_handle_target_cmd() 7956 memcpy(atio->cdb_io.cdb_bytes, byte, atio->cdb_len); in ahc_handle_target_cmd()
|
D | aic79xx_core.c | 452 if (scb->hscb->cdb_len <= MAX_CDB_LEN_WITH_SENSE_ADDR in ahd_setup_scb_common() 453 || (scb->hscb->cdb_len & SCB_CDB_LEN_PTR) != 0) in ahd_setup_scb_common() 3600 hscb->cdb_len); 7425 ahd_outb(ahd, CMDLENPTR, offsetof(struct hardware_scb, cdb_len)); in ahd_chip_init() 9104 hscb->cdb_len = sizeof(*sc); in ahd_handle_scsi_status() 10774 atio->cdb_len = 6; in ahd_handle_target_cmd() 10778 atio->cdb_len = 10; in ahd_handle_target_cmd() 10781 atio->cdb_len = 16; in ahd_handle_target_cmd() 10784 atio->cdb_len = 12; in ahd_handle_target_cmd() 10789 atio->cdb_len = 1; in ahd_handle_target_cmd() [all …]
|
D | aic79xx.h | 498 /*22*/ uint8_t cdb_len; member
|
/drivers/scsi/libsas/ |
D | sas_ata.c | 180 memcpy(task->ata_task.atapi_packet, qc->cdb, qc->dev->cdb_len); in sas_ata_qc_issue()
|