Lines Matching refs:DRIVER
351 return DRIVER(drive)->capacity(drive); in current_capacity()
485 if (DRIVER(drive)->revalidate) in ide_revalidate_disk()
486 DRIVER(drive)->revalidate(drive); in ide_revalidate_disk()
593 return DRIVER(drive)->open(inode, filp, drive); in ide_open()
609 DRIVER(drive)->release(inode, file, drive); in ide_release()
700 if (drive != our_drive && DRIVER(drive)->shutdown(drive)) in ide_prepare_tristate()
707 i = DRIVER(our_drive)->shutdown(our_drive); in ide_prepare_tristate()
721 DRIVER(drive)->cleanup(drive); in ide_prepare_tristate()
855 if (DRIVER(drive)->shutdown(drive)) in ide_unregister()
868 DRIVER(drive)->cleanup(drive); in ide_unregister()
1527 if (!DRIVER(drive)->supports_dma) in set_using_dma()
1579 if (DRIVER(drive)->cleanup(drive)) { in ide_atapi_to_scsi()
1643 if (DRIVER(drive)->cleanup(drive)) in ide_replace_subdriver()
1649 if (!strcmp(DRIVER(drive)->name, driver)) in ide_replace_subdriver()
1878 if (drive->dsc_overlap && !DRIVER(drive)->supports_dsc_overlap) { in ide_ioctl()
1899 DRIVER(drive)->abort(drive, "drive reset"); in ide_ioctl()
1981 return DRIVER(drive)->ioctl(drive, inode, file, cmd, arg); in ide_ioctl()
1992 return DRIVER(drive)->media_change(drive); in ide_check_media_change()
2675 if (drive->usage || drive->busy || DRIVER(drive)->busy) { in default_shutdown()
2875 if (drive->usage || drive->busy || DRIVER(drive)->busy) { in ide_unregister_subdriver()
2881 ide_remove_proc_entries(drive->proc, DRIVER(drive)->proc); in ide_unregister_subdriver()
3014 if (DRIVER(drive)->standby(drive)) in ide_notify_reboot()
3017 DRIVER(drive)->cleanup(drive); in ide_notify_reboot()