Lines Matching refs:tdev
63 NULL : ACPI_HANDLE(&dev->tdev); in ata_dev_acpi_handle()
73 struct ata_device *tdev; in ata_acpi_detach_device() local
76 ata_for_each_dev(tdev, tlink, ALL) in ata_acpi_detach_device()
77 tdev->flags |= ATA_DFLAG_DETACH; in ata_acpi_detach_device()
188 acpi_preset_companion(&ap->tdev, host_companion, ap->port_no); in ata_acpi_bind_port()
193 adev = ACPI_COMPANION(&ap->tdev); in ata_acpi_bind_port()
209 struct acpi_device *port_companion = ACPI_COMPANION(&ap->tdev); in ata_acpi_bind_dev()
234 acpi_preset_companion(&dev->tdev, parent, adr); in ata_acpi_bind_dev()
235 adev = ACPI_COMPANION(&dev->tdev); in ata_acpi_bind_dev()
269 if (ACPI_HANDLE(&ap->tdev) && gtm) in ata_acpi_dissociate()
293 acpi_handle handle = ACPI_HANDLE(&ap->tdev); in ata_acpi_gtm()
368 status = acpi_evaluate_object(ACPI_HANDLE(&ap->tdev), "_STM", in ata_acpi_stm()
845 if (ACPI_HANDLE(&ap->tdev) && gtm) { in ata_acpi_on_resume()
890 return acpi_pm_device_sleep_state(&dev->tdev, NULL, d_max_in); in ata_acpi_choose_suspend_state()
927 port_handle = ACPI_HANDLE(&ap->tdev); in pata_acpi_set_state()