Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c884 unsigned char logsCmdBlk[LOG_SENSE_CMDLEN] = in do_logs() local
889 logsCmdBlk[1] = (unsigned char)((ppc ? 2 : 0) | (sp ? 1 : 0)); in do_logs()
890 logsCmdBlk[2] = (unsigned char)(((pc << 6) & 0xc0) | (pg_code & 0x3f)); in do_logs()
891 logsCmdBlk[5] = (unsigned char)((paramp >> 8) & 0xff); in do_logs()
892 logsCmdBlk[6] = (unsigned char)(paramp & 0xff); in do_logs()
897 logsCmdBlk[7] = (unsigned char)((mx_resp_len >> 8) & 0xff); in do_logs()
898 logsCmdBlk[8] = (unsigned char)(mx_resp_len & 0xff); in do_logs()
902 io_hdr.cmd_len = sizeof(logsCmdBlk); in do_logs()
907 io_hdr.cmdp = logsCmdBlk; in do_logs()