Home
last modified time | relevance | path

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

/drivers/acpi/acpica/
Dhwxfsleep.c60 static acpi_status acpi_hw_sleep_dispatch(u8 sleep_state, u32 function_id);
252 static acpi_status acpi_hw_sleep_dispatch(u8 sleep_state, u32 function_id) in ACPI_EXPORT_SYMBOL()
267 status = sleep_functions->extended_function(sleep_state); in ACPI_EXPORT_SYMBOL()
271 status = sleep_functions->legacy_function(sleep_state); in ACPI_EXPORT_SYMBOL()
281 status = sleep_functions->extended_function(sleep_state); in ACPI_EXPORT_SYMBOL()
302 acpi_status acpi_enter_sleep_state_prep(u8 sleep_state) in acpi_enter_sleep_state_prep() argument
311 status = acpi_get_sleep_type_data(sleep_state, in acpi_enter_sleep_state_prep()
323 arg.integer.value = sleep_state; in acpi_enter_sleep_state_prep()
333 switch (sleep_state) { in acpi_enter_sleep_state_prep()
379 acpi_status acpi_enter_sleep_state(u8 sleep_state) in ACPI_EXPORT_SYMBOL()
[all …]
Ddbcmds.c72 static void acpi_db_do_one_sleep_state(u8 sleep_state);
145 u8 sleep_state; in acpi_db_sleep() local
165 sleep_state = (u8)strtoul(object_arg, NULL, 0); in acpi_db_sleep()
166 acpi_db_do_one_sleep_state(sleep_state); in acpi_db_sleep()
182 static void acpi_db_do_one_sleep_state(u8 sleep_state) in acpi_db_do_one_sleep_state() argument
190 if (sleep_state > ACPI_S_STATES_MAX) { in acpi_db_do_one_sleep_state()
192 sleep_state, ACPI_S_STATES_MAX); in acpi_db_do_one_sleep_state()
197 sleep_state, acpi_gbl_sleep_state_names[sleep_state]); in acpi_db_do_one_sleep_state()
202 acpi_get_sleep_type_data(sleep_state, &sleep_type_a, &sleep_type_b); in acpi_db_do_one_sleep_state()
205 acpi_gbl_sleep_state_names[sleep_state], in acpi_db_do_one_sleep_state()
[all …]
Dachware.h86 acpi_status acpi_hw_legacy_sleep(u8 sleep_state);
88 acpi_status acpi_hw_legacy_wake_prep(u8 sleep_state);
90 acpi_status acpi_hw_legacy_wake(u8 sleep_state);
97 acpi_status acpi_hw_extended_sleep(u8 sleep_state);
99 acpi_status acpi_hw_extended_wake_prep(u8 sleep_state);
101 acpi_status acpi_hw_extended_wake(u8 sleep_state);
Dhwsleep.c65 acpi_status acpi_hw_legacy_sleep(u8 sleep_state) in acpi_hw_legacy_sleep() argument
119 "Entering sleep state [S%u]\n", sleep_state)); in acpi_hw_legacy_sleep()
155 status = acpi_os_prepare_sleep(sleep_state, pm1a_control, in acpi_hw_legacy_sleep()
168 if (sleep_state > ACPI_STATE_S3) { in acpi_hw_legacy_sleep()
218 acpi_status acpi_hw_legacy_wake_prep(u8 sleep_state) in acpi_hw_legacy_wake_prep() argument
285 acpi_status acpi_hw_legacy_wake(u8 sleep_state) in acpi_hw_legacy_wake() argument
318 acpi_hw_execute_sleep_method(METHOD_PATHNAME__WAK, sleep_state); in acpi_hw_legacy_wake()
Dhwesleep.c103 acpi_status acpi_hw_extended_sleep(u8 sleep_state) in acpi_hw_extended_sleep() argument
132 status = acpi_os_prepare_extended_sleep(sleep_state, in acpi_hw_extended_sleep()
147 "Entering sleep state [S%u]\n", sleep_state)); in acpi_hw_extended_sleep()
185 acpi_status acpi_hw_extended_wake_prep(u8 sleep_state) in acpi_hw_extended_wake_prep() argument
220 acpi_status acpi_hw_extended_wake(u8 sleep_state) in acpi_hw_extended_wake() argument
231 acpi_hw_execute_sleep_method(METHOD_PATHNAME__WAK, sleep_state); in acpi_hw_extended_wake()
Dhwxface.c481 acpi_get_sleep_type_data(u8 sleep_state, u8 *sleep_type_a, u8 *sleep_type_b) in ACPI_EXPORT_SYMBOL()
491 if ((sleep_state > ACPI_S_STATES_MAX) || !sleep_type_a || !sleep_type_b) { in ACPI_EXPORT_SYMBOL()
506 info->relative_pathname = acpi_gbl_sleep_state_names[sleep_state]; in ACPI_EXPORT_SYMBOL()
/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()
/drivers/acpi/
Dwakeup.c30 void acpi_enable_wakeup_devices(u8 sleep_state) in acpi_enable_wakeup_devices() argument
39 || sleep_state > (u32) dev->wakeup.sleep_state in acpi_enable_wakeup_devices()
45 acpi_enable_wakeup_device_power(dev, sleep_state); in acpi_enable_wakeup_devices()
57 void acpi_disable_wakeup_devices(u8 sleep_state) in acpi_disable_wakeup_devices() argument
66 || sleep_state > (u32) dev->wakeup.sleep_state in acpi_disable_wakeup_devices()
Dsleep.h2 extern void acpi_enable_wakeup_devices(u8 sleep_state);
3 extern void acpi_disable_wakeup_devices(u8 sleep_state);
Dosl.c67 static int (*__acpi_os_prepare_sleep)(u8 sleep_state, u32 pm1a_ctrl,
69 static int (*__acpi_os_prepare_extended_sleep)(u8 sleep_state, u32 val_a,
1691 acpi_status acpi_os_prepare_sleep(u8 sleep_state, u32 pm1a_control, in acpi_os_prepare_sleep() argument
1696 rc = __acpi_os_prepare_sleep(sleep_state, in acpi_os_prepare_sleep()
1706 void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state, in acpi_os_set_prepare_sleep() argument
1712 acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state, u32 val_a, in acpi_os_prepare_extended_sleep() argument
1717 rc = __acpi_os_prepare_extended_sleep(sleep_state, in acpi_os_prepare_extended_sleep()
1727 void acpi_os_set_prepare_extended_sleep(int (*func)(u8 sleep_state, in acpi_os_set_prepare_extended_sleep() argument
Dscan.c817 wakeup->sleep_state = element->integer.value; in acpi_bus_extract_wakeup_device_power_package()
824 int sleep_state; in acpi_bus_extract_wakeup_device_power_package() local
827 &sleep_state); in acpi_bus_extract_wakeup_device_power_package()
834 if (sleep_state < wakeup->sleep_state) { in acpi_bus_extract_wakeup_device_power_package()
837 (int)wakeup->sleep_state, sleep_state); in acpi_bus_extract_wakeup_device_power_package()
838 wakeup->sleep_state = sleep_state; in acpi_bus_extract_wakeup_device_power_package()
866 if (wakeup->sleep_state == ACPI_STATE_S5) in acpi_wakeup_gpe_init()
867 wakeup->sleep_state = ACPI_STATE_S4; in acpi_wakeup_gpe_init()
Dpower.c507 int enable, int sleep_state, int dev_state) in acpi_device_sleep_wake() argument
527 in_arg[1].integer.value = sleep_state; in acpi_device_sleep_wake()
556 int acpi_enable_wakeup_device_power(struct acpi_device *dev, int sleep_state) in acpi_enable_wakeup_device_power() argument
593 err = acpi_device_sleep_wake(dev, 1, sleep_state, 3); in acpi_enable_wakeup_device_power()
Dproc.c39 (u32) dev->wakeup.sleep_state); in acpi_system_wakeup_device_seq_show()
Dsleep.c82 static bool acpi_sleep_state_supported(u8 sleep_state) in acpi_sleep_state_supported() argument
87 status = acpi_get_sleep_type_data(sleep_state, &type_a, &type_b); in acpi_sleep_state_supported()
Dinternal.h137 int enable, int sleep_state, int dev_state);
Ddevice_pm.c565 && adev->wakeup.sleep_state >= target_state; in acpi_dev_pm_get_state()
/drivers/base/
Dpinctrl.c68 dev->pins->sleep_state = pinctrl_lookup_state(dev->pins->p, in pinctrl_bind_pins()
70 if (IS_ERR(dev->pins->sleep_state)) in pinctrl_bind_pins()
/drivers/iio/accel/
Dbma180.c119 bool sleep_state; member
144 if (data->sleep_state) in bma180_get_data_reg()
215 data->sleep_state = state; in bma180_set_sleep_state()
235 if (data->sleep_state) in bma180_set_bw()
259 if (data->sleep_state) in bma180_set_scale()
/drivers/input/touchscreen/
Dcyttsp4_core.c1070 if (cd->sleep_state == SS_SLEEP_ON || cd->sleep_state == SS_SLEEPING) in cyttsp4_irq()
1479 if (cd->sleep_state == SS_SLEEP_ON) { in cyttsp4_core_sleep_()
1483 cd->sleep_state = SS_SLEEPING; in cyttsp4_core_sleep_()
1541 cd->sleep_state = ss; in cyttsp4_core_sleep_()
1637 if (cd->sleep_state == SS_SLEEP_ON) { in cyttsp4_startup_()
1638 cd->sleep_state = SS_SLEEP_OFF; in cyttsp4_startup_()
1748 if (cd->sleep_state == SS_SLEEP_OFF) { in cyttsp4_core_wake_()
1754 cd->sleep_state = SS_WAKING; in cyttsp4_core_wake_()
1787 cd->sleep_state = SS_SLEEP_OFF; in cyttsp4_core_wake_()
Dcyttsp4_core.h347 enum cyttsp4_sleep_state sleep_state; member
/drivers/base/power/
Dmain.c999 static pm_message_t resume_event(pm_message_t sleep_state) in resume_event() argument
1001 switch (sleep_state.event) { in resume_event()
/drivers/pinctrl/
Dcore.c1342 return pinctrl_pm_select_state(dev, dev->pins->sleep_state); in pinctrl_pm_select_sleep_state()
/drivers/net/wireless/ath/ath6kl/
Dwmi.h1333 __le32 sleep_state; member