Searched refs:d_max_in (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | device_pm.c | 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) in acpi_pm_device_sleep_state() argument 697 if (d_max_in < ACPI_STATE_D0 || d_max_in > ACPI_STATE_D3_COLD) in acpi_pm_device_sleep_state() 700 if (d_max_in > ACPI_STATE_D2) { in acpi_pm_device_sleep_state() 705 d_max_in = ACPI_STATE_D2; in acpi_pm_device_sleep_state() 719 if (d_max_in < d_min) in acpi_pm_device_sleep_state() 722 if (d_max > d_max_in) { in acpi_pm_device_sleep_state() 723 for (d_max = d_max_in; d_ma in acpi_pm_device_sleep_state() [all...] |
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | device_pm.c | 782 * @d_max_in: Deepest low-power state to take into consideration. 784 * if there's no 'struct acpi_device' for @dev, -EINVAL if @d_max_in is 789 int acpi_pm_device_sleep_state(struct device *dev, int *d_min_p, int d_max_in) in acpi_pm_device_sleep_state() argument 794 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_ma in acpi_pm_device_sleep_state() [all...] |
/kernel/linux/linux-5.10/drivers/ata/ |
H A D | libata-acpi.c | 876 int d_max_in = ACPI_STATE_D3_COLD; in ata_acpi_choose_suspend_state() local 886 d_max_in = ACPI_STATE_D3_HOT; in ata_acpi_choose_suspend_state() 889 return acpi_pm_device_sleep_state(&dev->tdev, NULL, d_max_in); in ata_acpi_choose_suspend_state()
|
/kernel/linux/linux-6.6/drivers/ata/ |
H A D | libata-acpi.c | 849 int d_max_in = ACPI_STATE_D3_COLD; in ata_acpi_choose_suspend_state() local 859 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()
|
Completed in 5 milliseconds