/drivers/scsi/ |
D | constants.c | 260 static void print_opcode_name(unsigned char * cdbp, int cdb_len) in print_opcode_name() argument 272 "len=%d ext_len=%d", len, cdb_len); in print_opcode_name() 283 if ((cdb_len > 0) && (len != cdb_len)) in print_opcode_name() 284 printk(", in_cdb_len=%d, ext_len=%d", len, cdb_len); in print_opcode_name() 363 static void print_opcode_name(unsigned char * cdbp, int cdb_len) in print_opcode_name() argument 373 "ext_len=%d", cdb0, len, cdb_len); in print_opcode_name() 378 if (len != cdb_len) in print_opcode_name() 379 printk(", in_cdb_len=%d, ext_len=%d", len, cdb_len); in print_opcode_name()
|
D | qla1280.h | 523 __le16 cdb_len; /* SCSI command length. */ member 630 __le16 cdb_len; /* SCSI command length. */ member 650 __le16 cdb_len; /* SCSI command length. */ member 796 uint8_t cdb_len; member
|
D | a100u2w.c | 889 scb->cdb_len = cmd->cmd_len; in inia100_build_scb() 890 if (scb->cdb_len >= IMAX_CDB) { in inia100_build_scb() 892 scb->cdb_len = IMAX_CDB; in inia100_build_scb() 900 memcpy(scb->cdb, cmd->cmnd, scb->cdb_len); in inia100_build_scb()
|
D | a100u2w.h | 162 u8 cdb_len; /*21 CDB Length */ member
|
D | hpsa.c | 250 struct CommandList *c, u32 ioaccel_handle, u8 *cdb, int cdb_len, 3241 static int fixup_ioaccel_cdb(u8 *cdb, int *cdb_len) in fixup_ioaccel_cdb() argument 3254 if (*cdb_len == 6) { in fixup_ioaccel_cdb() 3258 BUG_ON(*cdb_len != 12); in fixup_ioaccel_cdb() 3282 *cdb_len = 10; in fixup_ioaccel_cdb() 3289 struct CommandList *c, u32 ioaccel_handle, u8 *cdb, int cdb_len, in hpsa_scsi_ioaccel1_queue_command() argument 3308 if (fixup_ioaccel_cdb(cdb, &cdb_len)) in hpsa_scsi_ioaccel1_queue_command() 3365 (cdb_len & IOACCEL1_IOFLAGS_CDBLEN_MASK); in hpsa_scsi_ioaccel1_queue_command() 3367 memcpy(cp->CDB, cdb, cdb_len); in hpsa_scsi_ioaccel1_queue_command() 3511 struct CommandList *c, u32 ioaccel_handle, u8 *cdb, int cdb_len, in hpsa_scsi_ioaccel2_queue_command() argument [all …]
|
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_lck()
|
/drivers/ata/ |
D | sata_inic162x.c | 483 unsigned int cdb_len = 0; in inic_qc_prep() local 488 cdb_len = qc->dev->cdb_len; in inic_qc_prep() 497 cpb->len = cpu_to_le32(qc->nbytes + cdb_len); in inic_qc_prep() 523 prd->len = cpu_to_le16(cdb_len); in inic_qc_prep()
|
D | sata_promise.c | 505 unsigned int cdb_len = qc->dev->cdb_len; in pdc_atapi_pkt() local 570 BUG_ON(cdb_len & ~0x1E); in pdc_atapi_pkt() 573 buf[30] = (((cdb_len >> 1) & 7) << 5) | ATA_REG_DATA | PDC_LAST_REG; in pdc_atapi_pkt() 574 memcpy(buf+31, cdb, cdb_len); in pdc_atapi_pkt()
|
D | acard-ahci.c | 279 memcpy(cmd_tbl + AHCI_CMD_TBL_CDB, qc->cdb, qc->dev->cdb_len); in acard_ahci_qc_prep()
|
D | libata-scsi.c | 2595 memset(&qc->cdb, 0, qc->dev->cdb_len); in atapi_request_sense() 2722 memset(qc->cdb, 0, dev->cdb_len); in atapi_xlat() 3420 if (unlikely(!scmd->cmd_len || scmd->cmd_len > dev->cdb_len)) in __ata_scsi_queuecmd() 3432 if (unlikely(len > scmd->cmd_len || len > dev->cdb_len)) in __ata_scsi_queuecmd() 3454 scmd->cmd_len, scsi_op, dev->cdb_len); in __ata_scsi_queuecmd()
|
D | sata_sil24.c | 482 if (dev->cdb_len == 16) in sil24_dev_config() 871 memcpy(cb->atapi.cdb, qc->cdb, qc->dev->cdb_len); in sil24_qc_prep()
|
D | libata-sff.c | 792 WARN_ON_ONCE(qc->dev->cdb_len < 12); in atapi_send_cdb() 794 ap->ops->sff_data_xfer(qc->dev, qc->cdb, qc->dev->cdb_len, 1); in atapi_send_cdb()
|
/drivers/scsi/fnic/ |
D | fnic_res.h | 86 u8 cdb_len, in fnic_queue_wq_copy_desc_icmnd_16() argument 112 memcpy(desc->u.icmnd_16.scsi_cdb, scsi_cdb, cdb_len); /* SCSI CDB */ in fnic_queue_wq_copy_desc_icmnd_16()
|
/drivers/scsi/megaraid/ |
D | megaraid_sas_fusion.c | 1339 megasas_set_pd_lba(struct MPI2_RAID_SCSI_IO_REQUEST *io_request, u8 cdb_len, in megasas_set_pd_lba() argument 1403 if (((cdb_len == 12) || (cdb_len == 16)) && in megasas_set_pd_lba() 1405 if (cdb_len == 16) { in megasas_set_pd_lba() 1429 cdb_len = 10; in megasas_set_pd_lba() 1430 } else if ((cdb_len < 16) && (start_blk > 0xffffffff)) { in megasas_set_pd_lba() 1432 switch (cdb_len) { in megasas_set_pd_lba() 1467 cdb_len = 16; in megasas_set_pd_lba() 1471 switch (cdb_len) { in megasas_set_pd_lba()
|
D | megaraid_sas.h | 1175 u8 cdb_len; /*06h */ member 1292 u8 cdb_len; /*06h */ member
|
/drivers/block/ |
D | ida_cmd.h | 330 __u8 cdb_len; member
|
/drivers/scsi/aic7xxx/ |
D | aic7xxx_osm.c | 1521 hscb->cdb_len = cmd->cmd_len; in ahc_linux_run_command() 1522 if (hscb->cdb_len <= 12) { in ahc_linux_run_command() 1523 memcpy(hscb->shared_data.cdb, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command() 1525 memcpy(hscb->cdb32, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
|
D | aic79xx_osm.c | 842 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() 2307 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); 7930 atio->cdb_len = 6; in ahc_handle_target_cmd() 7934 atio->cdb_len = 10; in ahc_handle_target_cmd() 7937 atio->cdb_len = 16; in ahc_handle_target_cmd() 7940 atio->cdb_len = 12; in ahc_handle_target_cmd() 7945 atio->cdb_len = 1; in ahc_handle_target_cmd() 7950 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() 3609 hscb->cdb_len); 7430 ahd_outb(ahd, CMDLENPTR, offsetof(struct hardware_scb, cdb_len)); in ahd_chip_init() 9109 hscb->cdb_len = sizeof(*sc); in ahd_handle_scsi_status() 10779 atio->cdb_len = 6; in ahd_handle_target_cmd() 10783 atio->cdb_len = 10; in ahd_handle_target_cmd() 10786 atio->cdb_len = 16; in ahd_handle_target_cmd() 10789 atio->cdb_len = 12; in ahd_handle_target_cmd() 10794 atio->cdb_len = 1; in ahd_handle_target_cmd() [all …]
|
D | aic79xx.h | 498 /*22*/ uint8_t cdb_len; member
|
/drivers/scsi/isci/ |
D | request.c | 1663 task_context->transfer_length_bytes = dev->cdb_len; in scu_atapi_reconstruct_raw_frame_task_context() 1671 int cdb_len = dev->cdb_len; in scu_atapi_construct_task_context() local 1689 memcpy(&ireq->stp.cmd.lbal, task->ata_task.atapi_packet, cdb_len); in scu_atapi_construct_task_context() 1690 task_context->ssp_command_iu_length = cdb_len / sizeof(u32); in scu_atapi_construct_task_context()
|
/drivers/scsi/libsas/ |
D | sas_ata.c | 217 memcpy(task->ata_task.atapi_packet, qc->cdb, qc->dev->cdb_len); in sas_ata_qc_issue()
|
/drivers/scsi/esas2r/ |
D | atioctl.h | 442 u8 cdb_len; member
|