Searched refs:rc_cdb (Results 1 – 2 of 2) sorted by relevance
/external/sg3_utils/lib/ |
D | sg_cmds_basic2.c | 154 uint8_t rc_cdb[SERVICE_ACTION_IN_16_CMDLEN] = in sg_ll_readcap_16() local 161 rc_cdb[14] |= 1; in sg_ll_readcap_16() 162 sg_put_unaligned_be64(llba, rc_cdb + 2); in sg_ll_readcap_16() 165 sg_put_unaligned_be32((uint32_t)mx_resp_len, rc_cdb + 10); in sg_ll_readcap_16() 170 sg_get_command_str(rc_cdb, SERVICE_ACTION_IN_16_CMDLEN, false, in sg_ll_readcap_16() 175 set_scsi_pt_cdb(ptvp, rc_cdb, sizeof(rc_cdb)); in sg_ll_readcap_16() 210 uint8_t rc_cdb[READ_CAPACITY_10_CMDLEN] = in sg_ll_readcap_10() local 216 rc_cdb[8] |= 1; in sg_ll_readcap_10() 217 sg_put_unaligned_be32((uint32_t)lba, rc_cdb + 2); in sg_ll_readcap_10() 223 sg_get_command_str(rc_cdb, READ_CAPACITY_10_CMDLEN, false, in sg_ll_readcap_10() [all …]
|
/external/sg3_utils/examples/ |
D | sgq_dd.c | 306 uint8_t rc_cdb [10] = {0x25, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in read_capacity() local 313 io_hdr.cmd_len = sizeof(rc_cdb); in read_capacity() 318 io_hdr.cmdp = rc_cdb; in read_capacity()
|