| /linux/drivers/acpi/acpica/ |
| H A D | hwxfsleep.c | 199 acpi_status acpi_enter_sleep_state_prep(u8 sleep_state) in ACPI_EXPORT_SYMBOL() 208 status = acpi_get_sleep_type_data(sleep_state, in ACPI_EXPORT_SYMBOL() 227 arg.integer.value = sleep_state; in ACPI_EXPORT_SYMBOL() 237 switch (sleep_state) { in ACPI_EXPORT_SYMBOL() 283 acpi_status acpi_enter_sleep_state(u8 sleep_state) in ACPI_EXPORT_SYMBOL() 298 status = acpi_hw_legacy_sleep(sleep_state); in ACPI_EXPORT_SYMBOL() 301 status = acpi_hw_extended_sleep(sleep_state); in ACPI_EXPORT_SYMBOL() 321 acpi_status acpi_leave_sleep_state_prep(u8 sleep_state) in ACPI_EXPORT_SYMBOL() 329 status = acpi_hw_legacy_wake_prep(sleep_state); in ACPI_EXPORT_SYMBOL() 332 status = acpi_hw_extended_wake_prep(sleep_state); in ACPI_EXPORT_SYMBOL() [all …]
|
| H A D | hwesleep.c | 68 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()
|
| H A D | dbcmds.c | 36 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 …]
|
| H A D | hwsleep.c | 30 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()
|
| H A D | achware.h | 52 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);
|
| H A D | hwxface.c | 335 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()
|
| /linux/drivers/xen/ |
| H A D | acpi.c | 39 static int xen_acpi_notify_hypervisor_state(u8 sleep_state, in xen_acpi_notify_hypervisor_state() argument 51 .sleep_state = sleep_state, in xen_acpi_notify_hypervisor_state() 66 int xen_acpi_notify_hypervisor_sleep(u8 sleep_state, in xen_acpi_notify_hypervisor_sleep() argument 69 return xen_acpi_notify_hypervisor_state(sleep_state, pm1a_cnt, in xen_acpi_notify_hypervisor_sleep() 73 int xen_acpi_notify_hypervisor_extended_sleep(u8 sleep_state, in xen_acpi_notify_hypervisor_extended_sleep() argument 76 return xen_acpi_notify_hypervisor_state(sleep_state, val_a, in xen_acpi_notify_hypervisor_extended_sleep()
|
| /linux/drivers/acpi/ |
| H A D | wakeup.c | 38 void acpi_enable_wakeup_devices(u8 sleep_state) in acpi_enable_wakeup_devices() argument 45 || sleep_state > 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 > dev->wakeup.sleep_state in acpi_disable_wakeup_devices()
|
| H A D | osl.c | 59 static int (*__acpi_os_prepare_sleep)(u8 sleep_state, u32 pm1a_ctrl, 61 static int (*__acpi_os_prepare_extended_sleep)(u8 sleep_state, u32 val_a, 1732 acpi_status acpi_os_prepare_sleep(u8 sleep_state, u32 pm1a_control, in acpi_os_prepare_sleep() argument 1738 rc = __acpi_os_prepare_sleep(sleep_state, in acpi_os_prepare_sleep() 1748 void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state, in acpi_os_set_prepare_sleep() argument 1755 acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state, u32 val_a, in acpi_os_prepare_extended_sleep() argument 1761 rc = __acpi_os_prepare_extended_sleep(sleep_state, in acpi_os_prepare_extended_sleep() 1771 acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state, u32 val_a, in acpi_os_prepare_extended_sleep() argument 1778 void acpi_os_set_prepare_extended_sleep(int (*func)(u8 sleep_state, in acpi_os_set_prepare_extended_sleep() argument 1784 acpi_status acpi_os_enter_sleep(u8 sleep_state, in acpi_os_enter_sleep() argument [all …]
|
| H A D | scan.c | 972 wakeup->sleep_state = element->integer.value; in acpi_bus_extract_wakeup_device_power_package() 979 int sleep_state; in acpi_bus_extract_wakeup_device_power_package() local 982 &sleep_state); in acpi_bus_extract_wakeup_device_power_package() 989 if (sleep_state < wakeup->sleep_state) { in acpi_bus_extract_wakeup_device_power_package() 992 (int)wakeup->sleep_state, sleep_state); in acpi_bus_extract_wakeup_device_power_package() 993 wakeup->sleep_state = sleep_state; in acpi_bus_extract_wakeup_device_power_package() 1016 if (match && wakeup->sleep_state == ACPI_STATE_S5) in acpi_wakeup_gpe_init() 1017 wakeup->sleep_state = ACPI_STATE_S4; in acpi_wakeup_gpe_init()
|
| H A D | power.c | 667 int enable, int sleep_state, int dev_state) in acpi_device_sleep_wake() argument 687 in_arg[1].integer.value = sleep_state; in acpi_device_sleep_wake() 716 int acpi_enable_wakeup_device_power(struct acpi_device *dev, int sleep_state) in acpi_enable_wakeup_device_power() argument 742 err = acpi_device_sleep_wake(dev, 1, sleep_state, 3); in acpi_enable_wakeup_device_power()
|
| H A D | proc.c | 35 dev->wakeup.sleep_state); in acpi_system_wakeup_device_seq_show()
|
| H A D | sleep.c | 87 bool acpi_sleep_state_supported(u8 sleep_state) in acpi_sleep_state_supported() argument 92 status = acpi_get_sleep_type_data(sleep_state, &type_a, &type_b); in acpi_sleep_state_supported()
|
| /linux/include/xen/ |
| H A D | acpi.h | 45 int xen_acpi_notify_hypervisor_sleep(u8 sleep_state, 47 int xen_acpi_notify_hypervisor_extended_sleep(u8 sleep_state,
|
| /linux/drivers/hv/ |
| H A D | mshv_common.c | 177 in->set_sleep_state_info.sleep_state = HV_SLEEP_STATE_S5; in hv_initialize_sleep_states() 232 in->sleep_state = HV_SLEEP_STATE_S5; in hv_machine_power_off()
|
| /linux/drivers/net/wwan/iosm/ |
| H A D | iosm_ipc_pcie.c | 237 enum ipc_pcie_sleep_state sleep_state = IPC_PCIE_D0L12; in ipc_pcie_read_bios_cfg() local 252 sleep_state = IPC_PCIE_D3L2; in ipc_pcie_read_bios_cfg() 257 return sleep_state; in ipc_pcie_read_bios_cfg()
|
| /linux/include/linux/ |
| H A D | tboot.h | 135 #define tboot_sleep(sleep_state, pm1a_control, pm1b_control) \ argument
|
| H A D | olpc-ec.h | 59 asmlinkage int xo1_do_sleep(u8 sleep_state);
|
| H A D | acpi.h | 1104 static inline bool acpi_sleep_state_supported(u8 sleep_state) in acpi_sleep_state_supported() argument 1141 void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state, 1144 acpi_status acpi_os_prepare_sleep(u8 sleep_state, 1147 void acpi_os_set_prepare_extended_sleep(int (*func)(u8 sleep_state, 1150 acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state,
|
| /linux/include/hyperv/ |
| H A D | hvhdk_mini.h | 209 u32 sleep_state; /* enum hv_sleep_state */ member 231 u32 sleep_state; /* enum hv_sleep_state */ member
|
| /linux/include/acpi/ |
| H A D | acpiosxf.h | 326 acpi_status acpi_os_enter_sleep(u8 sleep_state, u32 rega_value, u32 regb_value);
|
| /linux/include/xen/interface/ |
| H A D | platform.h | 271 uint32_t sleep_state; /* Which state to enter (Sn). */ member
|
| /linux/tools/power/acpi/os_specific/service_layers/ |
| H A D | osunixxf.c | 301 acpi_status acpi_os_enter_sleep(u8 sleep_state, u32 rega_value, u32 regb_value) in acpi_os_enter_sleep() argument
|
| /linux/drivers/pinctrl/ |
| H A D | core.c | 1670 return pinctrl_select_bound_state(dev, dev->pins->sleep_state); in pinctrl_pm_select_sleep_state()
|
| /linux/drivers/net/wireless/ath/ath6kl/ |
| H A D | wmi.h | 1333 __le32 sleep_state; member
|