Home
last modified time | relevance | path

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

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_cmds_basic2.c279 unsigned char modes_cdb[MODE_SENSE6_CMDLEN] = in sg_ll_mode_sense6() local
284 modes_cdb[1] = (unsigned char)(dbd ? 0x8 : 0); in sg_ll_mode_sense6()
285 modes_cdb[2] = (unsigned char)(((pc << 6) & 0xc0) | (pg_code & 0x3f)); in sg_ll_mode_sense6()
286 modes_cdb[3] = (unsigned char)(sub_pg_code & 0xff); in sg_ll_mode_sense6()
287 modes_cdb[4] = (unsigned char)(mx_resp_len & 0xff); in sg_ll_mode_sense6()
295 pr2ws("%02x ", modes_cdb[k]); in sg_ll_mode_sense6()
300 set_scsi_pt_cdb(ptvp, modes_cdb, sizeof(modes_cdb)); in sg_ll_mode_sense6()
378 unsigned char modes_cdb[MODE_SENSE10_CMDLEN] = in sg_ll_mode_sense10_v2() local
382 modes_cdb[1] = (unsigned char)((dbd ? 0x8 : 0) | (llbaa ? 0x10 : 0)); in sg_ll_mode_sense10_v2()
383 modes_cdb[2] = (unsigned char)(((pc << 6) & 0xc0) | (pg_code & 0x3f)); in sg_ll_mode_sense10_v2()
[all …]