Home
last modified time | relevance | path

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

/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_cmds_basic.h60 int sg_ll_log_select(int sg_fd, bool pcr, bool sp, int pc, int pg_code,
69 int sg_ll_log_sense(int sg_fd, bool ppc, bool sp, int pc, int pg_code,
75 int sg_ll_log_sense_v2(int sg_fd, bool ppc, bool sp, int pc, int pg_code,
101 int sg_ll_mode_sense6(int sg_fd, bool dbd, int pc, int pg_code,
110 int sg_ll_mode_sense10(int sg_fd, bool llbaa, bool dbd, int pc, int pg_code,
117 int pg_code, int sub_pg_code, void * resp,
261 int sg_get_mode_page_controls(int sg_fd, bool mode6, int pg_code,
Dsg_cmds_extra.h169 int sg_ll_receive_diag(int sg_fd, bool pcv, int pg_code, void * resp,
180 int sg_ll_receive_diag_v2(int sg_fd, bool pcv, int pg_code, void * resp,
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_cmds_basic2.c274 sg_ll_mode_sense6(int sg_fd, bool dbd, int pc, int pg_code, int sub_pg_code, in sg_ll_mode_sense6() argument
285 modes_cdb[2] = (unsigned char)(((pc << 6) & 0xc0) | (pg_code & 0x3f)); in sg_ll_mode_sense6()
353 sg_ll_mode_sense10(int sg_fd, bool llbaa, bool dbd, int pc, int pg_code, in sg_ll_mode_sense10() argument
357 return sg_ll_mode_sense10_v2(sg_fd, llbaa, dbd, pc, pg_code, sub_pg_code, in sg_ll_mode_sense10()
371 sg_ll_mode_sense10_v2(int sg_fd, bool llbaa, bool dbd, int pc, int pg_code, in sg_ll_mode_sense10_v2() argument
383 modes_cdb[2] = (unsigned char)(((pc << 6) & 0xc0) | (pg_code & 0x3f)); in sg_ll_mode_sense10_v2()
670 sg_get_mode_page_controls(int sg_fd, bool mode6, int pg_code, int sub_pg_code, in sg_get_mode_page_controls() argument
693 res = sg_ll_mode_sense6(sg_fd, dbd, 0 /* pc */, pg_code, in sg_get_mode_page_controls()
698 0 /* pc */, pg_code, sub_pg_code, buff, in sg_get_mode_page_controls()
754 pg_code, sub_pg_code, buff, in sg_get_mode_page_controls()
[all …]
Dsg_cmds_extra.c553 sg_ll_receive_diag(int sg_fd, bool pcv, int pg_code, void * resp, in sg_ll_receive_diag() argument
556 return sg_ll_receive_diag_v2(sg_fd, pcv, pg_code, resp, mx_resp_len, 0, in sg_ll_receive_diag()
563 sg_ll_receive_diag_v2(int sg_fd, bool pcv, int pg_code, void * resp, in sg_ll_receive_diag_v2() argument
577 rcvdiag_cdb[2] = (unsigned char)(pg_code); in sg_ll_receive_diag_v2()
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c880 static int do_logs(int sg_fd, int ppc, int sp, int pc, int pg_code, in do_logs() argument
890 logsCmdBlk[2] = (unsigned char)(((pc << 6) & 0xc0) | (pg_code & 0x3f)); in do_logs()
929 sp, pc, pg_code, paramp); in do_logs()
1482 int pg_code = 0; in show_scsi_logs() local
1510 pg_code = PG_CODE_ALL; in show_scsi_logs()
1515 if (0 == do_logs(sg_fd, do_ppc, do_sp, pc, pg_code, paramp, in show_scsi_logs()
1538 pg_code = parr[k]; in show_scsi_logs()
1540 do_logs(sg_fd, do_ppc, do_sp, pc, pg_code, paramp, in show_scsi_logs()
3408 static int do_modes(int sg_fd, int dbd, int pc, int pg_code, int sub_pg_code, in do_modes() argument
3418 modesCmdBlk[2] = (unsigned char)(((pc << 6) & 0xc0) | (pg_code & 0x3f)); in do_modes()
[all …]