Lines Matching defs:d_max_in
685 * @d_max_in: Deepest low-power state to take into consideration.
687 * if there's no 'struct acpi_device' for @dev, -EINVAL if @d_max_in is
692 int acpi_pm_device_sleep_state(struct device *dev, int *d_min_p, int d_max_in)
697 if (d_max_in < ACPI_STATE_D0 || d_max_in > ACPI_STATE_D3_COLD)
700 if (d_max_in > ACPI_STATE_D2) {
705 d_max_in = ACPI_STATE_D2;
719 if (d_max_in < d_min)
722 if (d_max > d_max_in) {
723 for (d_max = d_max_in; d_max > d_min; d_max--) {