Lines Matching defs:drive
77 ide_drive_t *drive = cd->drive; in ide_cd_put() local
90 static void cdrom_saw_media_change(ide_drive_t *drive) in cdrom_saw_media_change()
96 static int cdrom_log_sense(ide_drive_t *drive, struct request *rq) in cdrom_log_sense()
143 static void cdrom_analyze_sense_data(ide_drive_t *drive, in cdrom_analyze_sense_data()
210 static void ide_cd_complete_failed_rq(ide_drive_t *drive, struct request *rq) in ide_cd_complete_failed_rq()
247 static int ide_cd_breathe(ide_drive_t *drive, struct request *rq) in ide_cd_breathe()
274 static int cdrom_decode_status(ide_drive_t *drive, u8 stat) in cdrom_decode_status()
407 static void ide_cd_request_sense_fixup(ide_drive_t *drive, struct ide_cmd *cmd) in ide_cd_request_sense_fixup()
422 int ide_cd_queue_pc(ide_drive_t *drive, const unsigned char *cmd, in ide_cd_queue_pc()
506 static bool ide_cd_error_cmd(ide_drive_t *drive, struct ide_cmd *cmd) in ide_cd_error_cmd()
521 static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive) in cdrom_newpc_intr()
701 static ide_startstop_t cdrom_start_rw(ide_drive_t *drive, struct request *rq) in cdrom_start_rw()
741 static void cdrom_do_block_pc(ide_drive_t *drive, struct request *rq) in cdrom_do_block_pc()
776 static ide_startstop_t ide_cd_do_request(ide_drive_t *drive, struct request *rq, in ide_cd_do_request()
853 int cdrom_check_status(ide_drive_t *drive, struct request_sense *sense) in cdrom_check_status()
873 static int cdrom_read_capacity(ide_drive_t *drive, unsigned long *capacity, in cdrom_read_capacity()
927 static int cdrom_read_tocentry(ide_drive_t *drive, int trackno, int msf_flag, in cdrom_read_tocentry()
950 int ide_cd_read_toc(ide_drive_t *drive, struct request_sense *sense) in ide_cd_read_toc()
1118 int ide_cdrom_get_capabilities(ide_drive_t *drive, u8 *buf) in ide_cdrom_get_capabilities()
1140 void ide_cdrom_update_speed(ide_drive_t *drive, u8 *buf) in ide_cdrom_update_speed()
1185 static int ide_cdrom_register(ide_drive_t *drive, int nslots) in ide_cdrom_register()
1205 static int ide_cdrom_probe_capabilities(ide_drive_t *drive) in ide_cdrom_probe_capabilities()
1391 static sector_t ide_cdrom_capacity(ide_drive_t *drive) in ide_cdrom_capacity()
1403 ide_drive_t *drive = m->private; in idecd_capacity_proc_show() local
1427 static ide_proc_entry_t *ide_cd_proc_entries(ide_drive_t *drive) in ide_cd_proc_entries()
1432 static const struct ide_proc_devset *ide_cd_proc_devsets(ide_drive_t *drive) in ide_cd_proc_devsets()
1495 static int ide_cdrom_setup(ide_drive_t *drive) in ide_cdrom_setup()
1539 static void ide_cd_remove(ide_drive_t *drive) in ide_cd_remove()
1558 ide_drive_t *drive = info->drive; in ide_cd_release() local
1728 static int ide_cd_probe(ide_drive_t *drive) in ide_cd_probe()