Searched refs:TYPE_ROM (Results 1 – 15 of 15) sorted by relevance
773 if (s->qdev.type == TYPE_ROM) { in scsi_disk_emulate_vpd_page()884 if (s->qdev.type != TYPE_ROM) { in media_is_dvd()897 if (s->qdev.type != TYPE_ROM) { in media_is_cd()912 if (s->qdev.type != TYPE_ROM) { in scsi_read_disc_information()955 if (s->qdev.type != TYPE_ROM) { in scsi_read_dvd_structure()1072 if (s->qdev.type != TYPE_ROM) { in scsi_get_event_status_notification()1097 if (s->qdev.type != TYPE_ROM) { in scsi_get_configuration()1137 if (s->qdev.type != TYPE_ROM) { in scsi_emulate_mechanism_status()1149 [MODE_PAGE_VENDOR_SPECIFIC] = (1 << TYPE_DISK) | (1 << TYPE_ROM), in mode_sense_page()1152 [MODE_PAGE_CACHING] = (1 << TYPE_DISK) | (1 << TYPE_ROM), in mode_sense_page()[all …]
1141 if (dev->type == TYPE_ROM) { in scsi_req_xfer()1176 if (dev->type == TYPE_ROM && (buf[1] & 16)) { in scsi_req_xfer()1197 if (dev->type == TYPE_ROM) { in scsi_req_xfer()1208 if (dev->type == TYPE_ROM) { in scsi_req_xfer()1214 if (dev->type == TYPE_ROM) { in scsi_req_xfer()
742 case TYPE_ROM: in scsi_generic_realize()
1038 dev->type != TYPE_ROM) { in virtio_scsi_change()
212 #define TYPE_ROM 0x05 macro
243 #define TYPE_ROM 0x05 macro
76 PS3_DEV_TYPE_STOR_ROM = TYPE_ROM, /* 5 */
73 MODULE_ALIAS_SCSI_DEVICE(TYPE_ROM);617 if (sdev->type != TYPE_ROM && sdev->type != TYPE_WORM) in sr_probe()
905 sdev->type = TYPE_ROM; in scsi_add_lun()925 if (sdev->type == TYPE_RBC || sdev->type == TYPE_ROM) { in scsi_add_lun()
1256 case TYPE_ROM: in hpsa_show_dev_msg()4039 *is_OBDR_device = (this_device->devtype == TYPE_ROM && in hpsa_update_device_info()4484 case TYPE_ROM: in hpsa_update_scsi_devices()
7208 if ((type == TYPE_ROM) && (strncmp(sdev->vendor, "HP ", 3) == 0)) in AscAsyncFix()7213 (type == TYPE_ROM) || (type == TYPE_TAPE)) in AscAsyncFix()
2389 if (dev->transport->get_device_type(dev) != TYPE_ROM) { in spc_parse_cdb()2411 if (dev->transport->get_device_type(dev) != TYPE_ROM) { in spc_parse_cdb()
1464 case TYPE_ROM: in iscsi_readcapacity_sync()1949 if (iscsilun->type != TYPE_DISK && iscsilun->type != TYPE_ROM) { in iscsi_open()
1527 if (sdev->type == TYPE_ROM) in sbp2_scsi_slave_configure()
1066 buf[0] = curlun->cdrom ? TYPE_ROM : TYPE_DISK; in do_inquiry()