Home
last modified time | relevance | path

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

/linux-6.12.1/include/linux/
Dcdrom.h41 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 *,
[all …]
Dblkdev.h208 struct cdrom_device_info *cdi;
/linux-6.12.1/drivers/scsi/
Dsr.h51 struct cdrom_device_info cdi;
61 int sr_lock_door(struct cdrom_device_info *, int);
62 int sr_tray_move(struct cdrom_device_info *, int);
63 int sr_drive_status(struct cdrom_device_info *, int);
64 int sr_disk_status(struct cdrom_device_info *);
65 int sr_get_last_session(struct cdrom_device_info *, struct cdrom_multisession *);
66 int sr_get_mcn(struct cdrom_device_info *, struct cdrom_mcn *);
67 int sr_reset(struct cdrom_device_info *);
68 int sr_select_speed(struct cdrom_device_info *cdi, unsigned long speed);
69 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()
69 static int sr_read_tocentry(struct cdrom_device_info *cdi, in sr_read_tocentry()
117 static int sr_fake_playtrkind(struct cdrom_device_info *cdi, struct cdrom_ti *ti) in sr_fake_playtrkind()
160 static int sr_play_trkind(struct cdrom_device_info *cdi, in sr_play_trkind()
272 int sr_tray_move(struct cdrom_device_info *cdi, int pos) in sr_tray_move()
285 int sr_lock_door(struct cdrom_device_info *cdi, int lock) in sr_lock_door()
293 int sr_drive_status(struct cdrom_device_info *cdi, int slot) in sr_drive_status()
350 int sr_disk_status(struct cdrom_device_info *cdi) in sr_disk_status()
381 int sr_get_last_session(struct cdrom_device_info *cdi, in sr_get_last_session()
392 int sr_get_mcn(struct cdrom_device_info *cdi, struct cdrom_mcn *mcn) in sr_get_mcn()
[all …]
Dsr.c111 static int sr_open(struct cdrom_device_info *, int);
112 static void sr_release(struct cdrom_device_info *);
117 static unsigned int sr_check_events(struct cdrom_device_info *cdi,
119 static int sr_packet(struct cdrom_device_info *, struct packet_command *);
120 static int sr_read_cdda_bpc(struct cdrom_device_info *cdi, void __user *ubuf,
205 static unsigned int sr_check_events(struct cdrom_device_info *cdi, in sr_check_events()
592 static int sr_open(struct cdrom_device_info *cdi, int purpose) in sr_open()
607 static void sr_release(struct cdrom_device_info *cdi) in sr_release()
917 static int sr_packet(struct cdrom_device_info *cdi, in sr_packet()
934 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-6.12.1/drivers/cdrom/
Dcdrom.c338 static void signal_media_change(struct cdrom_device_info *cdi) in signal_media_change()
344 int cdrom_dummy_generic_packet(struct cdrom_device_info *cdi, in cdrom_dummy_generic_packet()
358 static int cdrom_flush_cache(struct cdrom_device_info *cdi) in cdrom_flush_cache()
371 static int cdrom_get_disc_info(struct cdrom_device_info *cdi, in cdrom_get_disc_info()
421 static int cdrom_mrw_probe_pc(struct cdrom_device_info *cdi) in cdrom_mrw_probe_pc()
442 static int cdrom_is_mrw(struct cdrom_device_info *cdi, int *write) in cdrom_is_mrw()
474 static int cdrom_mrw_bgformat(struct cdrom_device_info *cdi, int cont) in cdrom_mrw_bgformat()
515 static int cdrom_mrw_bgformat_susp(struct cdrom_device_info *cdi, int immed) in cdrom_mrw_bgformat_susp()
533 static int cdrom_mrw_exit(struct cdrom_device_info *cdi) in cdrom_mrw_exit()
554 static int cdrom_mrw_set_lba_space(struct cdrom_device_info *cdi, int space) in cdrom_mrw_set_lba_space()
[all …]
Dgdrom.c97 struct cdrom_device_info *cd_info;
119 static int gdrom_packetcommand(struct cdrom_device_info *cd_info,
121 static int gdrom_hardreset(struct cdrom_device_info *cd_info);
312 static int gdrom_get_last_session(struct cdrom_device_info *cd_info, in gdrom_get_last_session()
354 static int gdrom_open(struct cdrom_device_info *cd_info, int purpose) in gdrom_open()
361 static void gdrom_release(struct cdrom_device_info *cd_info) in gdrom_release()
365 static int gdrom_drivestatus(struct cdrom_device_info *cd_info, int ignore) in gdrom_drivestatus()
378 static unsigned int gdrom_check_events(struct cdrom_device_info *cd_info, in gdrom_check_events()
387 static int gdrom_hardreset(struct cdrom_device_info *cd_info) in gdrom_hardreset()
398 static int gdrom_packetcommand(struct cdrom_device_info *cd_info, in gdrom_packetcommand()
[all …]
/linux-6.12.1/fs/udf/
Dlowlevel.c26 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in udf_get_last_session()
46 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in udf_get_last_block()
/linux-6.12.1/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 *, unsigned long);
[all …]
/linux-6.12.1/fs/hfsplus/
Dwrapper.c129 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in hfsplus_get_last_session()
/linux-6.12.1/fs/hfs/
Dmdb.c35 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in hfs_get_last_session()
/linux-6.12.1/fs/isofs/
Dinode.c505 struct cdrom_device_info *cdi = disk_to_cdi(sb->s_bdev->bd_disk); in isofs_get_last_session()