Home
last modified time | relevance | path

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

/drivers/acpi/
Ddevice_pm.c688 int acpi_pm_device_sleep_state(struct device *dev, int *d_min_p, int d_max_in) in acpi_pm_device_sleep_state() argument
693 if (d_max_in < ACPI_STATE_D0 || d_max_in > ACPI_STATE_D3_COLD) in acpi_pm_device_sleep_state()
696 if (d_max_in > ACPI_STATE_D2) { in acpi_pm_device_sleep_state()
701 d_max_in = ACPI_STATE_D2; in acpi_pm_device_sleep_state()
715 if (d_max_in < d_min) in acpi_pm_device_sleep_state()
718 if (d_max > d_max_in) { in acpi_pm_device_sleep_state()
719 for (d_max = d_max_in; d_max > d_min; d_max--) { in acpi_pm_device_sleep_state()
/drivers/ata/
Dlibata-acpi.c881 int d_max_in = ACPI_STATE_D3_COLD; in ata_acpi_choose_suspend_state() local
891 d_max_in = ACPI_STATE_D3_HOT; in ata_acpi_choose_suspend_state()
894 return acpi_pm_device_sleep_state(&dev->tdev, NULL, d_max_in); in ata_acpi_choose_suspend_state()