Home
last modified time | relevance | path

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

/external/mtools/
Dmzip.c315 } inq_data; in mzip() local
354 cdb[4] = sizeof inq_data; in mzip()
356 &inq_data, sizeof inq_data, extra_data) != 0) { in mzip()
363 "\trevision: %.4s\n", name, inq_data.vendor, in mzip()
364 inq_data.product, inq_data.revision); in mzip()
367 if (strncasecmp("IOMEGA ", inq_data.vendor, in mzip()
368 sizeof inq_data.vendor) || in mzip()
370 inq_data.product, sizeof inq_data.product) && in mzip()
372 inq_data.product, sizeof inq_data.product) && in mzip()
374 inq_data.product, sizeof inq_data.product) && in mzip()
[all …]
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_cmds_basic.c431 sg_simple_inquiry(int sg_fd, struct sg_simple_inquiry_resp * inq_data, in sg_simple_inquiry() argument
437 if (inq_data) { in sg_simple_inquiry()
438 memset(inq_data, 0, sizeof(* inq_data)); in sg_simple_inquiry()
439 inq_data->peripheral_qualifier = 0x3; in sg_simple_inquiry()
440 inq_data->peripheral_type = 0x1f; in sg_simple_inquiry()
445 if (inq_data && (0 == ret)) { 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()
[all …]
/external/f2fs-tools/tools/sg_write_buffer/include/
Dsg_cmds_basic.h220 int sg_simple_inquiry(int sg_fd, struct sg_simple_inquiry_resp * inq_data,