Lines Matching defs:drive
79 ide_drive_t *drive = cd->drive; in ide_cd_put() local
92 static void cdrom_saw_media_change(ide_drive_t *drive) in cdrom_saw_media_change()
98 static int cdrom_log_sense(ide_drive_t *drive, struct request *rq, in cdrom_log_sense()
146 static void cdrom_analyze_sense_data(ide_drive_t *drive, in cdrom_analyze_sense_data()
214 static void cdrom_queue_request_sense(ide_drive_t *drive, void *sense, in cdrom_queue_request_sense()
248 static void cdrom_end_request(ide_drive_t *drive, int uptodate) in cdrom_end_request()
302 static void ide_dump_status_no_sense(ide_drive_t *drive, const char *msg, u8 st) in ide_dump_status_no_sense()
314 static int cdrom_decode_status(ide_drive_t *drive, int good_stat, int *stat_ret) in cdrom_decode_status()
526 static int ide_cd_check_ireason(ide_drive_t *drive, struct request *rq, in ide_cd_check_ireason()
571 static int ide_cd_check_transfer_size(ide_drive_t *drive, int len) in ide_cd_check_transfer_size()
592 static ide_startstop_t ide_cd_prepare_rw_request(ide_drive_t *drive, in ide_cd_prepare_rw_request()
637 static void ide_cd_restore_request(ide_drive_t *drive, struct request *rq) in ide_cd_restore_request()
657 static void ide_cd_request_sense_fixup(ide_drive_t *drive, struct request *rq) in ide_cd_request_sense_fixup()
674 int ide_cd_queue_pc(ide_drive_t *drive, const unsigned char *cmd, in ide_cd_queue_pc()
761 static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive) in cdrom_newpc_intr()
982 static ide_startstop_t cdrom_start_rw(ide_drive_t *drive, struct request *rq) in cdrom_start_rw()
1024 static void cdrom_do_block_pc(ide_drive_t *drive, struct request *rq) in cdrom_do_block_pc()
1065 static ide_startstop_t ide_cd_do_request(ide_drive_t *drive, struct request *rq, in ide_cd_do_request()
1114 int cdrom_check_status(ide_drive_t *drive, struct request_sense *sense) in cdrom_check_status()
1134 static int cdrom_read_capacity(ide_drive_t *drive, unsigned long *capacity, in cdrom_read_capacity()
1186 static int cdrom_read_tocentry(ide_drive_t *drive, int trackno, int msf_flag, in cdrom_read_tocentry()
1209 int ide_cd_read_toc(ide_drive_t *drive, struct request_sense *sense) in ide_cd_read_toc()
1377 int ide_cdrom_get_capabilities(ide_drive_t *drive, u8 *buf) in ide_cdrom_get_capabilities()
1399 void ide_cdrom_update_speed(ide_drive_t *drive, u8 *buf) in ide_cdrom_update_speed()
1444 static int ide_cdrom_register(ide_drive_t *drive, int nslots) in ide_cdrom_register()
1464 static int ide_cdrom_probe_capabilities(ide_drive_t *drive) in ide_cdrom_probe_capabilities()
1651 static sector_t ide_cdrom_capacity(ide_drive_t *drive) in ide_cdrom_capacity()
1664 ide_drive_t *drive = data; in proc_idecd_read_capacity() local
1676 static ide_proc_entry_t *ide_cd_proc_entries(ide_drive_t *drive) in ide_cd_proc_entries()
1681 static const struct ide_proc_devset *ide_cd_proc_devsets(ide_drive_t *drive) in ide_cd_proc_devsets()
1747 static int ide_cdrom_setup(ide_drive_t *drive) in ide_cdrom_setup()
1794 static void ide_cd_remove(ide_drive_t *drive) in ide_cd_remove()
1813 ide_drive_t *drive = info->drive; in ide_cd_release() local
1969 static int ide_cd_probe(ide_drive_t *drive) in ide_cd_probe()