Home
last modified time | relevance | path

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

/drivers/acpi/
Ddevice_pm.c615 int acpi_pm_device_sleep_state(struct device *dev, int *d_min_p, int d_max_in) in acpi_pm_device_sleep_state() argument
620 if (d_max_in < ACPI_STATE_D0 || d_max_in > ACPI_STATE_D3_COLD) in acpi_pm_device_sleep_state()
623 if (d_max_in > ACPI_STATE_D2) { in acpi_pm_device_sleep_state()
628 d_max_in = ACPI_STATE_D2; in acpi_pm_device_sleep_state()
642 if (d_max_in < d_min) in acpi_pm_device_sleep_state()
645 if (d_max > d_max_in) { in acpi_pm_device_sleep_state()
646 for (d_max = d_max_in; d_max > d_min; d_max--) { in acpi_pm_device_sleep_state()
/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()