Searched refs:sdebug_ptype (Results 1 – 1 of 1) sorted by relevance
929 static int sdebug_ptype = DEF_PTYPE; /* SCSI peripheral device type */ variable2076 is_disk = (sdebug_ptype == TYPE_DISK); in resp_inquiry()2077 is_tape = (sdebug_ptype == TYPE_TAPE); in resp_inquiry()2091 sdebug_ptype : scp->device->type) & 0x1f); in resp_inquiry()6588 if (sdebug_ptype == TYPE_TAPE) { in sdebug_device_create()6662 if (sdebug_ptype == TYPE_TAPE) { in scsi_debug_sdev_configure()7400 module_param_named(ptype, sdebug_ptype, int, S_IRUGO | S_IWUSR);7774 return scnprintf(buf, PAGE_SIZE, "%d\n", sdebug_ptype); in ptype_show()7782 if (sdebug_ptype == TYPE_ZBC) in ptype_store()7788 sdebug_ptype = n; in ptype_store()[all …]