Lines Matching defs:cdi
337 static void signal_media_change(struct cdrom_device_info *cdi) in signal_media_change()
343 int cdrom_dummy_generic_packet(struct cdrom_device_info *cdi, in cdrom_dummy_generic_packet()
357 static int cdrom_flush_cache(struct cdrom_device_info *cdi) in cdrom_flush_cache()
370 static int cdrom_get_disc_info(struct cdrom_device_info *cdi, in cdrom_get_disc_info()
420 static int cdrom_mrw_probe_pc(struct cdrom_device_info *cdi) in cdrom_mrw_probe_pc()
441 static int cdrom_is_mrw(struct cdrom_device_info *cdi, int *write) in cdrom_is_mrw()
473 static int cdrom_mrw_bgformat(struct cdrom_device_info *cdi, int cont) in cdrom_mrw_bgformat()
514 static int cdrom_mrw_bgformat_susp(struct cdrom_device_info *cdi, int immed) in cdrom_mrw_bgformat_susp()
532 static int cdrom_mrw_exit(struct cdrom_device_info *cdi) in cdrom_mrw_exit()
553 static int cdrom_mrw_set_lba_space(struct cdrom_device_info *cdi, int space) in cdrom_mrw_set_lba_space()
585 int register_cdrom(struct gendisk *disk, struct cdrom_device_info *cdi) in register_cdrom()
645 void unregister_cdrom(struct cdrom_device_info *cdi) in unregister_cdrom()
660 int cdrom_get_media_event(struct cdrom_device_info *cdi, in cdrom_get_media_event()
688 static int cdrom_get_random_writable(struct cdrom_device_info *cdi, in cdrom_get_random_writable()
709 static int cdrom_has_defect_mgt(struct cdrom_device_info *cdi) in cdrom_has_defect_mgt()
734 static int cdrom_is_random_writable(struct cdrom_device_info *cdi, int *write) in cdrom_is_random_writable()
750 static int cdrom_media_erasable(struct cdrom_device_info *cdi) in cdrom_media_erasable()
765 static int cdrom_dvdram_open_write(struct cdrom_device_info *cdi) in cdrom_dvdram_open_write()
779 static int cdrom_mrw_open_write(struct cdrom_device_info *cdi) in cdrom_mrw_open_write()
817 static int mo_open_write(struct cdrom_device_info *cdi) in mo_open_write()
846 static int cdrom_ram_open_write(struct cdrom_device_info *cdi) in cdrom_ram_open_write()
863 static void cdrom_mmc3_profile(struct cdrom_device_info *cdi) in cdrom_mmc3_profile()
885 static int cdrom_is_dvd_rw(struct cdrom_device_info *cdi) in cdrom_is_dvd_rw()
900 static int cdrom_open_write(struct cdrom_device_info *cdi) in cdrom_open_write()
944 static void cdrom_dvd_rw_close_write(struct cdrom_device_info *cdi) in cdrom_dvd_rw_close_write()
981 static int cdrom_close_write(struct cdrom_device_info *cdi) in cdrom_close_write()
991 static void cdrom_count_tracks(struct cdrom_device_info *cdi, tracktype *tracks) in cdrom_count_tracks()
1044 int open_for_data(struct cdrom_device_info *cdi) in open_for_data()
1158 int cdrom_open(struct cdrom_device_info *cdi, struct block_device *bdev, in cdrom_open()
1208 static int check_for_audio_disc(struct cdrom_device_info *cdi, in check_for_audio_disc()
1262 void cdrom_release(struct cdrom_device_info *cdi, fmode_t mode) in cdrom_release()
1301 static int cdrom_read_mech_status(struct cdrom_device_info *cdi, in cdrom_read_mech_status()
1333 static int cdrom_slot_status(struct cdrom_device_info *cdi, int slot) in cdrom_slot_status()
1362 int cdrom_number_of_slots(struct cdrom_device_info *cdi) in cdrom_number_of_slots()
1385 static int cdrom_load_unload(struct cdrom_device_info *cdi, int slot) in cdrom_load_unload()
1412 static int cdrom_select_disc(struct cdrom_device_info *cdi, int slot) in cdrom_select_disc()
1480 static void cdrom_update_events(struct cdrom_device_info *cdi, in cdrom_update_events()
1490 unsigned int cdrom_check_events(struct cdrom_device_info *cdi, in cdrom_check_events()
1509 int media_changed(struct cdrom_device_info *cdi, int queue) in media_changed()
1632 static int dvd_do_auth(struct cdrom_device_info *cdi, dvd_authinfo *ai) in dvd_do_auth()
1780 static int dvd_read_physical(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_physical()
1831 static int dvd_read_copyright(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_copyright()
1855 static int dvd_read_disckey(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_disckey()
1883 static int dvd_read_bca(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_bca()
1917 static int dvd_read_manufact(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_manufact()
1959 static int dvd_read_struct(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_struct()
1985 int cdrom_mode_sense(struct cdrom_device_info *cdi, in cdrom_mode_sense()
2002 int cdrom_mode_select(struct cdrom_device_info *cdi, in cdrom_mode_select()
2018 static int cdrom_read_subchannel(struct cdrom_device_info *cdi, in cdrom_read_subchannel()
2065 static int cdrom_read_cd(struct cdrom_device_info *cdi, in cdrom_read_cd()
2085 static int cdrom_read_block(struct cdrom_device_info *cdi, in cdrom_read_block()
2117 static int cdrom_read_cdda_old(struct cdrom_device_info *cdi, __u8 __user *ubuf, in cdrom_read_cdda_old()
2163 static int cdrom_read_cdda_bpc(struct cdrom_device_info *cdi, __u8 __user *ubuf, in cdrom_read_cdda_bpc()
2191 static int cdrom_read_cdda(struct cdrom_device_info *cdi, __u8 __user *ubuf, in cdrom_read_cdda()
2230 int cdrom_multisession(struct cdrom_device_info *cdi, in cdrom_multisession()
2252 static int cdrom_ioctl_multisession(struct cdrom_device_info *cdi, in cdrom_ioctl_multisession()
2272 static int cdrom_ioctl_eject(struct cdrom_device_info *cdi) in cdrom_ioctl_eject()
2289 static int cdrom_ioctl_closetray(struct cdrom_device_info *cdi) in cdrom_ioctl_closetray()
2298 static int cdrom_ioctl_eject_sw(struct cdrom_device_info *cdi, in cdrom_ioctl_eject_sw()
2314 static int cdrom_ioctl_media_changed(struct cdrom_device_info *cdi, in cdrom_ioctl_media_changed()
2354 static int cdrom_ioctl_timed_media_change(struct cdrom_device_info *cdi, in cdrom_ioctl_timed_media_change()
2386 static int cdrom_ioctl_set_options(struct cdrom_device_info *cdi, in cdrom_ioctl_set_options()
2414 static int cdrom_ioctl_clear_options(struct cdrom_device_info *cdi, in cdrom_ioctl_clear_options()
2423 static int cdrom_ioctl_select_speed(struct cdrom_device_info *cdi, in cdrom_ioctl_select_speed()
2433 static int cdrom_ioctl_select_disc(struct cdrom_device_info *cdi, in cdrom_ioctl_select_disc()
2450 static int cdrom_ioctl_reset(struct cdrom_device_info *cdi, in cdrom_ioctl_reset()
2463 static int cdrom_ioctl_lock_door(struct cdrom_device_info *cdi, in cdrom_ioctl_lock_door()
2482 static int cdrom_ioctl_debug(struct cdrom_device_info *cdi, in cdrom_ioctl_debug()
2493 static int cdrom_ioctl_get_capability(struct cdrom_device_info *cdi) in cdrom_ioctl_get_capability()
2505 static int cdrom_ioctl_get_mcn(struct cdrom_device_info *cdi, in cdrom_ioctl_get_mcn()
2525 static int cdrom_ioctl_drive_status(struct cdrom_device_info *cdi, in cdrom_ioctl_drive_status()
2557 static int cdrom_ioctl_disc_status(struct cdrom_device_info *cdi) in cdrom_ioctl_disc_status()
2587 static int cdrom_ioctl_changer_nslots(struct cdrom_device_info *cdi) in cdrom_ioctl_changer_nslots()
2593 static int cdrom_ioctl_get_subchnl(struct cdrom_device_info *cdi, in cdrom_ioctl_get_subchnl()
2624 static int cdrom_ioctl_read_tochdr(struct cdrom_device_info *cdi, in cdrom_ioctl_read_tochdr()
2645 int cdrom_read_tocentry(struct cdrom_device_info *cdi, in cdrom_read_tocentry()
2664 static int cdrom_ioctl_read_tocentry(struct cdrom_device_info *cdi, in cdrom_ioctl_read_tocentry()
2678 static int cdrom_ioctl_play_msf(struct cdrom_device_info *cdi, in cdrom_ioctl_play_msf()
2692 static int cdrom_ioctl_play_trkind(struct cdrom_device_info *cdi, in cdrom_ioctl_play_trkind()
2710 static int cdrom_ioctl_volctrl(struct cdrom_device_info *cdi, in cdrom_ioctl_volctrl()
2724 static int cdrom_ioctl_volread(struct cdrom_device_info *cdi, in cdrom_ioctl_volread()
2744 static int cdrom_ioctl_audioctl(struct cdrom_device_info *cdi, in cdrom_ioctl_audioctl()
2763 static int cdrom_switch_blocksize(struct cdrom_device_info *cdi, int size) in cdrom_switch_blocksize()
2788 static int cdrom_get_track_info(struct cdrom_device_info *cdi, in cdrom_get_track_info()
2824 int cdrom_get_last_written(struct cdrom_device_info *cdi, long *last_written) in cdrom_get_last_written()
2890 static int cdrom_get_next_writable(struct cdrom_device_info *cdi, in cdrom_get_next_writable()
2940 static noinline int mmc_ioctl_cdrom_read_data(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_read_data()
3001 static noinline int mmc_ioctl_cdrom_read_audio(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_read_audio()
3049 static noinline int mmc_ioctl_cdrom_subchannel(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_subchannel()
3074 static noinline int mmc_ioctl_cdrom_play_msf(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_play_msf()
3094 static noinline int mmc_ioctl_cdrom_play_blk(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_play_blk()
3114 static noinline int mmc_ioctl_cdrom_volume(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_volume()
3189 static noinline int mmc_ioctl_cdrom_start_stop(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_start_stop()
3202 static noinline int mmc_ioctl_cdrom_pause_resume(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_pause_resume()
3214 static noinline int mmc_ioctl_dvd_read_struct(struct cdrom_device_info *cdi, in mmc_ioctl_dvd_read_struct()
3242 static noinline int mmc_ioctl_dvd_auth(struct cdrom_device_info *cdi, in mmc_ioctl_dvd_auth()
3260 static noinline int mmc_ioctl_cdrom_next_writable(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_next_writable()
3274 static noinline int mmc_ioctl_cdrom_last_written(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_last_written()
3289 static int mmc_ioctl(struct cdrom_device_info *cdi, unsigned int cmd, in mmc_ioctl()
3339 int cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev, in cdrom_ioctl()
3451 struct cdrom_device_info *cdi; in cdrom_print_info() local
3579 struct cdrom_device_info *cdi; in cdrom_update_settings() local