Lines Matching defs:scsi_cd
34 typedef struct scsi_cd { struct
35 struct scsi_driver *driver;
36 unsigned capacity; /* size in blocks */
37 struct scsi_device *device;
38 unsigned int vendor; /* vendor code, see sr_vendor.c */
39 unsigned long ms_offset; /* for reading multisession-CD's */
40 unsigned writeable : 1;
41 unsigned use:1; /* is this device still supportable */
42 unsigned xa_flag:1; /* CD has XA sectors ? */
43 unsigned readcd_known:1; /* drive supports READ_CD (0xbe) */
44 unsigned readcd_cdda:1; /* reading audio data using READ_CD */
45 unsigned media_present:1; /* media is present */
48 int tur_mismatch; /* nr of get_event TUR mismatches */
49 bool tur_changed:1; /* changed according to TUR */
50 bool get_event_changed:1; /* changed according to GET_EVENT */
51 bool ignore_get_event:1; /* GET_EVENT is unreliable, use TUR */
53 struct cdrom_device_info cdi;
56 struct kref kref;
57 struct gendisk *disk;