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()
145 static void cdrom_analyze_sense_data(ide_drive_t *drive, in cdrom_analyze_sense_data()
212 static void ide_cd_complete_failed_rq(ide_drive_t *drive, struct request *rq) in ide_cd_complete_failed_rq()
246 static int ide_cd_breathe(ide_drive_t *drive, struct request *rq) in ide_cd_breathe()
268 static void ide_cd_free_sense(ide_drive_t *drive) in ide_cd_free_sense()
284 static int cdrom_decode_status(ide_drive_t *drive, u8 stat) in cdrom_decode_status()
417 static void ide_cd_request_sense_fixup(ide_drive_t *drive, struct ide_cmd *cmd) in ide_cd_request_sense_fixup()
432 int ide_cd_queue_pc(ide_drive_t *drive, const unsigned char *cmd, in ide_cd_queue_pc()
516 static bool ide_cd_error_cmd(ide_drive_t *drive, struct ide_cmd *cmd) in ide_cd_error_cmd()
595 static bool ide_cdrom_prep_rq(ide_drive_t *drive, struct request *rq) in ide_cdrom_prep_rq()
607 static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive) in cdrom_newpc_intr()
801 static ide_startstop_t cdrom_start_rw(ide_drive_t *drive, struct request *rq) in cdrom_start_rw()
841 static void cdrom_do_block_pc(ide_drive_t *drive, struct request *rq) in cdrom_do_block_pc()
876 static ide_startstop_t ide_cd_do_request(ide_drive_t *drive, struct request *rq, in ide_cd_do_request()
959 int cdrom_check_status(ide_drive_t *drive, struct scsi_sense_hdr *sshdr) in cdrom_check_status()
984 static int cdrom_read_capacity(ide_drive_t *drive, unsigned long *capacity, in cdrom_read_capacity()
1037 static int ide_cdrom_read_tocentry(ide_drive_t *drive, int trackno, in ide_cdrom_read_tocentry()
1059 int ide_cd_read_toc(ide_drive_t *drive) in ide_cd_read_toc()
1225 int ide_cdrom_get_capabilities(ide_drive_t *drive, u8 *buf) in ide_cdrom_get_capabilities()
1247 void ide_cdrom_update_speed(ide_drive_t *drive, u8 *buf) in ide_cdrom_update_speed()
1292 static int ide_cdrom_register(ide_drive_t *drive, int nslots) in ide_cdrom_register()
1311 static int ide_cdrom_probe_capabilities(ide_drive_t *drive) in ide_cdrom_probe_capabilities()
1422 static sector_t ide_cdrom_capacity(ide_drive_t *drive) in ide_cdrom_capacity()
1434 ide_drive_t *drive = m->private; in idecd_capacity_proc_show() local
1445 static ide_proc_entry_t *ide_cd_proc_entries(ide_drive_t *drive) in ide_cd_proc_entries()
1450 static const struct ide_proc_devset *ide_cd_proc_devsets(ide_drive_t *drive) in ide_cd_proc_devsets()
1513 static int ide_cdrom_setup(ide_drive_t *drive) in ide_cdrom_setup()
1557 static void ide_cd_remove(ide_drive_t *drive) in ide_cd_remove()
1576 ide_drive_t *drive = info->drive; in ide_cd_release() local
1776 static int ide_cd_probe(ide_drive_t *drive) in ide_cd_probe()