Home
last modified time | relevance | path

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

12

/drivers/scsi/
Dconstants.c204 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()
Dqla1280.h522 __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
Da100u2w.c890 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()
Da100u2w.h162 u8 cdb_len; /*21 CDB Length */ member
Du14-34f.c572 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()
Dadvansys.c321 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()
Dqla1280.c2860 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/
Dsata_inic162x.c484 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()
Dsata_promise.c417 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()
Dlibata-scsi.c2458 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()
Dsata_sil24.c476 if (dev->cdb_len == 16) in sil24_dev_config()
853 memcpy(cb->atapi.cdb, qc->cdb, qc->dev->cdb_len); in sil24_qc_prep()
Dlibata-sff.c935 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()
Dsata_fsl.c412 memcpy((void *)&cd->acmd, qc->cdb, qc->dev->cdb_len); in sata_fsl_qc_prep()
Dlibata-core.c2387 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/
Dub.c196 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()
Dida_cmd.h330 __u8 cdb_len; member
/drivers/scsi/megaraid/
Dmegaraid_sas.h663 u8 cdb_len; /*06h */ member
759 u8 cdb_len; /*06h */ member
Dmegaraid_sas.c682 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/
Daic7xxx_osm.c1527 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()
Daic79xx_osm.c843 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()
Daic7xxx.h469 /*28*/ uint8_t cdb_len; member
Daic7xxx_core.c1138 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()
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()
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 …]
Daic79xx.h498 /*22*/ uint8_t cdb_len; member
/drivers/scsi/libsas/
Dsas_ata.c180 memcpy(task->ata_task.atapi_packet, qc->cdb, qc->dev->cdb_len); in sas_ata_qc_issue()

12