/linux/drivers/scsi/snic/ |
A D | snic_res.h | 29 u16 flags, u64 tgt_id, u8 *lun, u8 *scsi_cdb, u8 cdb_len, in snic_icmnd_init() argument 39 req->u.icmnd.cdb_len = cdb_len; in snic_icmnd_init() 41 memcpy(req->u.icmnd.cdb, scsi_cdb, cdb_len); in snic_icmnd_init()
|
A D | snic_fwint.h | 273 u8 cdb_len; member
|
/linux/drivers/ata/ |
A D | sata_inic162x.c | 489 unsigned int cdb_len = 0; in inic_qc_prep() local 494 cdb_len = qc->dev->cdb_len; in inic_qc_prep() 503 cpb->len = cpu_to_le32(qc->nbytes + cdb_len); in inic_qc_prep() 529 prd->len = cpu_to_le16(cdb_len); in inic_qc_prep()
|
A D | sata_promise.c | 483 unsigned int cdb_len = qc->dev->cdb_len; in pdc_atapi_pkt() local 548 BUG_ON(cdb_len & ~0x1E); in pdc_atapi_pkt() 551 buf[30] = (((cdb_len >> 1) & 7) << 5) | ATA_REG_DATA | PDC_LAST_REG; in pdc_atapi_pkt() 552 memcpy(buf+31, cdb, cdb_len); in pdc_atapi_pkt()
|
A D | acard-ahci.c | 231 memcpy(cmd_tbl + AHCI_CMD_TBL_CDB, qc->cdb, qc->dev->cdb_len); in acard_ahci_qc_prep()
|
A D | sata_sil24.c | 476 if (dev->cdb_len == 16) in sil24_dev_config() 865 memcpy(cb->atapi.cdb, qc->cdb, qc->dev->cdb_len); in sil24_qc_prep()
|
A D | libata-scsi.c | 2535 memset(&qc->cdb, 0, qc->dev->cdb_len); in atapi_request_sense() 2658 memset(qc->cdb, 0, dev->cdb_len); in atapi_xlat() 4027 if (unlikely(!scmd->cmd_len || scmd->cmd_len > dev->cdb_len)) in __ata_scsi_queuecmd() 4040 len > dev->cdb_len || in __ata_scsi_queuecmd() 4063 scmd->cmd_len, scsi_op, dev->cdb_len); in __ata_scsi_queuecmd()
|
A D | libata-eh.c | 2349 size_t cdb_len = qc->dev->cdb_len; in ata_eh_link_report() local 2353 cdb_len = qc->scsicmd->cmd_len; in ata_eh_link_report() 2356 cdb, cdb_len); in ata_eh_link_report()
|
/linux/drivers/scsi/ |
A D | scsi_logging.c | 156 const unsigned char *cdb, size_t cdb_len) in __scsi_format_command() argument 165 if (cdb_len < len) in __scsi_format_command() 166 len = cdb_len; in __scsi_format_command()
|
A D | qla1280.h | 516 __le16 cdb_len; /* SCSI command length. */ member 623 __le16 cdb_len; /* SCSI command length. */ member 643 __le16 cdb_len; /* SCSI command length. */ member 789 uint8_t cdb_len; member
|
A 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()
|
A D | a100u2w.h | 162 u8 cdb_len; /*21 CDB Length */ member
|
A D | myrs.h | 710 unsigned char cdb_len; /* Byte 21 */ member 723 unsigned char cdb_len; /* Byte 21 */ member
|
A D | hpsa.c | 4648 u8 *cdb, int cdb_len, in warn_zero_length_transfer() argument 4653 func, cdb_len, cdb); in warn_zero_length_transfer() 4702 if (*cdb_len == 6) { in fixup_ioaccel_cdb() 4710 BUG_ON(*cdb_len != 12); in fixup_ioaccel_cdb() 4727 *cdb_len = 10; in fixup_ioaccel_cdb() 4819 memcpy(cp->CDB, cdb, cdb_len); in hpsa_scsi_ioaccel1_queue_command() 5067 cdb, cdb_len, scsi3addr, in hpsa_scsi_ioaccel_queue_command() 5071 cdb, cdb_len, scsi3addr, in hpsa_scsi_ioaccel_queue_command() 5132 u8 cdb_len; in hpsa_scsi_ioaccel_raid_map() local 5434 cdb_len = 16; in hpsa_scsi_ioaccel_raid_map() [all …]
|
A D | myrb.h | 551 unsigned char cdb_len:4; /* Byte 8 Bits 0-3 */ member
|
/linux/drivers/scsi/fnic/ |
A 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()
|
/linux/drivers/scsi/elx/efct/ |
A D | efct_scsi.h | 164 efct_scsi_recv_cmd(struct efct_io *io, uint64_t lun, u8 *cdb, u32 cdb_len,
|
/linux/drivers/scsi/aic7xxx/ |
A D | aic7xxx_osm.c | 1489 hscb->cdb_len = cmd->cmd_len; in ahc_linux_run_command() 1490 if (hscb->cdb_len <= 12) { in ahc_linux_run_command() 1491 memcpy(hscb->shared_data.cdb, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command() 1493 memcpy(hscb->cdb32, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
|
A D | aic79xx_osm.c | 827 reset_scb->hscb->cdb_len = 0; in ahd_linux_dev_reset() 1610 hscb->cdb_len = cmd->cmd_len; in ahd_linux_run_command() 1611 memcpy(hscb->shared_data.idata.cdb, cmd->cmnd, hscb->cdb_len); in ahd_linux_run_command() 2271 pending_scb->hscb->cdb_len = 0; in ahd_linux_queue_abort_cmd()
|
A D | aic7xxx.h | 469 /*28*/ uint8_t cdb_len; member
|
A D | aic79xx_core.c | 444 if (scb->hscb->cdb_len <= MAX_CDB_LEN_WITH_SENSE_ADDR in ahd_setup_scb_common() 445 || (scb->hscb->cdb_len & SCB_CDB_LEN_PTR) != 0) in ahd_setup_scb_common() 3576 hscb->cdb_len); 7337 ahd_outb(ahd, CMDLENPTR, offsetof(struct hardware_scb, cdb_len)); in ahd_chip_init() 9013 hscb->cdb_len = sizeof(*sc); in ahd_handle_scsi_status() 10680 atio->cdb_len = 6; in ahd_handle_target_cmd() 10684 atio->cdb_len = 10; in ahd_handle_target_cmd() 10687 atio->cdb_len = 16; in ahd_handle_target_cmd() 10690 atio->cdb_len = 12; in ahd_handle_target_cmd() 10695 atio->cdb_len = 1; in ahd_handle_target_cmd() [all …]
|
A D | aic7xxx_core.c | 1131 hscb->cdb_len = sizeof(*sc); in ahc_handle_seqint() 2088 hscb->cdb_len); 7858 atio->cdb_len = 6; in ahc_handle_target_cmd() 7862 atio->cdb_len = 10; in ahc_handle_target_cmd() 7865 atio->cdb_len = 16; in ahc_handle_target_cmd() 7868 atio->cdb_len = 12; in ahc_handle_target_cmd() 7873 atio->cdb_len = 1; in ahc_handle_target_cmd() 7878 memcpy(atio->cdb_io.cdb_bytes, byte, atio->cdb_len); in ahc_handle_target_cmd()
|
/linux/drivers/scsi/megaraid/ |
A D | megaraid_sas_fusion.c | 2384 megasas_set_pd_lba(struct MPI2_RAID_SCSI_IO_REQUEST *io_request, u8 cdb_len, in megasas_set_pd_lba() argument 2449 if (((cdb_len == 12) || (cdb_len == 16)) && in megasas_set_pd_lba() 2451 if (cdb_len == 16) { in megasas_set_pd_lba() 2475 cdb_len = 10; in megasas_set_pd_lba() 2476 } else if ((cdb_len < 16) && (start_blk > 0xffffffff)) { in megasas_set_pd_lba() 2478 switch (cdb_len) { in megasas_set_pd_lba() 2513 cdb_len = 16; in megasas_set_pd_lba() 2517 switch (cdb_len) { in megasas_set_pd_lba()
|
/linux/drivers/scsi/isci/ |
A D | request.c | 1656 task_context->transfer_length_bytes = dev->cdb_len; in scu_atapi_reconstruct_raw_frame_task_context() 1664 int cdb_len = dev->cdb_len; in scu_atapi_construct_task_context() local 1682 memcpy(&ireq->stp.cmd.lbal, task->ata_task.atapi_packet, cdb_len); in scu_atapi_construct_task_context() 1683 task_context->ssp_command_iu_length = cdb_len / sizeof(u32); in scu_atapi_construct_task_context()
|
/linux/drivers/scsi/libsas/ |
A D | sas_ata.c | 196 memcpy(task->ata_task.atapi_packet, qc->cdb, qc->dev->cdb_len); in sas_ata_qc_issue()
|