Lines Matching refs:cdrom_device_info
41 struct cdrom_device_info { struct
65 int (*exit)(struct cdrom_device_info *); argument
73 int (*open) (struct cdrom_device_info *, int); argument
74 void (*release) (struct cdrom_device_info *);
75 int (*drive_status) (struct cdrom_device_info *, int);
76 unsigned int (*check_events) (struct cdrom_device_info *cdi,
78 int (*tray_move) (struct cdrom_device_info *, int);
79 int (*lock_door) (struct cdrom_device_info *, int);
80 int (*select_speed) (struct cdrom_device_info *, unsigned long);
81 int (*get_last_session) (struct cdrom_device_info *,
83 int (*get_mcn) (struct cdrom_device_info *,
86 int (*reset) (struct cdrom_device_info *);
88 int (*audio_ioctl) (struct cdrom_device_info *,unsigned int, void *);
91 int (*generic_packet) (struct cdrom_device_info *,
93 int (*read_cdda_bpc)(struct cdrom_device_info *cdi, void __user *ubuf,
99 int cdrom_multisession(struct cdrom_device_info *cdi,
101 int cdrom_read_tocentry(struct cdrom_device_info *cdi,
105 int cdrom_open(struct cdrom_device_info *cdi, blk_mode_t mode);
106 void cdrom_release(struct cdrom_device_info *cdi);
107 int cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev,
109 extern unsigned int cdrom_check_events(struct cdrom_device_info *cdi,
112 extern int register_cdrom(struct gendisk *disk, struct cdrom_device_info *cdi);
113 extern void unregister_cdrom(struct cdrom_device_info *cdi);
123 extern int cdrom_get_last_written(struct cdrom_device_info *cdi, long *last_written);
124 extern int cdrom_number_of_slots(struct cdrom_device_info *cdi);
125 extern int cdrom_mode_select(struct cdrom_device_info *cdi,
127 extern int cdrom_mode_sense(struct cdrom_device_info *cdi,
132 extern int cdrom_dummy_generic_packet(struct cdrom_device_info *cdi,
306 extern int cdrom_get_media_event(struct cdrom_device_info *cdi, struct media_event_desc *med);