Home
last modified time | relevance | path

Searched refs:cdb_len (Results 1 – 25 of 34) sorted by relevance

12

/linux-2.6.39/drivers/scsi/
Dconstants.c207 static void print_opcode_name(unsigned char * cdbp, int cdb_len) in print_opcode_name() argument
218 "len=%d ext_len=%d", len, cdb_len); in print_opcode_name()
228 if ((cdb_len > 0) && (len != cdb_len)) in print_opcode_name()
229 printk(", in_cdb_len=%d, ext_len=%d", 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()
Dqla1280.h523 __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
Da100u2w.c889 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()
Da100u2w.h162 u8 cdb_len; /*21 CDB Length */ member
Du14-34f.c573 unsigned char cdb_len; /* 6, 10, or 12 */ member
761 cpp->cdb_len = 6; in board_inquiry()
1298 cpp->cdb_len = SCpnt->cmd_len; in u14_34f_queuecommand_lck()
/linux-2.6.39/drivers/staging/hv/
Dstorvsc_api.h62 u32 cdb_len; member
Dstorvsc.c707 request->target_id, request->lun_id, request->cdb_len); in stor_vsc_on_io_request()
735 vstor_packet->vm_srb.cdb_length = request->cdb_len; in stor_vsc_on_io_request()
736 memcpy(&vstor_packet->vm_srb.cdb, request->cdb, request->cdb_len); in stor_vsc_on_io_request()
Dstorvsc_drv.c672 request->cdb_len = scmnd->cmd_len; in storvsc_queuecommand_lck()
/linux-2.6.39/drivers/ata/
Dsata_inic162x.c474 unsigned int cdb_len = 0; in inic_qc_prep() local
479 cdb_len = qc->dev->cdb_len; in inic_qc_prep()
488 cpb->len = cpu_to_le32(qc->nbytes + cdb_len); in inic_qc_prep()
514 prd->len = cpu_to_le16(cdb_len); in inic_qc_prep()
Dsata_promise.c502 unsigned int cdb_len = qc->dev->cdb_len; in pdc_atapi_pkt() local
567 BUG_ON(cdb_len & ~0x1E); in pdc_atapi_pkt()
570 buf[30] = (((cdb_len >> 1) & 7) << 5) | ATA_REG_DATA | PDC_LAST_REG; in pdc_atapi_pkt()
571 memcpy(buf+31, cdb, cdb_len); in pdc_atapi_pkt()
Dacard-ahci.c281 memcpy(cmd_tbl + AHCI_CMD_TBL_CDB, qc->cdb, qc->dev->cdb_len); in acard_ahci_qc_prep()
Dlibata-scsi.c2520 memset(&qc->cdb, 0, qc->dev->cdb_len); in atapi_request_sense()
2647 memset(qc->cdb, 0, dev->cdb_len); in atapi_xlat()
3144 if (unlikely(!scmd->cmd_len || scmd->cmd_len > dev->cdb_len)) in __ata_scsi_queuecmd()
3156 if (unlikely(len > scmd->cmd_len || len > dev->cdb_len)) in __ata_scsi_queuecmd()
3178 scmd->cmd_len, scsi_op, dev->cdb_len); in __ata_scsi_queuecmd()
Dsata_sil24.c480 if (dev->cdb_len == 16) in sil24_dev_config()
873 memcpy(cb->atapi.cdb, qc->cdb, qc->dev->cdb_len); in sil24_qc_prep()
/linux-2.6.39/drivers/scsi/fnic/
Dfnic_res.h86 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-2.6.39/drivers/block/
Dub.c198 unsigned char cdb_len; member
742 cmd->cdb_len = 10; in ub_cmd_build_block()
765 cmd->cdb_len = rq->cmd_len; in ub_cmd_build_packet()
931 bcb->Length = cmd->cdb_len; in ub_scsi_cmd_start()
1441 scmd->cdb_len = 6; in ub_state_sense()
1852 cmd->cdb_len = 6; in ub_sync_tur()
1905 cmd->cdb_len = 10; in ub_sync_read_cap()
Dida_cmd.h330 __u8 cdb_len; member
/linux-2.6.39/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c1147 megasas_set_pd_lba(struct MPI2_RAID_SCSI_IO_REQUEST *io_request, u8 cdb_len, in megasas_set_pd_lba() argument
1213 if (((cdb_len == 12) || (cdb_len == 16)) && in megasas_set_pd_lba()
1215 if (cdb_len == 16) { in megasas_set_pd_lba()
1238 cdb_len = 10; in megasas_set_pd_lba()
1242 switch (cdb_len) { in megasas_set_pd_lba()
Dmegaraid_sas.h873 u8 cdb_len; /*06h */ member
969 u8 cdb_len; /*06h */ member
/linux-2.6.39/drivers/scsi/aic7xxx/
Daic7xxx_osm.c1530 hscb->cdb_len = cmd->cmd_len; in ahc_linux_run_command()
1531 if (hscb->cdb_len <= 12) { in ahc_linux_run_command()
1532 memcpy(hscb->shared_data.cdb, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
1534 memcpy(hscb->cdb32, cmd->cmnd, hscb->cdb_len); in ahc_linux_run_command()
Daic79xx_osm.c842 reset_scb->hscb->cdb_len = 0; in ahd_linux_dev_reset()
1639 hscb->cdb_len = cmd->cmd_len; in ahd_linux_run_command()
1640 memcpy(hscb->shared_data.idata.cdb, cmd->cmnd, hscb->cdb_len); in ahd_linux_run_command()
2312 pending_scb->hscb->cdb_len = 0; in ahd_linux_queue_abort_cmd()
Daic7xxx.h469 /*28*/ uint8_t cdb_len; member
Daic7xxx_core.c1138 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()
Daic79xx.h498 /*22*/ uint8_t cdb_len; member
Daic79xx_core.c452 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 …]
/linux-2.6.39/drivers/scsi/libsas/
Dsas_ata.c187 memcpy(task->ata_task.atapi_packet, qc->cdb, qc->dev->cdb_len); in sas_ata_qc_issue()

12