Lines Matching refs:cdrom_device_info
338 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()
586 int register_cdrom(struct gendisk *disk, struct cdrom_device_info *cdi) in register_cdrom()
646 void unregister_cdrom(struct cdrom_device_info *cdi) in unregister_cdrom()
661 int cdrom_get_media_event(struct cdrom_device_info *cdi, in cdrom_get_media_event()
689 static int cdrom_get_random_writable(struct cdrom_device_info *cdi, in cdrom_get_random_writable()
710 static int cdrom_has_defect_mgt(struct cdrom_device_info *cdi) in cdrom_has_defect_mgt()
735 static int cdrom_is_random_writable(struct cdrom_device_info *cdi, int *write) in cdrom_is_random_writable()
751 static int cdrom_media_erasable(struct cdrom_device_info *cdi) in cdrom_media_erasable()
766 static int cdrom_dvdram_open_write(struct cdrom_device_info *cdi) in cdrom_dvdram_open_write()
780 static int cdrom_mrw_open_write(struct cdrom_device_info *cdi) in cdrom_mrw_open_write()
818 static int mo_open_write(struct cdrom_device_info *cdi) in mo_open_write()
847 static int cdrom_ram_open_write(struct cdrom_device_info *cdi) in cdrom_ram_open_write()
864 static void cdrom_mmc3_profile(struct cdrom_device_info *cdi) in cdrom_mmc3_profile()
886 static int cdrom_is_dvd_rw(struct cdrom_device_info *cdi) in cdrom_is_dvd_rw()
901 static int cdrom_open_write(struct cdrom_device_info *cdi) in cdrom_open_write()
945 static void cdrom_dvd_rw_close_write(struct cdrom_device_info *cdi) in cdrom_dvd_rw_close_write()
983 static void cdrom_count_tracks(struct cdrom_device_info *cdi, tracktype *tracks) in cdrom_count_tracks()
1036 int open_for_data(struct cdrom_device_info *cdi) in open_for_data()
1150 int cdrom_open(struct cdrom_device_info *cdi, blk_mode_t mode) in cdrom_open()
1200 static int check_for_audio_disc(struct cdrom_device_info *cdi, in check_for_audio_disc()
1254 void cdrom_release(struct cdrom_device_info *cdi) in cdrom_release()
1284 static int cdrom_read_mech_status(struct cdrom_device_info *cdi, in cdrom_read_mech_status()
1316 static int cdrom_slot_status(struct cdrom_device_info *cdi, int slot) in cdrom_slot_status()
1345 int cdrom_number_of_slots(struct cdrom_device_info *cdi) in cdrom_number_of_slots()
1368 static int cdrom_load_unload(struct cdrom_device_info *cdi, int slot) in cdrom_load_unload()
1395 static int cdrom_select_disc(struct cdrom_device_info *cdi, int slot) in cdrom_select_disc()
1463 static void cdrom_update_events(struct cdrom_device_info *cdi, in cdrom_update_events()
1473 unsigned int cdrom_check_events(struct cdrom_device_info *cdi, in cdrom_check_events()
1492 int media_changed(struct cdrom_device_info *cdi, int queue) in media_changed()
1615 static int dvd_do_auth(struct cdrom_device_info *cdi, dvd_authinfo *ai) in dvd_do_auth()
1763 static int dvd_read_physical(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_physical()
1814 static int dvd_read_copyright(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_copyright()
1838 static int dvd_read_disckey(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_disckey()
1866 static int dvd_read_bca(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_bca()
1900 static int dvd_read_manufact(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_manufact()
1942 static int dvd_read_struct(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_struct()
1968 int cdrom_mode_sense(struct cdrom_device_info *cdi, in cdrom_mode_sense()
1985 int cdrom_mode_select(struct cdrom_device_info *cdi, in cdrom_mode_select()
2001 static int cdrom_read_subchannel(struct cdrom_device_info *cdi, in cdrom_read_subchannel()
2048 static int cdrom_read_cd(struct cdrom_device_info *cdi, in cdrom_read_cd()
2068 static int cdrom_read_block(struct cdrom_device_info *cdi, in cdrom_read_block()
2100 static int cdrom_read_cdda_old(struct cdrom_device_info *cdi, __u8 __user *ubuf, in cdrom_read_cdda_old()
2146 static int cdrom_read_cdda_bpc(struct cdrom_device_info *cdi, __u8 __user *ubuf, in cdrom_read_cdda_bpc()
2174 static int cdrom_read_cdda(struct cdrom_device_info *cdi, __u8 __user *ubuf, in cdrom_read_cdda()
2213 int cdrom_multisession(struct cdrom_device_info *cdi, in cdrom_multisession()
2235 static int cdrom_ioctl_multisession(struct cdrom_device_info *cdi, in cdrom_ioctl_multisession()
2255 static int cdrom_ioctl_eject(struct cdrom_device_info *cdi) in cdrom_ioctl_eject()
2272 static int cdrom_ioctl_closetray(struct cdrom_device_info *cdi) in cdrom_ioctl_closetray()
2281 static int cdrom_ioctl_eject_sw(struct cdrom_device_info *cdi, in cdrom_ioctl_eject_sw()
2297 static int cdrom_ioctl_media_changed(struct cdrom_device_info *cdi, in cdrom_ioctl_media_changed()
2340 static int cdrom_ioctl_timed_media_change(struct cdrom_device_info *cdi, in cdrom_ioctl_timed_media_change()
2372 static int cdrom_ioctl_set_options(struct cdrom_device_info *cdi, in cdrom_ioctl_set_options()
2400 static int cdrom_ioctl_clear_options(struct cdrom_device_info *cdi, in cdrom_ioctl_clear_options()
2409 static int cdrom_ioctl_select_speed(struct cdrom_device_info *cdi, in cdrom_ioctl_select_speed()
2419 static int cdrom_ioctl_select_disc(struct cdrom_device_info *cdi, in cdrom_ioctl_select_disc()
2436 static int cdrom_ioctl_reset(struct cdrom_device_info *cdi, in cdrom_ioctl_reset()
2449 static int cdrom_ioctl_lock_door(struct cdrom_device_info *cdi, in cdrom_ioctl_lock_door()
2468 static int cdrom_ioctl_debug(struct cdrom_device_info *cdi, in cdrom_ioctl_debug()
2479 static int cdrom_ioctl_get_capability(struct cdrom_device_info *cdi) in cdrom_ioctl_get_capability()
2491 static int cdrom_ioctl_get_mcn(struct cdrom_device_info *cdi, in cdrom_ioctl_get_mcn()
2511 static int cdrom_ioctl_drive_status(struct cdrom_device_info *cdi, in cdrom_ioctl_drive_status()
2543 static int cdrom_ioctl_disc_status(struct cdrom_device_info *cdi) in cdrom_ioctl_disc_status()
2573 static int cdrom_ioctl_changer_nslots(struct cdrom_device_info *cdi) in cdrom_ioctl_changer_nslots()
2579 static int cdrom_ioctl_get_subchnl(struct cdrom_device_info *cdi, in cdrom_ioctl_get_subchnl()
2610 static int cdrom_ioctl_read_tochdr(struct cdrom_device_info *cdi, in cdrom_ioctl_read_tochdr()
2631 int cdrom_read_tocentry(struct cdrom_device_info *cdi, in cdrom_read_tocentry()
2650 static int cdrom_ioctl_read_tocentry(struct cdrom_device_info *cdi, in cdrom_ioctl_read_tocentry()
2664 static int cdrom_ioctl_play_msf(struct cdrom_device_info *cdi, in cdrom_ioctl_play_msf()
2678 static int cdrom_ioctl_play_trkind(struct cdrom_device_info *cdi, in cdrom_ioctl_play_trkind()
2696 static int cdrom_ioctl_volctrl(struct cdrom_device_info *cdi, in cdrom_ioctl_volctrl()
2710 static int cdrom_ioctl_volread(struct cdrom_device_info *cdi, in cdrom_ioctl_volread()
2730 static int cdrom_ioctl_audioctl(struct cdrom_device_info *cdi, in cdrom_ioctl_audioctl()
2749 static int cdrom_switch_blocksize(struct cdrom_device_info *cdi, int size) in cdrom_switch_blocksize()
2774 static int cdrom_get_track_info(struct cdrom_device_info *cdi, in cdrom_get_track_info()
2810 int cdrom_get_last_written(struct cdrom_device_info *cdi, long *last_written) in cdrom_get_last_written()
2876 static int cdrom_get_next_writable(struct cdrom_device_info *cdi, in cdrom_get_next_writable()
2926 static noinline int mmc_ioctl_cdrom_read_data(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_read_data()
2987 static noinline int mmc_ioctl_cdrom_read_audio(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_read_audio()
3035 static noinline int mmc_ioctl_cdrom_subchannel(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_subchannel()
3060 static noinline int mmc_ioctl_cdrom_play_msf(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_play_msf()
3080 static noinline int mmc_ioctl_cdrom_play_blk(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_play_blk()
3100 static noinline int mmc_ioctl_cdrom_volume(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_volume()
3175 static noinline int mmc_ioctl_cdrom_start_stop(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_start_stop()
3188 static noinline int mmc_ioctl_cdrom_pause_resume(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_pause_resume()
3200 static noinline int mmc_ioctl_dvd_read_struct(struct cdrom_device_info *cdi, in mmc_ioctl_dvd_read_struct()
3228 static noinline int mmc_ioctl_dvd_auth(struct cdrom_device_info *cdi, in mmc_ioctl_dvd_auth()
3246 static noinline int mmc_ioctl_cdrom_next_writable(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_next_writable()
3260 static noinline int mmc_ioctl_cdrom_last_written(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_last_written()
3275 static int mmc_ioctl(struct cdrom_device_info *cdi, unsigned int cmd, in mmc_ioctl()
3325 int cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev, in cdrom_ioctl()
3437 struct cdrom_device_info *cdi; in cdrom_print_info()
3565 struct cdrom_device_info *cdi; in cdrom_update_settings()