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()
272 static int cdrom_decode_status(ide_drive_t *drive, u8 stat) in cdrom_decode_status()
405 static void ide_cd_request_sense_fixup(ide_drive_t *drive, struct ide_cmd *cmd) in ide_cd_request_sense_fixup()
420 int ide_cd_queue_pc(ide_drive_t *drive, const unsigned char *cmd, in ide_cd_queue_pc()
504 static bool ide_cd_error_cmd(ide_drive_t *drive, struct ide_cmd *cmd) in ide_cd_error_cmd()
519 static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive) in cdrom_newpc_intr()
711 static ide_startstop_t cdrom_start_rw(ide_drive_t *drive, struct request *rq) in cdrom_start_rw()
751 static void cdrom_do_block_pc(ide_drive_t *drive, struct request *rq) in cdrom_do_block_pc()
786 static ide_startstop_t ide_cd_do_request(ide_drive_t *drive, struct request *rq, in ide_cd_do_request()
869 int cdrom_check_status(ide_drive_t *drive, struct scsi_sense_hdr *sshdr) in cdrom_check_status()
894 static int cdrom_read_capacity(ide_drive_t *drive, unsigned long *capacity, in cdrom_read_capacity()
947 static int cdrom_read_tocentry(ide_drive_t *drive, int trackno, int msf_flag, in cdrom_read_tocentry()
969 int ide_cd_read_toc(ide_drive_t *drive) in ide_cd_read_toc()
1135 int ide_cdrom_get_capabilities(ide_drive_t *drive, u8 *buf) in ide_cdrom_get_capabilities()
1157 void ide_cdrom_update_speed(ide_drive_t *drive, u8 *buf) in ide_cdrom_update_speed()
1202 static int ide_cdrom_register(ide_drive_t *drive, int nslots) in ide_cdrom_register()
1222 static int ide_cdrom_probe_capabilities(ide_drive_t *drive) in ide_cdrom_probe_capabilities()
1409 static sector_t ide_cdrom_capacity(ide_drive_t *drive) in ide_cdrom_capacity()
1421 ide_drive_t *drive = m->private; in idecd_capacity_proc_show() local
1432 static ide_proc_entry_t *ide_cd_proc_entries(ide_drive_t *drive) in ide_cd_proc_entries()
1437 static const struct ide_proc_devset *ide_cd_proc_devsets(ide_drive_t *drive) in ide_cd_proc_devsets()
1500 static int ide_cdrom_setup(ide_drive_t *drive) in ide_cdrom_setup()
1544 static void ide_cd_remove(ide_drive_t *drive) in ide_cd_remove()
1563 ide_drive_t *drive = info->drive; in ide_cd_release() local
1732 static int ide_cd_probe(ide_drive_t *drive) in ide_cd_probe()