Home
last modified time | relevance | path

Searched refs:CDB (Results 1 – 25 of 29) sorted by relevance

12

/drivers/usb/storage/
Dene_ub6250.c702 bcb->CDB[0] = 0xF1; in sd_scsi_read()
703 bcb->CDB[5] = (unsigned char)(bnByte); in sd_scsi_read()
704 bcb->CDB[4] = (unsigned char)(bnByte>>8); in sd_scsi_read()
705 bcb->CDB[3] = (unsigned char)(bnByte>>16); in sd_scsi_read()
706 bcb->CDB[2] = (unsigned char)(bnByte>>24); in sd_scsi_read()
742 bcb->CDB[0] = 0xF0; in sd_scsi_write()
743 bcb->CDB[5] = (unsigned char)(bnByte); in sd_scsi_write()
744 bcb->CDB[4] = (unsigned char)(bnByte>>8); in sd_scsi_write()
745 bcb->CDB[3] = (unsigned char)(bnByte>>16); in sd_scsi_write()
746 bcb->CDB[2] = (unsigned char)(bnByte>>24); in sd_scsi_write()
[all …]
Dinitializers.c82 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in usb_stor_ucr61s2b_init()
83 memcpy(bcb->CDB, init_string, sizeof(init_string) - 1); in usb_stor_ucr61s2b_init()
Drealtek_cr.c233 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in rts51x_bulk_transport()
234 memcpy(bcb->CDB, cmd, bcb->Length); in rts51x_bulk_transport()
322 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in rts51x_bulk_transport_special()
323 memcpy(bcb->CDB, cmd, bcb->Length); in rts51x_bulk_transport_special()
Dtransport.c1148 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in usb_stor_Bulk_transport()
1149 memcpy(bcb->CDB, srb->cmnd, bcb->Length); in usb_stor_Bulk_transport()
/drivers/block/
Dcciss.c2560 c->Request.CDB[1] = 0x01; in fill_cmd()
2561 c->Request.CDB[2] = page_code; in fill_cmd()
2567 c->Request.CDB[0] = CISS_INQUIRY; in fill_cmd()
2568 c->Request.CDB[4] = size & 0xFF; in fill_cmd()
2579 c->Request.CDB[0] = cmd; in fill_cmd()
2580 c->Request.CDB[6] = (size >> 24) & 0xFF; /* MSB */ in fill_cmd()
2581 c->Request.CDB[7] = (size >> 16) & 0xFF; in fill_cmd()
2582 c->Request.CDB[8] = (size >> 8) & 0xFF; in fill_cmd()
2583 c->Request.CDB[9] = size & 0xFF; in fill_cmd()
2591 c->Request.CDB[0] = cmd; in fill_cmd()
[all …]
Dcciss_scsi.c324 cp->Request.CDB[0], cp->Request.CDB[1],
325 cp->Request.CDB[2], cp->Request.CDB[3],
326 cp->Request.CDB[4], cp->Request.CDB[5],
327 cp->Request.CDB[6], cp->Request.CDB[7],
328 cp->Request.CDB[8], cp->Request.CDB[9],
329 cp->Request.CDB[10], cp->Request.CDB[11],
330 cp->Request.CDB[12], cp->Request.CDB[13],
331 cp->Request.CDB[14], cp->Request.CDB[15]),
932 memset(c->Request.CDB, 0, sizeof(c->Request.CDB)); in cciss_scsi_do_simple_cmd()
933 memcpy(c->Request.CDB, cdb, cdblen); in cciss_scsi_do_simple_cmd()
[all …]
DDAC960.c2036 DCDB->CDB[0] = 0x12; /* INQUIRY */ in DAC960_V1_ReadDeviceConfiguration()
2037 DCDB->CDB[1] = 0; /* EVPD = 0 */ in DAC960_V1_ReadDeviceConfiguration()
2038 DCDB->CDB[2] = 0; /* Page Code */ in DAC960_V1_ReadDeviceConfiguration()
2039 DCDB->CDB[3] = 0; /* Reserved */ in DAC960_V1_ReadDeviceConfiguration()
2040 DCDB->CDB[4] = sizeof(DAC960_SCSI_Inquiry_T); in DAC960_V1_ReadDeviceConfiguration()
2041 DCDB->CDB[5] = 0; /* Control */ in DAC960_V1_ReadDeviceConfiguration()
2081 DCDB->CDB[0] = 0x12; /* INQUIRY */ in DAC960_V1_ReadDeviceConfiguration()
2082 DCDB->CDB[1] = 1; /* EVPD = 1 */ in DAC960_V1_ReadDeviceConfiguration()
2083 DCDB->CDB[2] = 0x80; /* Page Code */ in DAC960_V1_ReadDeviceConfiguration()
2084 DCDB->CDB[3] = 0; /* Reserved */ in DAC960_V1_ReadDeviceConfiguration()
[all …]
/drivers/message/fusion/
Dmptscsih.c350 ioc->name, pReq->CDB[0], SCpnt)); in mptscsih_AddSGE()
831 if ((pScsiReq->CDB[0] == READ_6 && ((pScsiReq->CDB[1] & 0x02) == 0)) || in mptscsih_io_done()
832 pScsiReq->CDB[0] == READ_10 || in mptscsih_io_done()
833 pScsiReq->CDB[0] == READ_12 || in mptscsih_io_done()
834 (pScsiReq->CDB[0] == READ_16 && in mptscsih_io_done()
835 ((pScsiReq->CDB[1] & 0x02) == 0)) || in mptscsih_io_done()
836 pScsiReq->CDB[0] == VERIFY || in mptscsih_io_done()
837 pScsiReq->CDB[0] == VERIFY_16) { in mptscsih_io_done()
1402 pScsiReq->CDB[ii] = SCpnt->cmnd[ii]; in mptscsih_qcmd()
1405 pScsiReq->CDB[ii] = 0; in mptscsih_qcmd()
[all …]
/drivers/scsi/
Dhpsa.c1098 if (!is_firmware_flash_cmd(c->Request.CDB)) in dial_down_lockup_detection_during_fw_flash()
1107 if (is_firmware_flash_cmd(c->Request.CDB) && in dial_up_lockup_detection_on_fw_flash_complete()
2414 c->Request.CDB, c->err_info->ScsiStatus); in hpsa_cmd_abort_and_free()
2567 memcpy(cp->Request.CDB, c->CDB, cp->Request.CDBLen); in complete_scsi_command()
2637 "CDB %16phN data overrun\n", cp->Request.CDB); in complete_scsi_command()
2654 cp->Request.CDB); in complete_scsi_command()
2659 cp->Request.CDB); in complete_scsi_command()
2664 cp->Request.CDB); in complete_scsi_command()
2672 cp->Request.CDB); in complete_scsi_command()
2677 cp->Request.CDB); in complete_scsi_command()
[all …]
Dwd719x.h35 u8 CDB[16]; /* 08-23 SCSI CDB (16 bytes as defined by ANSI spec. */ member
Dhpsa_cmd.h365 u8 CDB[16]; member
480 u8 CDB[16]; /* 0x40 - 0x4F */ member
Dwd719x.c241 memcpy(scb->CDB, cmd->cmnd, cmd->cmd_len); in wd719x_queuecommand()
/drivers/scsi/mpt3sas/
Dmpt3sas_warpdrive.c314 v_lba = get_unaligned_be32(&mpi_request->CDB.CDB32[2]); in mpt3sas_setup_direct_io()
316 v_lba = get_unaligned_be64(&mpi_request->CDB.CDB32[2]); in mpt3sas_setup_direct_io()
339 &mpi_request->CDB.CDB32[2]); in mpt3sas_setup_direct_io()
341 put_unaligned_be64(p_lba, &mpi_request->CDB.CDB32[2]); in mpt3sas_setup_direct_io()
Dmpt3sas_ctl.c137 scsi_request->CDB.CDB32[0], in _ctl_display_some_debug()
189 scsi_request->CDB.CDB32[0], in _ctl_display_some_debug()
Dmpt3sas_scsih.c3978 mpi_request->CDB.EEDP32.PrimaryReferenceTag = in _scsih_setup_eedp()
4153 memcpy(mpi_request->CDB.CDB32, scmd->cmnd, scmd->cmd_len); in scsih_qcmd()
4674 memcpy(mpi_request->CDB.CDB32, scmd->cmnd, scmd->cmd_len); in _scsih_io_done()
/drivers/message/fusion/lsi/
Dmpi_init.h89 U8 CDB[16]; /* 18h */ member
219 U8 CDB[20]; /* 00h */ member
229 U8 CDB[16]; /* 00h */ member
276 MPI_SCSI_IO32_CDB_UNION CDB; /* 18h */ member
Dmpi_raid.h187 U8 CDB[16]; /* 18h */ member
Dmpi_targ.h277 U8 CDB[16]; /* 14h */ member
300 U8 CDB[16]; /* 14h */ member
Dmpi_history.txt403 * 12-09-04 01.05.05 Added Target Mode Large CDB Enable to FC Port Page 1
/drivers/scsi/mpt3sas/mpi/
Dmpi2_init.h74 U8 CDB[20]; /*0x00 */ member
120 MPI2_SCSI_IO_CDB_UNION CDB; /*0x40 */ member
272 MPI25_SCSI_IO_CDB_UNION CDB; /*0x40 */ member
/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c1525 u8 *cdb = io_request->CDB.CDB32; in megasas_set_pd_lba()
1533 memset(cdb, 0, sizeof(io_request->CDB.CDB32)); in megasas_set_pd_lba()
1554 io_request->CDB.EEDP32.PrimaryReferenceTag = in megasas_set_pd_lba()
1556 io_request->CDB.EEDP32.PrimaryApplicationTagMask = cpu_to_be16(0xffff); in megasas_set_pd_lba()
1596 memset(cdb, 0, sizeof(io_request->CDB.CDB32)); in megasas_set_pd_lba()
1632 memset(cdb, 0, sizeof(io_request->CDB.CDB32)); in megasas_set_pd_lba()
2073 io_request->CDB.EEDP32.PrimaryReferenceTag = 0; in megasas_build_io_fusion()
2074 io_request->CDB.EEDP32.PrimaryApplicationTagMask = 0; in megasas_build_io_fusion()
2083 memcpy(io_request->CDB.CDB32, scp->cmnd, scp->cmd_len); in megasas_build_io_fusion()
Dmegaraid_sas_fusion.h216 u8 CDB[20]; /* 0x00 */ member
409 union MPI2_SCSI_IO_CDB_UNION CDB; /* 0x40 */ member
/drivers/scsi/aic7xxx/
Daic79xx.reg1317 * Scb offset for the CDB length field in initiator SCBs.
1355 * Scb offset for the first byte in the CDB for initiator SCBs.
1456 * CDB Limit
1457 * The size, in bytes, of the embedded CDB field in initator SCBs.
4038 * Target-mode CDB type to CDB length table used
4105 * Only valid if CDB length is less than 13 bytes or
4106 * we are using a CDB pointer. Otherwise contains
4149 field SCB_CDB_LEN_PTR 0x80 /* CDB in host memory */
Daic79xx.seq902 * To speed up CDB delivery in Rev B, all CDB acks
1190 * If we are identified and have successfully sent the CDB,
1970 * In the case of DMAing a CDB from the host, the normal
1971 * CDB buffer is formatted with an 8 byte address followed
2107 * Must wait until CDB xfer is over before issuing the
/drivers/usb/gadget/function/
Df_tcm.c1230 memcpy(cmd->cmd_buf, cbw->CDB, cmd_len); in bot_submit_command()

12