Lines Matching refs:d_max
661 int d_min, d_max; in acpi_dev_pm_get_state() local
673 d_max = ACPI_STATE_D3_COLD; in acpi_dev_pm_get_state()
744 d_max = d_min; in acpi_dev_pm_get_state()
750 d_max = ret > d_min ? ret : d_min; in acpi_dev_pm_get_state()
760 *d_max_p = d_max; in acpi_dev_pm_get_state()
779 int ret, d_min, d_max; in acpi_pm_device_sleep_state() local
799 &d_min, &d_max); in acpi_pm_device_sleep_state()
806 if (d_max > d_max_in) { in acpi_pm_device_sleep_state()
807 for (d_max = d_max_in; d_max > d_min; d_max--) { in acpi_pm_device_sleep_state()
808 if (adev->power.states[d_max].flags.valid) in acpi_pm_device_sleep_state()
816 return d_max; in acpi_pm_device_sleep_state()