Home
last modified time | relevance | path

Searched refs:d_max_in (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/acpi/
Ddevice_pm.c598 int acpi_pm_device_sleep_state(struct device *dev, int *d_min_p, int d_max_in) in acpi_pm_device_sleep_state() argument
603 if (d_max_in < ACPI_STATE_D0 || d_max_in > ACPI_STATE_D3_COLD) in acpi_pm_device_sleep_state()
606 if (d_max_in > ACPI_STATE_D3_HOT) { in acpi_pm_device_sleep_state()
611 d_max_in = ACPI_STATE_D3_HOT; in acpi_pm_device_sleep_state()
625 if (d_max_in < d_min) in acpi_pm_device_sleep_state()
628 if (d_max > d_max_in) { in acpi_pm_device_sleep_state()
629 for (d_max = d_max_in; d_max > d_min; d_max--) { in acpi_pm_device_sleep_state()
/linux-4.1.27/drivers/ata/
Dlibata-acpi.c875 int d_max_in = ACPI_STATE_D3_COLD; in ata_acpi_choose_suspend_state() local
885 d_max_in = ACPI_STATE_D3_HOT; in ata_acpi_choose_suspend_state()
888 return acpi_pm_device_sleep_state(&dev->tdev, NULL, d_max_in); in ata_acpi_choose_suspend_state()