Lines Matching refs:hwif
9 ide_hwif_t *hwif = drive->hwif; in generic_ide_suspend() local
14 if (ide_port_acpi(hwif)) { in generic_ide_suspend()
17 ide_acpi_get_timing(hwif); in generic_ide_suspend()
32 if (ret == 0 && ide_port_acpi(hwif)) { in generic_ide_suspend()
35 ide_acpi_set_state(hwif, 0); in generic_ide_suspend()
75 ide_hwif_t *hwif = drive->hwif; in generic_ide_resume() local
80 if (ide_port_acpi(hwif)) { in generic_ide_resume()
83 ide_acpi_set_state(hwif, 1); in generic_ide_resume()
84 ide_acpi_push_timing(hwif); in generic_ide_resume()
183 if (drive->hwif->dma_ops == NULL) in ide_start_power_step()
233 drive->hwif->rq = NULL; in ide_complete_pm_rq()
257 ide_hwif_t *hwif = drive->hwif; in ide_check_pm_state() local
258 const struct ide_tp_ops *tp_ops = hwif->tp_ops; in ide_check_pm_state()
265 rc = ide_wait_not_busy(hwif, 35000); in ide_check_pm_state()
269 tp_ops->write_devctl(hwif, ATA_DEVCTL_OBS); in ide_check_pm_state()
270 rc = ide_wait_not_busy(hwif, 100000); in ide_check_pm_state()