Lines Matching defs:drive
78 ide_drive_t *drive = cd->drive; in ide_cd_put() local
91 static void cdrom_saw_media_change(ide_drive_t *drive) in cdrom_saw_media_change()
97 static int cdrom_log_sense(ide_drive_t *drive, struct request *rq) in cdrom_log_sense()
144 static void cdrom_analyze_sense_data(ide_drive_t *drive, in cdrom_analyze_sense_data()
211 static void ide_cd_complete_failed_rq(ide_drive_t *drive, struct request *rq) in ide_cd_complete_failed_rq()
245 static int ide_cd_breathe(ide_drive_t *drive, struct request *rq) in ide_cd_breathe()
267 static void ide_cd_free_sense(ide_drive_t *drive) in ide_cd_free_sense()
283 static int cdrom_decode_status(ide_drive_t *drive, u8 stat) in cdrom_decode_status()
416 static void ide_cd_request_sense_fixup(ide_drive_t *drive, struct ide_cmd *cmd) in ide_cd_request_sense_fixup()
431 int ide_cd_queue_pc(ide_drive_t *drive, const unsigned char *cmd, in ide_cd_queue_pc()
515 static bool ide_cd_error_cmd(ide_drive_t *drive, struct ide_cmd *cmd) in ide_cd_error_cmd()
594 static bool ide_cdrom_prep_rq(ide_drive_t *drive, struct request *rq) in ide_cdrom_prep_rq()
606 static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive) in cdrom_newpc_intr()
800 static ide_startstop_t cdrom_start_rw(ide_drive_t *drive, struct request *rq) in cdrom_start_rw()
840 static void cdrom_do_block_pc(ide_drive_t *drive, struct request *rq) in cdrom_do_block_pc()
875 static ide_startstop_t ide_cd_do_request(ide_drive_t *drive, struct request *rq, in ide_cd_do_request()
958 int cdrom_check_status(ide_drive_t *drive, struct scsi_sense_hdr *sshdr) in cdrom_check_status()
983 static int cdrom_read_capacity(ide_drive_t *drive, unsigned long *capacity, in cdrom_read_capacity()
1036 static int cdrom_read_tocentry(ide_drive_t *drive, int trackno, int msf_flag, in cdrom_read_tocentry()
1058 int ide_cd_read_toc(ide_drive_t *drive) in ide_cd_read_toc()
1224 int ide_cdrom_get_capabilities(ide_drive_t *drive, u8 *buf) in ide_cdrom_get_capabilities()
1246 void ide_cdrom_update_speed(ide_drive_t *drive, u8 *buf) in ide_cdrom_update_speed()
1291 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
1745 static int ide_cd_probe(ide_drive_t *drive) in ide_cd_probe()