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