Home
last modified time | relevance | path

Searched refs:sleep_state (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/acpi/acpica/
Dhwxfsleep.c202 acpi_status acpi_enter_sleep_state_prep(u8 sleep_state) in ACPI_EXPORT_SYMBOL()
211 status = acpi_get_sleep_type_data(sleep_state, in ACPI_EXPORT_SYMBOL()
230 arg.integer.value = sleep_state; in ACPI_EXPORT_SYMBOL()
240 switch (sleep_state) { in ACPI_EXPORT_SYMBOL()
286 acpi_status acpi_enter_sleep_state(u8 sleep_state) in ACPI_EXPORT_SYMBOL()
301 status = acpi_hw_legacy_sleep(sleep_state); in ACPI_EXPORT_SYMBOL()
304 status = acpi_hw_extended_sleep(sleep_state); in ACPI_EXPORT_SYMBOL()
324 acpi_status acpi_leave_sleep_state_prep(u8 sleep_state) in ACPI_EXPORT_SYMBOL()
332 status = acpi_hw_legacy_wake_prep(sleep_state); in ACPI_EXPORT_SYMBOL()
335 status = acpi_hw_extended_wake_prep(sleep_state); in ACPI_EXPORT_SYMBOL()
[all …]
Dhwesleep.c68 acpi_status acpi_hw_extended_sleep(u8 sleep_state) in acpi_hw_extended_sleep() argument
100 "Entering sleep state [S%u]\n", sleep_state)); in acpi_hw_extended_sleep()
107 if (sleep_state < ACPI_STATE_S4) { in acpi_hw_extended_sleep()
111 status = acpi_os_enter_sleep(sleep_state, sleep_control, 0); in acpi_hw_extended_sleep()
150 acpi_status acpi_hw_extended_wake_prep(u8 sleep_state) in acpi_hw_extended_wake_prep() argument
181 acpi_status acpi_hw_extended_wake(u8 sleep_state) in acpi_hw_extended_wake() argument
192 acpi_hw_execute_sleep_method(METHOD_PATHNAME__WAK, sleep_state); in acpi_hw_extended_wake()
Ddbcmds.c36 static void acpi_db_do_one_sleep_state(u8 sleep_state);
109 u8 sleep_state; in acpi_db_sleep() local
129 sleep_state = (u8)strtoul(object_arg, NULL, 0); in acpi_db_sleep()
130 acpi_db_do_one_sleep_state(sleep_state); in acpi_db_sleep()
146 static void acpi_db_do_one_sleep_state(u8 sleep_state) in acpi_db_do_one_sleep_state() argument
154 if (sleep_state > ACPI_S_STATES_MAX) { in acpi_db_do_one_sleep_state()
156 sleep_state, ACPI_S_STATES_MAX); in acpi_db_do_one_sleep_state()
161 sleep_state, acpi_gbl_sleep_state_names[sleep_state]); in acpi_db_do_one_sleep_state()
166 acpi_get_sleep_type_data(sleep_state, &sleep_type_a, &sleep_type_b); in acpi_db_do_one_sleep_state()
169 acpi_gbl_sleep_state_names[sleep_state], in acpi_db_do_one_sleep_state()
[all …]
Dhwsleep.c30 acpi_status acpi_hw_legacy_sleep(u8 sleep_state) in acpi_hw_legacy_sleep() argument
79 "Entering sleep state [S%u]\n", sleep_state)); in acpi_hw_legacy_sleep()
113 if (sleep_state < ACPI_STATE_S4) { in acpi_hw_legacy_sleep()
117 status = acpi_os_enter_sleep(sleep_state, pm1a_control, pm1b_control); in acpi_hw_legacy_sleep()
132 if (sleep_state > ACPI_STATE_S3) { in acpi_hw_legacy_sleep()
182 acpi_status acpi_hw_legacy_wake_prep(u8 sleep_state) in acpi_hw_legacy_wake_prep() argument
246 acpi_status acpi_hw_legacy_wake(u8 sleep_state) in acpi_hw_legacy_wake() argument
279 acpi_hw_execute_sleep_method(METHOD_PATHNAME__WAK, sleep_state); in acpi_hw_legacy_wake()
Dachware.h52 acpi_status acpi_hw_legacy_sleep(u8 sleep_state);
54 acpi_status acpi_hw_legacy_wake_prep(u8 sleep_state);
56 acpi_status acpi_hw_legacy_wake(u8 sleep_state);
63 acpi_status acpi_hw_extended_sleep(u8 sleep_state);
65 acpi_status acpi_hw_extended_wake_prep(u8 sleep_state);
67 acpi_status acpi_hw_extended_wake(u8 sleep_state);
Dhwxface.c335 acpi_get_sleep_type_data(u8 sleep_state, u8 *sleep_type_a, u8 *sleep_type_b) in ACPI_EXPORT_SYMBOL()
345 if ((sleep_state > ACPI_S_STATES_MAX) || !sleep_type_a || !sleep_type_b) { in ACPI_EXPORT_SYMBOL()
360 info->relative_pathname = acpi_gbl_sleep_state_names[sleep_state]; in ACPI_EXPORT_SYMBOL()
/kernel/linux/linux-5.10/drivers/xen/
Dacpi.c38 static int xen_acpi_notify_hypervisor_state(u8 sleep_state, in xen_acpi_notify_hypervisor_state() argument
50 .sleep_state = sleep_state, in xen_acpi_notify_hypervisor_state()
65 int xen_acpi_notify_hypervisor_sleep(u8 sleep_state, in xen_acpi_notify_hypervisor_sleep() argument
68 return xen_acpi_notify_hypervisor_state(sleep_state, pm1a_cnt, in xen_acpi_notify_hypervisor_sleep()
72 int xen_acpi_notify_hypervisor_extended_sleep(u8 sleep_state, in xen_acpi_notify_hypervisor_extended_sleep() argument
75 return xen_acpi_notify_hypervisor_state(sleep_state, val_a, in xen_acpi_notify_hypervisor_extended_sleep()
/kernel/linux/linux-5.10/drivers/acpi/
Dwakeup.c38 void acpi_enable_wakeup_devices(u8 sleep_state) in acpi_enable_wakeup_devices() argument
45 || sleep_state > (u32) dev->wakeup.sleep_state in acpi_enable_wakeup_devices()
51 acpi_enable_wakeup_device_power(dev, sleep_state); in acpi_enable_wakeup_devices()
63 void acpi_disable_wakeup_devices(u8 sleep_state) in acpi_disable_wakeup_devices() argument
70 || sleep_state > (u32) dev->wakeup.sleep_state in acpi_disable_wakeup_devices()
Dsleep.h3 extern void acpi_enable_wakeup_devices(u8 sleep_state);
4 extern void acpi_disable_wakeup_devices(u8 sleep_state);
Dosl.c57 static int (*__acpi_os_prepare_sleep)(u8 sleep_state, u32 pm1a_ctrl,
59 static int (*__acpi_os_prepare_extended_sleep)(u8 sleep_state, u32 val_a,
1806 acpi_status acpi_os_prepare_sleep(u8 sleep_state, u32 pm1a_control, in acpi_os_prepare_sleep() argument
1811 rc = __acpi_os_prepare_sleep(sleep_state, in acpi_os_prepare_sleep()
1821 void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state, in acpi_os_set_prepare_sleep() argument
1828 acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state, u32 val_a, in acpi_os_prepare_extended_sleep() argument
1833 rc = __acpi_os_prepare_extended_sleep(sleep_state, in acpi_os_prepare_extended_sleep()
1843 acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state, u32 val_a, in acpi_os_prepare_extended_sleep() argument
1850 void acpi_os_set_prepare_extended_sleep(int (*func)(u8 sleep_state, in acpi_os_set_prepare_extended_sleep() argument
1856 acpi_status acpi_os_enter_sleep(u8 sleep_state, in acpi_os_enter_sleep() argument
[all …]
Dscan.c850 wakeup->sleep_state = element->integer.value; in acpi_bus_extract_wakeup_device_power_package()
857 int sleep_state; in acpi_bus_extract_wakeup_device_power_package() local
860 &sleep_state); in acpi_bus_extract_wakeup_device_power_package()
867 if (sleep_state < wakeup->sleep_state) { in acpi_bus_extract_wakeup_device_power_package()
870 (int)wakeup->sleep_state, sleep_state); in acpi_bus_extract_wakeup_device_power_package()
871 wakeup->sleep_state = sleep_state; in acpi_bus_extract_wakeup_device_power_package()
897 if (wakeup->sleep_state == ACPI_STATE_S5) in acpi_wakeup_gpe_init()
898 wakeup->sleep_state = ACPI_STATE_S4; in acpi_wakeup_gpe_init()
Dpower.c648 int enable, int sleep_state, int dev_state) in acpi_device_sleep_wake() argument
668 in_arg[1].integer.value = sleep_state; in acpi_device_sleep_wake()
697 int acpi_enable_wakeup_device_power(struct acpi_device *dev, int sleep_state) in acpi_enable_wakeup_device_power() argument
734 err = acpi_device_sleep_wake(dev, 1, sleep_state, 3); in acpi_enable_wakeup_device_power()
Dproc.c35 (u32) dev->wakeup.sleep_state); in acpi_system_wakeup_device_seq_show()
Dinternal.h141 int enable, int sleep_state, int dev_state);
/kernel/linux/linux-5.10/arch/x86/kernel/
Dtboot.c276 static int tboot_sleep(u8 sleep_state, u32 pm1a_control, u32 pm1b_control) in tboot_sleep() argument
293 if (sleep_state >= ACPI_S_STATE_COUNT || in tboot_sleep()
294 acpi_shutdown_map[sleep_state] == -1) { in tboot_sleep()
295 pr_warn("unsupported sleep state 0x%x\n", sleep_state); in tboot_sleep()
299 tboot_shutdown(acpi_shutdown_map[sleep_state]); in tboot_sleep()
303 static int tboot_extended_sleep(u8 sleep_state, u32 val_a, u32 val_b) in tboot_extended_sleep() argument
/kernel/linux/linux-5.10/include/xen/
Dacpi.h78 int xen_acpi_notify_hypervisor_sleep(u8 sleep_state,
80 int xen_acpi_notify_hypervisor_extended_sleep(u8 sleep_state,
/kernel/linux/linux-5.10/drivers/base/
Dpinctrl.c70 dev->pins->sleep_state = pinctrl_lookup_state(dev->pins->p, in pinctrl_bind_pins()
72 if (IS_ERR(dev->pins->sleep_state)) in pinctrl_bind_pins()
/kernel/linux/linux-5.10/include/linux/pinctrl/
Ddevinfo.h35 struct pinctrl_state *sleep_state; member
/kernel/linux/linux-5.10/include/acpi/
Dacpixf.h853 acpi_get_sleep_type_data(u8 sleep_state,
858 acpi_enter_sleep_state_prep(u8 sleep_state))
859 ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_enter_sleep_state(u8 sleep_state))
864 acpi_leave_sleep_state_prep(u8 sleep_state))
865 ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_leave_sleep_state(u8 sleep_state))
Dacpi_bus.h319 u64 sleep_state; member
658 bool acpi_sleep_state_supported(u8 sleep_state);
660 static inline bool acpi_sleep_state_supported(u8 sleep_state) { return false; } in acpi_sleep_state_supported() argument
/kernel/linux/linux-5.10/include/linux/
Dtboot.h136 #define tboot_sleep(sleep_state, pm1a_control, pm1b_control) \ argument
Dacpi.h974 void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state,
977 acpi_status acpi_os_prepare_sleep(u8 sleep_state,
980 void acpi_os_set_prepare_extended_sleep(int (*func)(u8 sleep_state,
983 acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state,
/kernel/linux/linux-5.10/drivers/iio/accel/
Dbma180.c163 bool sleep_state; member
195 if (data->sleep_state) in bma180_get_data_reg()
266 data->sleep_state = state; in bma180_set_sleep_state()
286 if (data->sleep_state) in bma180_set_bw()
311 if (data->sleep_state) in bma180_set_scale()
/kernel/linux/linux-5.10/arch/x86/platform/olpc/
Dolpc-xo1-pm.c73 asmlinkage __visible int xo1_do_sleep(u8 sleep_state) in xo1_do_sleep() argument
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dcyttsp4_core.c1087 if (cd->sleep_state == SS_SLEEP_ON || cd->sleep_state == SS_SLEEPING) in cyttsp4_irq()
1496 if (cd->sleep_state == SS_SLEEP_ON) { in cyttsp4_core_sleep_()
1500 cd->sleep_state = SS_SLEEPING; in cyttsp4_core_sleep_()
1558 cd->sleep_state = ss; in cyttsp4_core_sleep_()
1654 if (cd->sleep_state == SS_SLEEP_ON) { in cyttsp4_startup_()
1655 cd->sleep_state = SS_SLEEP_OFF; in cyttsp4_startup_()
1765 if (cd->sleep_state == SS_SLEEP_OFF) { in cyttsp4_core_wake_()
1771 cd->sleep_state = SS_WAKING; in cyttsp4_core_wake_()
1804 cd->sleep_state = SS_SLEEP_OFF; in cyttsp4_core_wake_()

12