Searched refs:logs_cdb (Results 1 – 1 of 1) sorted by relevance
814 unsigned char logs_cdb[LOG_SENSE_CMDLEN] = in sg_ll_log_sense_v2() local823 logs_cdb[1] = (unsigned char)((ppc ? 2 : 0) | (sp ? 1 : 0)); in sg_ll_log_sense_v2()824 logs_cdb[2] = (unsigned char)(((pc << 6) & 0xc0) | (pg_code & 0x3f)); in sg_ll_log_sense_v2()825 logs_cdb[3] = (unsigned char)(subpg_code & 0xff); in sg_ll_log_sense_v2()826 sg_put_unaligned_be16((int16_t)paramp, logs_cdb + 5); in sg_ll_log_sense_v2()827 sg_put_unaligned_be16((int16_t)mx_resp_len, logs_cdb + 7); in sg_ll_log_sense_v2()831 pr2ws("%02x ", logs_cdb[k]); in sg_ll_log_sense_v2()839 set_scsi_pt_cdb(ptvp, logs_cdb, sizeof(logs_cdb)); in sg_ll_log_sense_v2()898 unsigned char logs_cdb[LOG_SELECT_CMDLEN] = in sg_ll_log_select() local907 logs_cdb[1] = (unsigned char)((pcr ? 2 : 0) | (sp ? 1 : 0)); in sg_ll_log_select()[all …]