Lines Matching refs:scsi_CDs
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()
178 cmd[1] = (scsi_CDs[minor].device->scsi_level <= SCSI_2) ? in sr_cd_check()
179 (scsi_CDs[minor].device->lun << 5) : 0; in sr_cd_check()
204 cmd[1] = (scsi_CDs[minor].device->scsi_level <= SCSI_2) ? in sr_cd_check()
205 (scsi_CDs[minor].device->lun << 5) : 0; in sr_cd_check()
231 cmd[1] = (scsi_CDs[minor].device->scsi_level <= SCSI_2) ? in sr_cd_check()
232 (scsi_CDs[minor].device->lun << 5) : 0; in sr_cd_check()
256 cmd[1] = (scsi_CDs[minor].device->scsi_level <= SCSI_2) ? in sr_cd_check()
257 (scsi_CDs[minor].device->lun << 5) : 0; in sr_cd_check()
270 cmd[1] = (scsi_CDs[minor].device->scsi_level <= SCSI_2) ? in sr_cd_check()
271 (scsi_CDs[minor].device->lun << 5) : 0; in sr_cd_check()
293 scsi_CDs[minor].ms_offset = sector; in sr_cd_check()
294 scsi_CDs[minor].xa_flag = 0; in sr_cd_check()
296 scsi_CDs[minor].xa_flag = 1; in sr_cd_check()
298 if (2048 != scsi_CDs[minor].device->sector_size) { in sr_cd_check()