sleep_state 273 arch/x86/kernel/tboot.c static int tboot_sleep(u8 sleep_state, u32 pm1a_control, u32 pm1b_control) sleep_state 290 arch/x86/kernel/tboot.c if (sleep_state >= ACPI_S_STATE_COUNT || sleep_state 291 arch/x86/kernel/tboot.c acpi_shutdown_map[sleep_state] == -1) { sleep_state 292 arch/x86/kernel/tboot.c pr_warning("unsupported sleep state 0x%x\n", sleep_state); sleep_state 296 arch/x86/kernel/tboot.c tboot_shutdown(acpi_shutdown_map[sleep_state]); sleep_state 300 arch/x86/kernel/tboot.c static int tboot_extended_sleep(u8 sleep_state, u32 val_a, u32 val_b) sleep_state 74 arch/x86/platform/olpc/olpc-xo1-pm.c asmlinkage __visible int xo1_do_sleep(u8 sleep_state) sleep_state 52 drivers/acpi/acpica/achware.h acpi_status acpi_hw_legacy_sleep(u8 sleep_state); sleep_state 54 drivers/acpi/acpica/achware.h acpi_status acpi_hw_legacy_wake_prep(u8 sleep_state); sleep_state 56 drivers/acpi/acpica/achware.h acpi_status acpi_hw_legacy_wake(u8 sleep_state); sleep_state 63 drivers/acpi/acpica/achware.h acpi_status acpi_hw_extended_sleep(u8 sleep_state); sleep_state 65 drivers/acpi/acpica/achware.h acpi_status acpi_hw_extended_wake_prep(u8 sleep_state); sleep_state 67 drivers/acpi/acpica/achware.h acpi_status acpi_hw_extended_wake(u8 sleep_state); sleep_state 36 drivers/acpi/acpica/dbcmds.c static void acpi_db_do_one_sleep_state(u8 sleep_state); sleep_state 109 drivers/acpi/acpica/dbcmds.c u8 sleep_state; sleep_state 129 drivers/acpi/acpica/dbcmds.c sleep_state = (u8)strtoul(object_arg, NULL, 0); sleep_state 130 drivers/acpi/acpica/dbcmds.c acpi_db_do_one_sleep_state(sleep_state); sleep_state 146 drivers/acpi/acpica/dbcmds.c static void acpi_db_do_one_sleep_state(u8 sleep_state) sleep_state 154 drivers/acpi/acpica/dbcmds.c if (sleep_state > ACPI_S_STATES_MAX) { sleep_state 156 drivers/acpi/acpica/dbcmds.c sleep_state, ACPI_S_STATES_MAX); sleep_state 161 drivers/acpi/acpica/dbcmds.c sleep_state, acpi_gbl_sleep_state_names[sleep_state]); sleep_state 166 drivers/acpi/acpica/dbcmds.c acpi_get_sleep_type_data(sleep_state, &sleep_type_a, &sleep_type_b); sleep_state 169 drivers/acpi/acpica/dbcmds.c acpi_gbl_sleep_state_names[sleep_state], sleep_state 176 drivers/acpi/acpica/dbcmds.c sleep_state, sleep_type_a, sleep_type_b); sleep_state 181 drivers/acpi/acpica/dbcmds.c sleep_state); sleep_state 182 drivers/acpi/acpica/dbcmds.c status = acpi_enter_sleep_state_prep(sleep_state); sleep_state 187 drivers/acpi/acpica/dbcmds.c acpi_os_printf("**** Sleep: Going to sleep (S%d) ****\n", sleep_state); sleep_state 188 drivers/acpi/acpica/dbcmds.c status = acpi_enter_sleep_state(sleep_state); sleep_state 194 drivers/acpi/acpica/dbcmds.c sleep_state); sleep_state 195 drivers/acpi/acpica/dbcmds.c status = acpi_leave_sleep_state_prep(sleep_state); sleep_state 201 drivers/acpi/acpica/dbcmds.c sleep_state); sleep_state 202 drivers/acpi/acpica/dbcmds.c status = acpi_leave_sleep_state(sleep_state); sleep_state 211 drivers/acpi/acpica/dbcmds.c sleep_state)); sleep_state 68 drivers/acpi/acpica/hwesleep.c acpi_status acpi_hw_extended_sleep(u8 sleep_state) sleep_state 100 drivers/acpi/acpica/hwesleep.c "Entering sleep state [S%u]\n", sleep_state)); sleep_state 109 drivers/acpi/acpica/hwesleep.c status = acpi_os_enter_sleep(sleep_state, sleep_control, 0); sleep_state 148 drivers/acpi/acpica/hwesleep.c acpi_status acpi_hw_extended_wake_prep(u8 sleep_state) sleep_state 183 drivers/acpi/acpica/hwesleep.c acpi_status acpi_hw_extended_wake(u8 sleep_state) sleep_state 194 drivers/acpi/acpica/hwesleep.c acpi_hw_execute_sleep_method(METHOD_PATHNAME__WAK, sleep_state); sleep_state 30 drivers/acpi/acpica/hwsleep.c acpi_status acpi_hw_legacy_sleep(u8 sleep_state) sleep_state 79 drivers/acpi/acpica/hwsleep.c "Entering sleep state [S%u]\n", sleep_state)); sleep_state 115 drivers/acpi/acpica/hwsleep.c status = acpi_os_enter_sleep(sleep_state, pm1a_control, pm1b_control); sleep_state 130 drivers/acpi/acpica/hwsleep.c if (sleep_state > ACPI_STATE_S3) { sleep_state 180 drivers/acpi/acpica/hwsleep.c acpi_status acpi_hw_legacy_wake_prep(u8 sleep_state) sleep_state 247 drivers/acpi/acpica/hwsleep.c acpi_status acpi_hw_legacy_wake(u8 sleep_state) sleep_state 280 drivers/acpi/acpica/hwsleep.c acpi_hw_execute_sleep_method(METHOD_PATHNAME__WAK, sleep_state); sleep_state 335 drivers/acpi/acpica/hwxface.c acpi_get_sleep_type_data(u8 sleep_state, u8 *sleep_type_a, u8 *sleep_type_b) sleep_state 345 drivers/acpi/acpica/hwxface.c if ((sleep_state > ACPI_S_STATES_MAX) || !sleep_type_a || !sleep_type_b) { sleep_state 360 drivers/acpi/acpica/hwxface.c info->relative_pathname = acpi_gbl_sleep_state_names[sleep_state]; sleep_state 201 drivers/acpi/acpica/hwxfsleep.c acpi_status acpi_enter_sleep_state_prep(u8 sleep_state) sleep_state 210 drivers/acpi/acpica/hwxfsleep.c status = acpi_get_sleep_type_data(sleep_state, sleep_state 222 drivers/acpi/acpica/hwxfsleep.c arg.integer.value = sleep_state; sleep_state 232 drivers/acpi/acpica/hwxfsleep.c switch (sleep_state) { sleep_state 278 drivers/acpi/acpica/hwxfsleep.c acpi_status acpi_enter_sleep_state(u8 sleep_state) sleep_state 293 drivers/acpi/acpica/hwxfsleep.c status = acpi_hw_legacy_sleep(sleep_state); sleep_state 296 drivers/acpi/acpica/hwxfsleep.c status = acpi_hw_extended_sleep(sleep_state); sleep_state 316 drivers/acpi/acpica/hwxfsleep.c acpi_status acpi_leave_sleep_state_prep(u8 sleep_state) sleep_state 324 drivers/acpi/acpica/hwxfsleep.c status = acpi_hw_legacy_wake_prep(sleep_state); sleep_state 327 drivers/acpi/acpica/hwxfsleep.c status = acpi_hw_extended_wake_prep(sleep_state); sleep_state 345 drivers/acpi/acpica/hwxfsleep.c acpi_status acpi_leave_sleep_state(u8 sleep_state) sleep_state 353 drivers/acpi/acpica/hwxfsleep.c status = acpi_hw_legacy_wake(sleep_state); sleep_state 356 drivers/acpi/acpica/hwxfsleep.c status = acpi_hw_extended_wake(sleep_state); sleep_state 638 drivers/acpi/device_pm.c && adev->wakeup.sleep_state >= target_state; sleep_state 137 drivers/acpi/internal.h int enable, int sleep_state, int dev_state); sleep_state 57 drivers/acpi/osl.c static int (*__acpi_os_prepare_sleep)(u8 sleep_state, u32 pm1a_ctrl, sleep_state 59 drivers/acpi/osl.c static int (*__acpi_os_prepare_extended_sleep)(u8 sleep_state, u32 val_a, sleep_state 1776 drivers/acpi/osl.c acpi_status acpi_os_prepare_sleep(u8 sleep_state, u32 pm1a_control, sleep_state 1781 drivers/acpi/osl.c rc = __acpi_os_prepare_sleep(sleep_state, sleep_state 1791 drivers/acpi/osl.c void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state, sleep_state 1798 drivers/acpi/osl.c acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state, u32 val_a, sleep_state 1803 drivers/acpi/osl.c rc = __acpi_os_prepare_extended_sleep(sleep_state, sleep_state 1813 drivers/acpi/osl.c acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state, u32 val_a, sleep_state 1820 drivers/acpi/osl.c void acpi_os_set_prepare_extended_sleep(int (*func)(u8 sleep_state, sleep_state 1826 drivers/acpi/osl.c acpi_status acpi_os_enter_sleep(u8 sleep_state, sleep_state 1832 drivers/acpi/osl.c status = acpi_os_prepare_extended_sleep(sleep_state, sleep_state 1836 drivers/acpi/osl.c status = acpi_os_prepare_sleep(sleep_state, sleep_state 650 drivers/acpi/power.c int enable, int sleep_state, int dev_state) sleep_state 670 drivers/acpi/power.c in_arg[1].integer.value = sleep_state; sleep_state 699 drivers/acpi/power.c int acpi_enable_wakeup_device_power(struct acpi_device *dev, int sleep_state) sleep_state 736 drivers/acpi/power.c err = acpi_device_sleep_wake(dev, 1, sleep_state, 3); sleep_state 40 drivers/acpi/proc.c (u32) dev->wakeup.sleep_state); sleep_state 817 drivers/acpi/scan.c wakeup->sleep_state = element->integer.value; sleep_state 824 drivers/acpi/scan.c int sleep_state; sleep_state 827 drivers/acpi/scan.c &sleep_state); sleep_state 834 drivers/acpi/scan.c if (sleep_state < wakeup->sleep_state) { sleep_state 837 drivers/acpi/scan.c (int)wakeup->sleep_state, sleep_state); sleep_state 838 drivers/acpi/scan.c wakeup->sleep_state = sleep_state; sleep_state 864 drivers/acpi/scan.c if (wakeup->sleep_state == ACPI_STATE_S5) sleep_state 865 drivers/acpi/scan.c wakeup->sleep_state = ACPI_STATE_S4; sleep_state 80 drivers/acpi/sleep.c bool acpi_sleep_state_supported(u8 sleep_state) sleep_state 85 drivers/acpi/sleep.c status = acpi_get_sleep_type_data(sleep_state, &type_a, &type_b); sleep_state 3 drivers/acpi/sleep.h extern void acpi_enable_wakeup_devices(u8 sleep_state); sleep_state 4 drivers/acpi/sleep.h extern void acpi_disable_wakeup_devices(u8 sleep_state); sleep_state 40 drivers/acpi/wakeup.c void acpi_enable_wakeup_devices(u8 sleep_state) sleep_state 49 drivers/acpi/wakeup.c || sleep_state > (u32) dev->wakeup.sleep_state sleep_state 55 drivers/acpi/wakeup.c acpi_enable_wakeup_device_power(dev, sleep_state); sleep_state 67 drivers/acpi/wakeup.c void acpi_disable_wakeup_devices(u8 sleep_state) sleep_state 76 drivers/acpi/wakeup.c || sleep_state > (u32) dev->wakeup.sleep_state sleep_state 70 drivers/base/pinctrl.c dev->pins->sleep_state = pinctrl_lookup_state(dev->pins->p, sleep_state 72 drivers/base/pinctrl.c if (IS_ERR(dev->pins->sleep_state)) sleep_state 1214 drivers/base/power/main.c static pm_message_t resume_event(pm_message_t sleep_state) sleep_state 1216 drivers/base/power/main.c switch (sleep_state.event) { sleep_state 118 drivers/iio/accel/bma180.c bool sleep_state; sleep_state 143 drivers/iio/accel/bma180.c if (data->sleep_state) sleep_state 214 drivers/iio/accel/bma180.c data->sleep_state = state; sleep_state 234 drivers/iio/accel/bma180.c if (data->sleep_state) sleep_state 258 drivers/iio/accel/bma180.c if (data->sleep_state) sleep_state 1088 drivers/input/touchscreen/cyttsp4_core.c if (cd->sleep_state == SS_SLEEP_ON || cd->sleep_state == SS_SLEEPING) sleep_state 1497 drivers/input/touchscreen/cyttsp4_core.c if (cd->sleep_state == SS_SLEEP_ON) { sleep_state 1501 drivers/input/touchscreen/cyttsp4_core.c cd->sleep_state = SS_SLEEPING; sleep_state 1559 drivers/input/touchscreen/cyttsp4_core.c cd->sleep_state = ss; sleep_state 1655 drivers/input/touchscreen/cyttsp4_core.c if (cd->sleep_state == SS_SLEEP_ON) { sleep_state 1656 drivers/input/touchscreen/cyttsp4_core.c cd->sleep_state = SS_SLEEP_OFF; sleep_state 1766 drivers/input/touchscreen/cyttsp4_core.c if (cd->sleep_state == SS_SLEEP_OFF) { sleep_state 1772 drivers/input/touchscreen/cyttsp4_core.c cd->sleep_state = SS_WAKING; sleep_state 1805 drivers/input/touchscreen/cyttsp4_core.c cd->sleep_state = SS_SLEEP_OFF; sleep_state 337 drivers/input/touchscreen/cyttsp4_core.h enum cyttsp4_sleep_state sleep_state; sleep_state 1333 drivers/net/wireless/ath/ath6kl/wmi.h __le32 sleep_state; sleep_state 1582 drivers/pinctrl/core.c return pinctrl_pm_select_state(dev, dev->pins->sleep_state); sleep_state 38 drivers/xen/acpi.c static int xen_acpi_notify_hypervisor_state(u8 sleep_state, sleep_state 50 drivers/xen/acpi.c .sleep_state = sleep_state, sleep_state 65 drivers/xen/acpi.c int xen_acpi_notify_hypervisor_sleep(u8 sleep_state, sleep_state 68 drivers/xen/acpi.c return xen_acpi_notify_hypervisor_state(sleep_state, pm1a_cnt, sleep_state 72 drivers/xen/acpi.c int xen_acpi_notify_hypervisor_extended_sleep(u8 sleep_state, sleep_state 75 drivers/xen/acpi.c return xen_acpi_notify_hypervisor_state(sleep_state, val_a, sleep_state 317 include/acpi/acpi_bus.h u64 sleep_state; sleep_state 655 include/acpi/acpi_bus.h bool acpi_sleep_state_supported(u8 sleep_state); sleep_state 657 include/acpi/acpi_bus.h static inline bool acpi_sleep_state_supported(u8 sleep_state) { return false; } sleep_state 326 include/acpi/acpiosxf.h acpi_status acpi_os_enter_sleep(u8 sleep_state, u32 rega_value, u32 regb_value); sleep_state 849 include/acpi/acpixf.h acpi_get_sleep_type_data(u8 sleep_state, sleep_state 854 include/acpi/acpixf.h acpi_enter_sleep_state_prep(u8 sleep_state)) sleep_state 855 include/acpi/acpixf.h ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_enter_sleep_state(u8 sleep_state)) sleep_state 860 include/acpi/acpixf.h acpi_leave_sleep_state_prep(u8 sleep_state)) sleep_state 861 include/acpi/acpixf.h ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_leave_sleep_state(u8 sleep_state)) sleep_state 896 include/linux/acpi.h void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state, sleep_state 899 include/linux/acpi.h acpi_status acpi_os_prepare_sleep(u8 sleep_state, sleep_state 902 include/linux/acpi.h void acpi_os_set_prepare_extended_sleep(int (*func)(u8 sleep_state, sleep_state 905 include/linux/acpi.h acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state, sleep_state 35 include/linux/pinctrl/devinfo.h struct pinctrl_state *sleep_state; sleep_state 142 include/linux/tboot.h #define tboot_sleep(sleep_state, pm1a_control, pm1b_control) \ sleep_state 272 include/sound/soc-dapm.h { .active_state = active, .sleep_state = sleep,}), \ sleep_state 701 include/sound/soc-dapm.h const char *sleep_state; sleep_state 78 include/xen/acpi.h int xen_acpi_notify_hypervisor_sleep(u8 sleep_state, sleep_state 80 include/xen/acpi.h int xen_acpi_notify_hypervisor_extended_sleep(u8 sleep_state, sleep_state 288 include/xen/interface/platform.h uint32_t sleep_state; /* Which state to enter (Sn). */ sleep_state 1383 sound/soc/soc-dapm.c s = pinctrl_lookup_state(p, priv->sleep_state); sleep_state 301 tools/power/acpi/os_specific/service_layers/osunixxf.c acpi_status acpi_os_enter_sleep(u8 sleep_state, u32 rega_value, u32 regb_value)