Searched refs:scsi_CDs (Results 1 – 5 of 5) sorted by relevance
87 Scsi_CD *scsi_CDs; variable102 if (scsi_CDs[MINOR(cdi->dev)].device->sector_size > 2048) in sr_release()104 scsi_CDs[MINOR(cdi->dev)].device->access_count--; in sr_release()105 if (scsi_CDs[MINOR(cdi->dev)].device->host->hostt->module) in sr_release()106 __MOD_DEC_USE_COUNT(scsi_CDs[MINOR(cdi->dev)].device->host->hostt->module); in sr_release()153 retval = scsi_ioctl(scsi_CDs[MINOR(cdi->dev)].device, in sr_media_change()162 scsi_CDs[MINOR(cdi->dev)].device->changed = 1; in sr_media_change()167 retval = scsi_CDs[MINOR(cdi->dev)].device->changed; in sr_media_change()168 scsi_CDs[MINOR(cdi->dev)].device->changed = 0; in sr_media_change()182 scsi_CDs[MINOR(cdi->dev)].needs_sector_size = 1; in sr_media_change()[all …]
61 #define VENDOR_ID (scsi_CDs[minor].vendor)68 char *vendor = scsi_CDs[minor].device->vendor; in sr_vendor_init()69 char *model = scsi_CDs[minor].device->model; in sr_vendor_init()73 if (scsi_CDs[minor].readcd_known) in sr_vendor_init()77 if (scsi_CDs[minor].device->type == TYPE_WORM) { in sr_vendor_init()93 scsi_CDs[minor].cdi.mask |= CDC_MULTI_SESSION; in sr_vendor_init()127 cmd[1] = (scsi_CDs[minor].device->scsi_level <= SCSI_2) ? in sr_set_blocklength()128 (scsi_CDs[minor].device->lun << 5) : 0; in sr_set_blocklength()138 scsi_CDs[minor].device->sector_size = blocklength; in sr_set_blocklength()162 if (scsi_CDs[minor].cdi.mask & CDC_MULTI_SESSION) in sr_cd_check()[all …]
86 SDev = scsi_CDs[target].device; in sr_do_ioctl()87 SRpnt = scsi_allocate_request(scsi_CDs[target].device); in sr_do_ioctl()127 scsi_CDs[target].device->changed = 1; in sr_do_ioctl()196 sr_cmd[1] = (scsi_CDs[minor].device->scsi_level <= SCSI_2) ? in test_unit_ready()197 ((scsi_CDs[minor].device->lun) << 5) : 0; in test_unit_ready()207 sr_cmd[1] = (scsi_CDs[MINOR(cdi->dev)].device->scsi_level <= SCSI_2) ? in sr_tray_move()208 ((scsi_CDs[MINOR(cdi->dev)].device->lun) << 5) : 0; in sr_tray_move()217 return scsi_ioctl(scsi_CDs[MINOR(cdi->dev)].device, in sr_lock_door()257 if (scsi_CDs[MINOR(cdi->dev)].xa_flag) in sr_disk_status()266 ms_info->addr.lba = scsi_CDs[MINOR(cdi->dev)].ms_offset; in sr_get_last_session()[all …]
37 extern Scsi_CD *scsi_CDs;
1100 * sr.c: Ditto, except for scsi_CDs.