Searched refs:inq_resp (Results 1 – 1 of 1) sorted by relevance
435 unsigned char inq_resp[SAFE_STD_INQ_RESP_LEN]; in sg_simple_inquiry() local442 ret = sg_ll_inquiry_com(sg_fd, false, false, 0, inq_resp, in sg_simple_inquiry()443 sizeof(inq_resp), 0, NULL, noisy, verbose); in sg_simple_inquiry()446 inq_data->peripheral_qualifier = (inq_resp[0] >> 5) & 0x7; in sg_simple_inquiry()447 inq_data->peripheral_type = inq_resp[0] & 0x1f; in sg_simple_inquiry()448 inq_data->byte_1 = inq_resp[1]; in sg_simple_inquiry()449 inq_data->version = inq_resp[2]; in sg_simple_inquiry()450 inq_data->byte_3 = inq_resp[3]; in sg_simple_inquiry()451 inq_data->byte_5 = inq_resp[5]; in sg_simple_inquiry()452 inq_data->byte_6 = inq_resp[6]; in sg_simple_inquiry()[all …]