Searched refs:TYPE_ROM (Results 1 – 13 of 13) sorted by relevance
245 #define TYPE_ROM 0x05 macro
88 PS3_DEV_TYPE_STOR_ROM = TYPE_ROM, /* 5 */
67 MODULE_ALIAS_SCSI_DEVICE(TYPE_ROM);660 if (sdev->type != TYPE_ROM && sdev->type != TYPE_WORM) in sr_probe()
812 sdev->type = TYPE_ROM; in scsi_add_lun()832 if (sdev->type == TYPE_RBC || sdev->type == TYPE_ROM) { in scsi_add_lun()
540 #define TLDEV(type) ((type) == TYPE_DISK || (type) == TYPE_ROM)
608 #define TLDEV(type) ((type) == TYPE_DISK || (type) == TYPE_ROM)
1183 case TYPE_ROM: in hpsa_show_dev_msg()3665 *is_OBDR_device = (this_device->devtype == TYPE_ROM && in hpsa_update_device_info()4094 case TYPE_ROM: in hpsa_update_scsi_devices()
7301 if ((type == TYPE_ROM) && (strncmp(sdev->vendor, "HP ", 3) == 0)) in AscAsyncFix()7306 (type == TYPE_ROM) || (type == TYPE_TAPE)) in AscAsyncFix()
2346 inq.type_qual = (ha->hdr[t].devtype&4) ? TYPE_ROM:TYPE_DISK; in gdth_internal_cache_cmd()
1377 if (dev->transport->get_device_type(dev) != TYPE_ROM) { in spc_parse_cdb()1395 if (dev->transport->get_device_type(dev) != TYPE_ROM) { in spc_parse_cdb()
545 case TYPE_ROM: in pscsi_configure_device()614 if ((sd->type == TYPE_DISK) || (sd->type == TYPE_ROM)) in pscsi_free_device()
1539 if (sdev->type == TYPE_ROM) in sbp2_scsi_slave_configure()
1102 buf[0] = curlun->cdrom ? TYPE_ROM : TYPE_DISK; in do_inquiry()