/linux-4.1.27/drivers/acpi/acpica/ |
D | hwxfsleep.c | 53 static acpi_status acpi_hw_sleep_dispatch(u8 sleep_state, u32 function_id); 237 static acpi_status acpi_hw_sleep_dispatch(u8 sleep_state, u32 function_id) in ACPI_EXPORT_SYMBOL() 252 status = sleep_functions->extended_function(sleep_state); in ACPI_EXPORT_SYMBOL() 256 status = sleep_functions->legacy_function(sleep_state); in ACPI_EXPORT_SYMBOL() 266 status = sleep_functions->extended_function(sleep_state); in ACPI_EXPORT_SYMBOL() 287 acpi_status acpi_enter_sleep_state_prep(u8 sleep_state) in acpi_enter_sleep_state_prep() argument 296 status = acpi_get_sleep_type_data(sleep_state, in acpi_enter_sleep_state_prep() 308 arg.integer.value = sleep_state; in acpi_enter_sleep_state_prep() 318 switch (sleep_state) { in acpi_enter_sleep_state_prep() 364 acpi_status acpi_enter_sleep_state(u8 sleep_state) in ACPI_EXPORT_SYMBOL() [all …]
|
D | achware.h | 86 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);
|
D | hwesleep.c | 103 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()
|
D | hwsleep.c | 65 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()
|
D | hwxface.c | 482 acpi_get_sleep_type_data(u8 sleep_state, u8 *sleep_type_a, u8 *sleep_type_b) in ACPI_EXPORT_SYMBOL() 492 if ((sleep_state > ACPI_S_STATES_MAX) || !sleep_type_a || !sleep_type_b) { in ACPI_EXPORT_SYMBOL() 508 ACPI_CAST_PTR(char, acpi_gbl_sleep_state_names[sleep_state]); in ACPI_EXPORT_SYMBOL()
|
/linux-4.1.27/drivers/xen/ |
D | acpi.c | 38 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()
|
/linux-4.1.27/drivers/acpi/ |
D | wakeup.c | 30 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()
|
D | sleep.h | 2 extern void acpi_enable_wakeup_devices(u8 sleep_state); 3 extern void acpi_disable_wakeup_devices(u8 sleep_state);
|
D | osl.c | 76 static int (*__acpi_os_prepare_sleep)(u8 sleep_state, u32 pm1a_ctrl, 78 static int (*__acpi_os_prepare_extended_sleep)(u8 sleep_state, u32 val_a, 1886 acpi_status acpi_os_prepare_sleep(u8 sleep_state, u32 pm1a_control, in acpi_os_prepare_sleep() argument 1891 rc = __acpi_os_prepare_sleep(sleep_state, in acpi_os_prepare_sleep() 1901 void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state, in acpi_os_set_prepare_sleep() argument 1907 acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state, u32 val_a, in acpi_os_prepare_extended_sleep() argument 1912 rc = __acpi_os_prepare_extended_sleep(sleep_state, in acpi_os_prepare_extended_sleep() 1922 void acpi_os_set_prepare_extended_sleep(int (*func)(u8 sleep_state, in acpi_os_set_prepare_extended_sleep() argument
|
D | power.c | 507 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()
|
D | scan.c | 1642 wakeup->sleep_state = element->integer.value; in acpi_bus_extract_wakeup_device_power_package() 1649 int sleep_state; in acpi_bus_extract_wakeup_device_power_package() local 1652 &sleep_state); in acpi_bus_extract_wakeup_device_power_package() 1659 if (sleep_state < wakeup->sleep_state) { in acpi_bus_extract_wakeup_device_power_package() 1662 (int)wakeup->sleep_state, sleep_state); in acpi_bus_extract_wakeup_device_power_package() 1663 wakeup->sleep_state = sleep_state; in acpi_bus_extract_wakeup_device_power_package() 1691 if (wakeup->sleep_state == ACPI_STATE_S5) in acpi_wakeup_gpe_init() 1692 wakeup->sleep_state = ACPI_STATE_S4; in acpi_wakeup_gpe_init()
|
D | proc.c | 39 (u32) dev->wakeup.sleep_state); in acpi_system_wakeup_device_seq_show()
|
D | internal.h | 111 int enable, int sleep_state, int dev_state);
|
D | sleep.c | 76 static bool acpi_sleep_state_supported(u8 sleep_state) in acpi_sleep_state_supported() argument 81 status = acpi_get_sleep_type_data(sleep_state, &type_a, &type_b); in acpi_sleep_state_supported()
|
D | device_pm.c | 548 && adev->wakeup.sleep_state >= target_state; in acpi_dev_pm_get_state()
|
/linux-4.1.27/include/xen/ |
D | acpi.h | 78 int xen_acpi_notify_hypervisor_sleep(u8 sleep_state, 80 int xen_acpi_notify_hypervisor_extended_sleep(u8 sleep_state,
|
/linux-4.1.27/arch/x86/kernel/ |
D | tboot.c | 277 static int tboot_sleep(u8 sleep_state, u32 pm1a_control, u32 pm1b_control) in tboot_sleep() argument 294 if (sleep_state >= ACPI_S_STATE_COUNT || in tboot_sleep() 295 acpi_shutdown_map[sleep_state] == -1) { in tboot_sleep() 296 pr_warning("unsupported sleep state 0x%x\n", sleep_state); in tboot_sleep() 300 tboot_shutdown(acpi_shutdown_map[sleep_state]); in tboot_sleep() 304 static int tboot_extended_sleep(u8 sleep_state, u32 val_a, u32 val_b) in tboot_extended_sleep() argument
|
/linux-4.1.27/drivers/base/ |
D | pinctrl.c | 57 dev->pins->sleep_state = pinctrl_lookup_state(dev->pins->p, in pinctrl_bind_pins() 59 if (IS_ERR(dev->pins->sleep_state)) in pinctrl_bind_pins()
|
/linux-4.1.27/include/linux/pinctrl/ |
D | devinfo.h | 32 struct pinctrl_state *sleep_state; member
|
/linux-4.1.27/include/acpi/ |
D | acpixf.h | 811 acpi_get_sleep_type_data(u8 sleep_state, 816 acpi_enter_sleep_state_prep(u8 sleep_state)) 817 ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_enter_sleep_state(u8 sleep_state)) 822 acpi_leave_sleep_state_prep(u8 sleep_state)) 823 ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_leave_sleep_state(u8 sleep_state))
|
D | acpi_bus.h | 328 u64 sleep_state; member
|
D | actypes.h | 897 typedef acpi_status(*acpi_sleep_function) (u8 sleep_state);
|
/linux-4.1.27/drivers/iio/accel/ |
D | bma180.c | 119 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()
|
/linux-4.1.27/include/linux/ |
D | tboot.h | 155 #define tboot_sleep(sleep_state, pm1a_control, pm1b_control) \ argument
|
D | acpi.h | 579 void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state, 582 acpi_status acpi_os_prepare_sleep(u8 sleep_state, 585 void acpi_os_set_prepare_extended_sleep(int (*func)(u8 sleep_state, 588 acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state,
|
/linux-4.1.27/arch/x86/platform/olpc/ |
D | olpc-xo1-pm.c | 78 asmlinkage __visible int xo1_do_sleep(u8 sleep_state) in xo1_do_sleep() argument
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | cyttsp4_core.c | 1073 if (cd->sleep_state == SS_SLEEP_ON || cd->sleep_state == SS_SLEEPING) in cyttsp4_irq() 1482 if (cd->sleep_state == SS_SLEEP_ON) { in cyttsp4_core_sleep_() 1486 cd->sleep_state = SS_SLEEPING; in cyttsp4_core_sleep_() 1544 cd->sleep_state = ss; in cyttsp4_core_sleep_() 1640 if (cd->sleep_state == SS_SLEEP_ON) { in cyttsp4_startup_() 1641 cd->sleep_state = SS_SLEEP_OFF; in cyttsp4_startup_() 1751 if (cd->sleep_state == SS_SLEEP_OFF) { in cyttsp4_core_wake_() 1757 cd->sleep_state = SS_WAKING; in cyttsp4_core_wake_() 1790 cd->sleep_state = SS_SLEEP_OFF; in cyttsp4_core_wake_()
|
D | cyttsp4_core.h | 347 enum cyttsp4_sleep_state sleep_state; member
|
/linux-4.1.27/include/xen/interface/ |
D | platform.h | 279 uint32_t sleep_state; /* Which state to enter (Sn). */ member
|
/linux-4.1.27/drivers/base/power/ |
D | main.c | 991 static pm_message_t resume_event(pm_message_t sleep_state) in resume_event() argument 993 switch (sleep_state.event) { in resume_event()
|
/linux-4.1.27/drivers/pinctrl/ |
D | core.c | 1285 return pinctrl_pm_select_state(dev, dev->pins->sleep_state); in pinctrl_pm_select_sleep_state()
|
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/ |
D | wmi.h | 1333 __le32 sleep_state; member
|