Searched refs:d_max_in (Results 1 – 2 of 2) sorted by relevance
789 int acpi_pm_device_sleep_state(struct device *dev, int *d_min_p, int d_max_in) in acpi_pm_device_sleep_state() argument794 if (d_max_in < ACPI_STATE_D0 || d_max_in > ACPI_STATE_D3_COLD) in acpi_pm_device_sleep_state()797 if (d_max_in > ACPI_STATE_D2) { in acpi_pm_device_sleep_state()802 d_max_in = ACPI_STATE_D2; in acpi_pm_device_sleep_state()816 if (d_max_in < d_min) in acpi_pm_device_sleep_state()819 if (d_max > d_max_in) { in acpi_pm_device_sleep_state()820 for (d_max = d_max_in; d_max > d_min; d_max--) { in acpi_pm_device_sleep_state()
849 int d_max_in = ACPI_STATE_D3_COLD; in ata_acpi_choose_suspend_state() local859 d_max_in = ACPI_STATE_D3_HOT; in ata_acpi_choose_suspend_state()862 return acpi_pm_device_sleep_state(&dev->tdev, NULL, d_max_in); in ata_acpi_choose_suspend_state()