Home
last modified time | relevance | path

Searched refs:cdrom_device_info (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.15/include/linux/
Dcdrom.h40 struct cdrom_device_info { struct
65 int (*exit)(struct cdrom_device_info *); argument
71 int (*open) (struct cdrom_device_info *, int); argument
72 void (*release) (struct cdrom_device_info *);
73 int (*drive_status) (struct cdrom_device_info *, int);
74 unsigned int (*check_events) (struct cdrom_device_info *cdi,
76 int (*tray_move) (struct cdrom_device_info *, int);
77 int (*lock_door) (struct cdrom_device_info *, int);
78 int (*select_speed) (struct cdrom_device_info *, int);
79 int (*select_disc) (struct cdrom_device_info *, int);
[all …]
Dgenhd.h169 struct cdrom_device_info *cdi;
/Linux-v5.15/drivers/scsi/
Dsr.h54 struct cdrom_device_info cdi;
67 int sr_lock_door(struct cdrom_device_info *, int);
68 int sr_tray_move(struct cdrom_device_info *, int);
69 int sr_drive_status(struct cdrom_device_info *, int);
70 int sr_disk_status(struct cdrom_device_info *);
71 int sr_get_last_session(struct cdrom_device_info *, struct cdrom_multisession *);
72 int sr_get_mcn(struct cdrom_device_info *, struct cdrom_mcn *);
73 int sr_reset(struct cdrom_device_info *);
74 int sr_select_speed(struct cdrom_device_info *cdi, int speed);
75 int sr_audio_ioctl(struct cdrom_device_info *, unsigned int, void *);
[all …]
Dsr_ioctl.c36 static int sr_read_tochdr(struct cdrom_device_info *cdi, in sr_read_tochdr()
66 static int sr_read_tocentry(struct cdrom_device_info *cdi, in sr_read_tocentry()
111 static int sr_fake_playtrkind(struct cdrom_device_info *cdi, struct cdrom_ti *ti) in sr_fake_playtrkind()
154 static int sr_play_trkind(struct cdrom_device_info *cdi, in sr_play_trkind()
263 int sr_tray_move(struct cdrom_device_info *cdi, int pos) in sr_tray_move()
276 int sr_lock_door(struct cdrom_device_info *cdi, int lock) in sr_lock_door()
284 int sr_drive_status(struct cdrom_device_info *cdi, int slot) in sr_drive_status()
341 int sr_disk_status(struct cdrom_device_info *cdi) in sr_disk_status()
372 int sr_get_last_session(struct cdrom_device_info *cdi, in sr_get_last_session()
383 int sr_get_mcn(struct cdrom_device_info *cdi, struct cdrom_mcn *mcn) in sr_get_mcn()
[all …]
Dsr.c116 static int sr_open(struct cdrom_device_info *, int);
117 static void sr_release(struct cdrom_device_info *);
122 static unsigned int sr_check_events(struct cdrom_device_info *cdi,
124 static int sr_packet(struct cdrom_device_info *, struct packet_command *);
125 static int sr_read_cdda_bpc(struct cdrom_device_info *cdi, void __user *ubuf,
240 static unsigned int sr_check_events(struct cdrom_device_info *cdi, in sr_check_events()
622 static int sr_open(struct cdrom_device_info *cdi, int purpose) in sr_open()
642 static void sr_release(struct cdrom_device_info *cdi) in sr_release()
942 static int sr_packet(struct cdrom_device_info *cdi, in sr_packet()
959 static int sr_read_cdda_bpc(struct cdrom_device_info *cdi, void __user *ubuf, in sr_read_cdda_bpc()
Dsr_vendor.c171 int sr_cd_check(struct cdrom_device_info *cdi) in sr_cd_check()
/Linux-v5.15/drivers/cdrom/
Dcdrom.c347 int cdrom_dummy_generic_packet(struct cdrom_device_info *cdi, in cdrom_dummy_generic_packet()
361 static int cdrom_flush_cache(struct cdrom_device_info *cdi) in cdrom_flush_cache()
374 static int cdrom_get_disc_info(struct cdrom_device_info *cdi, in cdrom_get_disc_info()
424 static int cdrom_mrw_probe_pc(struct cdrom_device_info *cdi) in cdrom_mrw_probe_pc()
445 static int cdrom_is_mrw(struct cdrom_device_info *cdi, int *write) in cdrom_is_mrw()
477 static int cdrom_mrw_bgformat(struct cdrom_device_info *cdi, int cont) in cdrom_mrw_bgformat()
518 static int cdrom_mrw_bgformat_susp(struct cdrom_device_info *cdi, int immed) in cdrom_mrw_bgformat_susp()
536 static int cdrom_mrw_exit(struct cdrom_device_info *cdi) in cdrom_mrw_exit()
557 static int cdrom_mrw_set_lba_space(struct cdrom_device_info *cdi, int space) in cdrom_mrw_set_lba_space()
589 int register_cdrom(struct gendisk *disk, struct cdrom_device_info *cdi) in register_cdrom()
[all …]
Dgdrom.c98 struct cdrom_device_info *cd_info;
120 static int gdrom_packetcommand(struct cdrom_device_info *cd_info,
122 static int gdrom_hardreset(struct cdrom_device_info *cd_info);
313 static int gdrom_get_last_session(struct cdrom_device_info *cd_info, in gdrom_get_last_session()
355 static int gdrom_open(struct cdrom_device_info *cd_info, int purpose) in gdrom_open()
362 static void gdrom_release(struct cdrom_device_info *cd_info) in gdrom_release()
366 static int gdrom_drivestatus(struct cdrom_device_info *cd_info, int ignore) in gdrom_drivestatus()
379 static unsigned int gdrom_check_events(struct cdrom_device_info *cd_info, in gdrom_check_events()
388 static int gdrom_hardreset(struct cdrom_device_info *cd_info) in gdrom_hardreset()
399 static int gdrom_packetcommand(struct cdrom_device_info *cd_info, in gdrom_packetcommand()
[all …]
/Linux-v5.15/drivers/block/paride/
Dpcd.c172 static int pcd_open(struct cdrom_device_info *cdi, int purpose);
173 static void pcd_release(struct cdrom_device_info *cdi);
174 static int pcd_drive_status(struct cdrom_device_info *cdi, int slot_nr);
175 static unsigned int pcd_check_events(struct cdrom_device_info *cdi,
177 static int pcd_tray_move(struct cdrom_device_info *cdi, int position);
178 static int pcd_lock_door(struct cdrom_device_info *cdi, int lock);
179 static int pcd_drive_reset(struct cdrom_device_info *cdi);
180 static int pcd_get_mcn(struct cdrom_device_info *cdi, struct cdrom_mcn *mcn);
181 static int pcd_audio_ioctl(struct cdrom_device_info *cdi,
183 static int pcd_packet(struct cdrom_device_info *cdi,
[all …]
/Linux-v5.15/fs/udf/
Dlowlevel.c30 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in udf_get_last_session()
51 struct cdrom_device_info *cdi = disk_to_cdi(bdev->bd_disk); in udf_get_last_block()
/Linux-v5.15/Documentation/cdrom/
Dcdrom-standard.rst185 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 *, int);
[all …]
/Linux-v5.15/fs/hfsplus/
Dwrapper.c130 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in hfsplus_get_last_session()
/Linux-v5.15/fs/hfs/
Dmdb.c35 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in hfs_get_last_session()
/Linux-v5.15/fs/isofs/
Dinode.c549 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in isofs_get_last_session()