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