Lines Matching refs:cdrom_device_info

185 cdrom_device_info
193 register_cdrom(struct cdrom_device_info * <device>_info)
212 int (*open)(struct cdrom_device_info *, int)
213 void (*release)(struct cdrom_device_info *);
214 int (*drive_status)(struct cdrom_device_info *, int);
215 unsigned int (*check_events)(struct cdrom_device_info *,
217 int (*media_changed)(struct cdrom_device_info *, int);
218 int (*tray_move)(struct cdrom_device_info *, int);
219 int (*lock_door)(struct cdrom_device_info *, int);
220 int (*select_speed)(struct cdrom_device_info *, unsigned long);
221 int (*get_last_session) (struct cdrom_device_info *,
223 int (*get_mcn)(struct cdrom_device_info *, struct cdrom_mcn *);
224 int (*reset)(struct cdrom_device_info *);
225 int (*audio_ioctl)(struct cdrom_device_info *,
228 int (*generic_packet)(struct cdrom_device_info *,
242 drivers, the main parameter is the *struct* *cdrom_device_info*, from
246 through *dev* in *cdrom_device_info* described below.
251 struct cdrom_device_info {
276 int (*exit)(struct cdrom_device_info *);/* unknown:TBD */
326 int open(struct cdrom_device_info *cdi, int purpose)
342 void release(struct cdrom_device_info *cdi)
353 int drive_status(struct cdrom_device_info *cdi, int slot_nr)
369 int tray_move(struct cdrom_device_info *cdi, int position)
384 int lock_door(struct cdrom_device_info *cdi, int lock)
399 int select_speed(struct cdrom_device_info *cdi, unsigned long speed)
423 int get_last_session(struct cdrom_device_info *cdi,
440 int get_mcn(struct cdrom_device_info *cdi,
453 int reset(struct cdrom_device_info *cdi)
464 int audio_ioctl(struct cdrom_device_info *cdi,
492 int dev_ioctl(struct cdrom_device_info *cdi,
553 the *cdrom_device_info* variable *mask*. For instance, the SCSI CD-ROM
557 hence for this drive the *cdrom_device_info* struct will have set
744 int register_cdrom(struct cdrom_device_info *cdi)
758 struct cdrom_device_info <device>_info = {
770 void unregister_cdrom(struct cdrom_device_info *cdi)
1003 - Copy the *cdrom_device_info* declaration from the same example