Lines Matching defs:cdi
345 static 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 cdrom_device_info *cdi) in register_cdrom()
644 void unregister_cdrom(struct cdrom_device_info *cdi) in unregister_cdrom()
659 int cdrom_get_media_event(struct cdrom_device_info *cdi, in cdrom_get_media_event()
686 static int cdrom_get_random_writable(struct cdrom_device_info *cdi, in cdrom_get_random_writable()
707 static int cdrom_has_defect_mgt(struct cdrom_device_info *cdi) in cdrom_has_defect_mgt()
732 static int cdrom_is_random_writable(struct cdrom_device_info *cdi, int *write) in cdrom_is_random_writable()
748 static int cdrom_media_erasable(struct cdrom_device_info *cdi) in cdrom_media_erasable()
763 static int cdrom_dvdram_open_write(struct cdrom_device_info *cdi) in cdrom_dvdram_open_write()
777 static int cdrom_mrw_open_write(struct cdrom_device_info *cdi) in cdrom_mrw_open_write()
815 static int mo_open_write(struct cdrom_device_info *cdi) in mo_open_write()
844 static int cdrom_ram_open_write(struct cdrom_device_info *cdi) in cdrom_ram_open_write()
861 static void cdrom_mmc3_profile(struct cdrom_device_info *cdi) in cdrom_mmc3_profile()
883 static int cdrom_is_dvd_rw(struct cdrom_device_info *cdi) in cdrom_is_dvd_rw()
897 static int cdrom_open_write(struct cdrom_device_info *cdi) in cdrom_open_write()
941 static void cdrom_dvd_rw_close_write(struct cdrom_device_info *cdi) in cdrom_dvd_rw_close_write()
978 static int cdrom_close_write(struct cdrom_device_info *cdi) in cdrom_close_write()
988 static void cdrom_count_tracks(struct cdrom_device_info *cdi, tracktype *tracks) in cdrom_count_tracks()
1035 int open_for_data(struct cdrom_device_info *cdi) in open_for_data()
1149 int cdrom_open(struct cdrom_device_info *cdi, struct block_device *bdev, 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, fmode_t mode) in cdrom_release()
1292 static int cdrom_read_mech_status(struct cdrom_device_info *cdi, in cdrom_read_mech_status()
1324 static int cdrom_slot_status(struct cdrom_device_info *cdi, int slot) in cdrom_slot_status()
1353 int cdrom_number_of_slots(struct cdrom_device_info *cdi) in cdrom_number_of_slots()
1376 static int cdrom_load_unload(struct cdrom_device_info *cdi, int slot) in cdrom_load_unload()
1403 static int cdrom_select_disc(struct cdrom_device_info *cdi, int slot) in cdrom_select_disc()
1474 static void cdrom_update_events(struct cdrom_device_info *cdi, in cdrom_update_events()
1484 unsigned int cdrom_check_events(struct cdrom_device_info *cdi, in cdrom_check_events()
1503 int media_changed(struct cdrom_device_info *cdi, int queue) in media_changed()
1531 int cdrom_media_changed(struct cdrom_device_info *cdi) in cdrom_media_changed()
1640 static int dvd_do_auth(struct cdrom_device_info *cdi, dvd_authinfo *ai) in dvd_do_auth()
1788 static int dvd_read_physical(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_physical()
1839 static int dvd_read_copyright(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_copyright()
1863 static int dvd_read_disckey(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_disckey()
1891 static int dvd_read_bca(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_bca()
1925 static int dvd_read_manufact(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_manufact()
1967 static int dvd_read_struct(struct cdrom_device_info *cdi, dvd_struct *s, in dvd_read_struct()
1993 int cdrom_mode_sense(struct cdrom_device_info *cdi, in cdrom_mode_sense()
2009 int cdrom_mode_select(struct cdrom_device_info *cdi, in cdrom_mode_select()
2024 static int cdrom_read_subchannel(struct cdrom_device_info *cdi, in cdrom_read_subchannel()
2061 static int cdrom_read_cd(struct cdrom_device_info *cdi, in cdrom_read_cd()
2081 static int cdrom_read_block(struct cdrom_device_info *cdi, in cdrom_read_block()
2113 static int cdrom_read_cdda_old(struct cdrom_device_info *cdi, __u8 __user *ubuf, in cdrom_read_cdda_old()
2159 static int cdrom_read_cdda_bpc(struct cdrom_device_info *cdi, __u8 __user *ubuf, in cdrom_read_cdda_bpc()
2231 static int cdrom_read_cdda(struct cdrom_device_info *cdi, __u8 __user *ubuf, in cdrom_read_cdda()
2270 static int cdrom_ioctl_multisession(struct cdrom_device_info *cdi, in cdrom_ioctl_multisession()
2303 static int cdrom_ioctl_eject(struct cdrom_device_info *cdi) in cdrom_ioctl_eject()
2320 static int cdrom_ioctl_closetray(struct cdrom_device_info *cdi) in cdrom_ioctl_closetray()
2329 static int cdrom_ioctl_eject_sw(struct cdrom_device_info *cdi, in cdrom_ioctl_eject_sw()
2345 static int cdrom_ioctl_media_changed(struct cdrom_device_info *cdi, in cdrom_ioctl_media_changed()
2374 static int cdrom_ioctl_set_options(struct cdrom_device_info *cdi, in cdrom_ioctl_set_options()
2402 static int cdrom_ioctl_clear_options(struct cdrom_device_info *cdi, in cdrom_ioctl_clear_options()
2411 static int cdrom_ioctl_select_speed(struct cdrom_device_info *cdi, in cdrom_ioctl_select_speed()
2421 static int cdrom_ioctl_select_disc(struct cdrom_device_info *cdi, in cdrom_ioctl_select_disc()
2446 static int cdrom_ioctl_reset(struct cdrom_device_info *cdi, in cdrom_ioctl_reset()
2459 static int cdrom_ioctl_lock_door(struct cdrom_device_info *cdi, in cdrom_ioctl_lock_door()
2478 static int cdrom_ioctl_debug(struct cdrom_device_info *cdi, in cdrom_ioctl_debug()
2489 static int cdrom_ioctl_get_capability(struct cdrom_device_info *cdi) in cdrom_ioctl_get_capability()
2501 static int cdrom_ioctl_get_mcn(struct cdrom_device_info *cdi, in cdrom_ioctl_get_mcn()
2521 static int cdrom_ioctl_drive_status(struct cdrom_device_info *cdi, in cdrom_ioctl_drive_status()
2553 static int cdrom_ioctl_disc_status(struct cdrom_device_info *cdi) in cdrom_ioctl_disc_status()
2583 static int cdrom_ioctl_changer_nslots(struct cdrom_device_info *cdi) in cdrom_ioctl_changer_nslots()
2589 static int cdrom_ioctl_get_subchnl(struct cdrom_device_info *cdi, in cdrom_ioctl_get_subchnl()
2620 static int cdrom_ioctl_read_tochdr(struct cdrom_device_info *cdi, in cdrom_ioctl_read_tochdr()
2641 static int cdrom_ioctl_read_tocentry(struct cdrom_device_info *cdi, in cdrom_ioctl_read_tocentry()
2669 static int cdrom_ioctl_play_msf(struct cdrom_device_info *cdi, in cdrom_ioctl_play_msf()
2683 static int cdrom_ioctl_play_trkind(struct cdrom_device_info *cdi, in cdrom_ioctl_play_trkind()
2701 static int cdrom_ioctl_volctrl(struct cdrom_device_info *cdi, in cdrom_ioctl_volctrl()
2715 static int cdrom_ioctl_volread(struct cdrom_device_info *cdi, in cdrom_ioctl_volread()
2735 static int cdrom_ioctl_audioctl(struct cdrom_device_info *cdi, in cdrom_ioctl_audioctl()
2754 static int cdrom_switch_blocksize(struct cdrom_device_info *cdi, int size) in cdrom_switch_blocksize()
2779 static int cdrom_get_track_info(struct cdrom_device_info *cdi, in cdrom_get_track_info()
2815 int cdrom_get_last_written(struct cdrom_device_info *cdi, long *last_written) in cdrom_get_last_written()
2877 static int cdrom_get_next_writable(struct cdrom_device_info *cdi, in cdrom_get_next_writable()
2927 static noinline int mmc_ioctl_cdrom_read_data(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_read_data()
2986 static noinline int mmc_ioctl_cdrom_read_audio(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_read_audio()
3012 static noinline int mmc_ioctl_cdrom_subchannel(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_subchannel()
3037 static noinline int mmc_ioctl_cdrom_play_msf(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_play_msf()
3057 static noinline int mmc_ioctl_cdrom_play_blk(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_play_blk()
3077 static noinline int mmc_ioctl_cdrom_volume(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_volume()
3152 static noinline int mmc_ioctl_cdrom_start_stop(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_start_stop()
3165 static noinline int mmc_ioctl_cdrom_pause_resume(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_pause_resume()
3177 static noinline int mmc_ioctl_dvd_read_struct(struct cdrom_device_info *cdi, in mmc_ioctl_dvd_read_struct()
3209 static noinline int mmc_ioctl_dvd_auth(struct cdrom_device_info *cdi, in mmc_ioctl_dvd_auth()
3227 static noinline int mmc_ioctl_cdrom_next_writable(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_next_writable()
3241 static noinline int mmc_ioctl_cdrom_last_written(struct cdrom_device_info *cdi, in mmc_ioctl_cdrom_last_written()
3255 static int mmc_ioctl(struct cdrom_device_info *cdi, unsigned int cmd, in mmc_ioctl()
3305 int cdrom_ioctl(struct cdrom_device_info *cdi, struct block_device *bdev, in cdrom_ioctl()
3434 struct cdrom_device_info *cdi; in cdrom_print_info() local
3562 struct cdrom_device_info *cdi; in cdrom_update_settings() local