Home
last modified time | relevance | path

Searched refs:PM_SUSPEND_ON (Results 1 – 18 of 18) sorted by relevance

/Linux-v6.1/kernel/power/
Dautosleep.c42 if (autosleep_state == PM_SUSPEND_ON) { in try_to_suspend()
71 if (autosleep_state > PM_SUSPEND_ON) in queue_up_suspend_work()
106 if (state > PM_SUSPEND_ON) { in pm_autosleep_set_state()
Dmain.c169 return PM_SUSPEND_ON; in decode_suspend_state()
182 if (pm_autosleep_state() > PM_SUSPEND_ON) { in mem_sleep_store()
188 if (state < PM_SUSPEND_MAX && state > PM_SUSPEND_ON) in mem_sleep_store()
616 return PM_SUSPEND_ON; in decode_state()
629 if (pm_autosleep_state() > PM_SUSPEND_ON) { in state_store()
703 if (pm_autosleep_state() > PM_SUSPEND_ON) { in wakeup_count_store()
730 if (state == PM_SUSPEND_ON) in autosleep_show()
752 if (state == PM_SUSPEND_ON in autosleep_store()
Dpower.h197 #define mem_sleep_current PM_SUSPEND_ON
304 static inline suspend_state_t pm_autosleep_state(void) { return PM_SUSPEND_ON; } in pm_autosleep_state()
Dsuspend.c524 pm_suspend_target_state = PM_SUSPEND_ON; in suspend_devices_and_enter()
615 if (state <= PM_SUSPEND_ON || state >= PM_SUSPEND_MAX) in pm_suspend()
/Linux-v6.1/drivers/soc/tegra/
Dregulators-tegra20.c170 PM_SUSPEND_ON); in tegra20_core_rtc_update()
224 PM_SUSPEND_ON); in tegra20_core_rtc_update()
244 PM_SUSPEND_ON); in tegra20_core_rtc_update()
285 PM_SUSPEND_ON); in tegra20_cpu_voltage_update()
290 &cpu_max_uV, PM_SUSPEND_ON); in tegra20_cpu_voltage_update()
326 cpu_max_uV, PM_SUSPEND_ON); in tegra20_cpu_voltage_update()
331 cpu_max_uV, PM_SUSPEND_ON); in tegra20_cpu_voltage_update()
354 state != PM_SUSPEND_ON) { in tegra20_regulator_balance_voltage()
Dregulators-tegra30.c217 PM_SUSPEND_ON); in tegra30_voltage_update()
233 PM_SUSPEND_ON); in tegra30_voltage_update()
238 &cpu_max_uV, PM_SUSPEND_ON); in tegra30_voltage_update()
306 PM_SUSPEND_ON); in tegra30_voltage_update()
331 PM_SUSPEND_ON); in tegra30_voltage_update()
349 if ((core_rdev != rdev && cpu_rdev != rdev) || state != PM_SUSPEND_ON) { in tegra30_regulator_balance_voltage()
/Linux-v6.1/drivers/regulator/
Dvctrl-regulator.c114 PM_SUSPEND_ON); in vctrl_set_voltage()
132 PM_SUSPEND_ON); in vctrl_set_voltage()
147 PM_SUSPEND_ON); in vctrl_set_voltage()
177 PM_SUSPEND_ON); in vctrl_set_voltage_sel()
193 PM_SUSPEND_ON); in vctrl_set_voltage_sel()
216 PM_SUSPEND_ON)) in vctrl_set_voltage_sel()
Dmcp16502.c335 case PM_SUSPEND_ON: in mcp16502_suspend_get_target_reg()
372 case PM_SUSPEND_ON: in mcp16502_set_suspend_mode()
Dcore.c1848 &regulator->voltage[PM_SUSPEND_ON].min_uV); in create_regulator()
1850 &regulator->voltage[PM_SUSPEND_ON].max_uV); in create_regulator()
2812 ret = regulator_balance_voltage(rdev, PM_SUSPEND_ON); in _regulator_enable()
2959 ret = regulator_balance_voltage(rdev, PM_SUSPEND_ON); in _regulator_disable()
3039 regulator_balance_voltage(rdev, PM_SUSPEND_ON); in regulator_force_disable()
3093 regulator_balance_voltage(rdev, PM_SUSPEND_ON); in regulator_disable_work()
3767 if (state == PM_SUSPEND_ON) in regulator_set_voltage_rdev()
3933 if (state == PM_SUSPEND_ON) { in regulator_get_optimal_voltage()
4057 if (state != PM_SUSPEND_ON) in regulator_balance_voltage()
4098 PM_SUSPEND_ON); in regulator_set_voltage()
[all …]
Dof_regulator.c260 case PM_SUSPEND_ON: in of_get_regulation_constraints()
/Linux-v6.1/arch/mips/loongson64/
Dpm.c83 case PM_SUSPEND_ON: in loongson_pm_valid_state()
/Linux-v6.1/arch/mips/loongson2ef/common/
Dpm.c137 case PM_SUSPEND_ON: in loongson_pm_valid_state()
/Linux-v6.1/drivers/acpi/
Dsleep.c544 [PM_SUSPEND_ON] = ACPI_STATE_S0,
653 case PM_SUSPEND_ON: in acpi_suspend_state_valid()
/Linux-v6.1/include/linux/
Dsuspend.h36 #define PM_SUSPEND_ON ((__force suspend_state_t) 0) macro
/Linux-v6.1/arch/powerpc/platforms/52xx/
Dlite5200_pm.c236 lite5200_pm_target_state = PM_SUSPEND_ON; in lite5200_pm_end()
/Linux-v6.1/drivers/base/power/
Dwakeup.c24 #define pm_suspend_target_state (PM_SUSPEND_ON)
345 if (pm_suspend_target_state != PM_SUSPEND_ON) in device_wakeup_enable()
/Linux-v6.1/arch/arm/mach-imx/
Dpm-imx5.c244 return (state > PM_SUSPEND_ON && state <= PM_SUSPEND_MAX); in mx5_pm_valid()
/Linux-v6.1/arch/arm/mach-at91/
Dpm.c174 case PM_SUSPEND_ON: in at91_pm_valid_state()
671 case PM_SUSPEND_ON: in at91_pm_enter()