Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/scsi/
Dscsi_debug.c761 static int sdebug_ptype = DEF_PTYPE; /* SCSI peripheral device type */ variable
1572 is_disk = (sdebug_ptype == TYPE_DISK); in resp_inquiry()
1581 pq_pdt = (sdebug_ptype & 0x1f); in resp_inquiry()
1708 } else if (sdebug_ptype == TYPE_TAPE) { /* SSC-4 rev 3 */ in resp_inquiry()
2327 is_disk = (sdebug_ptype == TYPE_DISK); in resp_mode_sense()
5660 module_param_named(ptype, sdebug_ptype, int, S_IRUGO | S_IWUSR);
5984 return scnprintf(buf, PAGE_SIZE, "%d\n", sdebug_ptype); in ptype_show()
5992 if (sdebug_ptype == TYPE_ZBC) in ptype_store()
5998 sdebug_ptype = n; in ptype_store()
6790 if (sdebug_ptype == TYPE_ZBC) { in scsi_debug_init()
[all …]