Home
last modified time | relevance | path

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

/external/libusb/examples/
Dxusb.c319 uint8_t cdb_len; in send_mass_storage_command() local
332 cdb_len = cdb_length[cdb[0]]; in send_mass_storage_command()
333 if ((cdb_len == 0) || (cdb_len > sizeof(cbw.CBWCB))) { in send_mass_storage_command()
335 cdb[0], cdb_len); in send_mass_storage_command()
350 cbw.bCBWCBLength = cdb_len; in send_mass_storage_command()
351 memcpy(cbw.CBWCB, cdb, cdb_len); in send_mass_storage_command()
367 printf(" sent %d CDB bytes\n", cdb_len); in send_mass_storage_command()
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_cmds_extra.c1724 sg_ll_ata_pt(int sg_fd, const unsigned char * cdbp, int cdb_len, in sg_ll_ata_pt() argument
1742 switch (cdb_len) { in sg_ll_ata_pt()
1781 if (cdb_len < 32) { in sg_ll_ata_pt()
1782 for (k = 0; k < cdb_len; ++k) in sg_ll_ata_pt()
1787 hex2stderr(apt_cdb, cdb_len, -1); in sg_ll_ata_pt()
1792 set_scsi_pt_cdb(ptvp, apt_cdb, cdb_len); in sg_ll_ata_pt()
2434 int k, res, sense_cat, ret, cdb_len, tmout; in sg_ll_pre_fetch_x() local
2449 cdb_len = SEEK10_CMDLEN; in sg_ll_pre_fetch_x()
2462 cdb_len = PRE_FETCH16_CMDLEN; in sg_ll_pre_fetch_x()
2471 cdb_len = PRE_FETCH10_CMDLEN; in sg_ll_pre_fetch_x()
[all …]
Dsg_pt_linux.c519 int cdb_len) in set_scsi_pt_cdb() argument
526 ptp->io_hdr.request_len = cdb_len; in set_scsi_pt_cdb()
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_pt.h89 int cdb_len);
Dsg_cmds_extra.h45 int sg_ll_ata_pt(int sg_fd, const unsigned char * cdbp, int cdb_len,
/external/u-boot/drivers/ufs/
Dufs.c1384 unsigned int cdb_len; in ufshcd_prepare_utp_scsi_cmd_upiu() local
1398 cdb_len = min_t(unsigned short, pccb->cmdlen, UFS_CDB_SIZE); in ufshcd_prepare_utp_scsi_cmd_upiu()
1400 memcpy(ucd_req_ptr->sc.cdb, pccb->cmd, cdb_len); in ufshcd_prepare_utp_scsi_cmd_upiu()