Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/scsi/
Dscsi_debug.c652 static int sdebug_ptype = DEF_PTYPE; /* SCSI peripheral device type */ variable
1407 is_disk = (sdebug_ptype == TYPE_DISK); in resp_inquiry()
1414 pq_pdt = (sdebug_ptype & 0x1f); in resp_inquiry()
1535 } else if (sdebug_ptype == TYPE_TAPE) { /* SSC-4 rev 3 */ in resp_inquiry()
2135 is_disk = (sdebug_ptype == TYPE_DISK); in resp_mode_sense()
4542 module_param_named(ptype, sdebug_ptype, int, S_IRUGO | S_IWUSR);
4816 return scnprintf(buf, PAGE_SIZE, "%d\n", sdebug_ptype); in ptype_show()
4824 sdebug_ptype = n; in ptype_store()