/Linux-v4.19/drivers/acpi/acpica/ |
D | hwxfsleep.c | 26 static acpi_status acpi_hw_sleep_dispatch(u8 sleep_state, u32 function_id); 225 static acpi_status acpi_hw_sleep_dispatch(u8 sleep_state, u32 function_id) in ACPI_EXPORT_SYMBOL() 240 status = sleep_functions->extended_function(sleep_state); in ACPI_EXPORT_SYMBOL() 244 status = sleep_functions->legacy_function(sleep_state); in ACPI_EXPORT_SYMBOL() 254 status = sleep_functions->extended_function(sleep_state); in ACPI_EXPORT_SYMBOL() 275 acpi_status acpi_enter_sleep_state_prep(u8 sleep_state) in acpi_enter_sleep_state_prep() argument 284 status = acpi_get_sleep_type_data(sleep_state, in acpi_enter_sleep_state_prep() 296 arg.integer.value = sleep_state; in acpi_enter_sleep_state_prep() 306 switch (sleep_state) { in acpi_enter_sleep_state_prep() 352 acpi_status acpi_enter_sleep_state(u8 sleep_state) in ACPI_EXPORT_SYMBOL() [all …]
|
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 …]
|
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);
|
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() 109 status = acpi_os_enter_sleep(sleep_state, sleep_control, 0); in acpi_hw_extended_sleep() 148 acpi_status acpi_hw_extended_wake_prep(u8 sleep_state) in acpi_hw_extended_wake_prep() argument 183 acpi_status acpi_hw_extended_wake(u8 sleep_state) in acpi_hw_extended_wake() argument 194 acpi_hw_execute_sleep_method(METHOD_PATHNAME__WAK, sleep_state); in acpi_hw_extended_wake()
|
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() 115 status = acpi_os_enter_sleep(sleep_state, pm1a_control, pm1b_control); in acpi_hw_legacy_sleep() 130 if (sleep_state > ACPI_STATE_S3) { in acpi_hw_legacy_sleep() 180 acpi_status acpi_hw_legacy_wake_prep(u8 sleep_state) in acpi_hw_legacy_wake_prep() argument 247 acpi_status acpi_hw_legacy_wake(u8 sleep_state) in acpi_hw_legacy_wake() argument 280 acpi_hw_execute_sleep_method(METHOD_PATHNAME__WAK, sleep_state); in acpi_hw_legacy_wake()
|
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-v4.19/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-v4.19/drivers/acpi/ |
D | wakeup.c | 31 void acpi_enable_wakeup_devices(u8 sleep_state) in acpi_enable_wakeup_devices() argument 40 || sleep_state > (u32) dev->wakeup.sleep_state in acpi_enable_wakeup_devices() 46 acpi_enable_wakeup_device_power(dev, sleep_state); in acpi_enable_wakeup_devices() 58 void acpi_disable_wakeup_devices(u8 sleep_state) in acpi_disable_wakeup_devices() argument 67 || sleep_state > (u32) dev->wakeup.sleep_state in acpi_disable_wakeup_devices()
|
D | sleep.h | 3 extern void acpi_enable_wakeup_devices(u8 sleep_state); 4 extern void acpi_disable_wakeup_devices(u8 sleep_state);
|
D | osl.c | 69 static int (*__acpi_os_prepare_sleep)(u8 sleep_state, u32 pm1a_ctrl, 71 static int (*__acpi_os_prepare_extended_sleep)(u8 sleep_state, u32 val_a, 1764 acpi_status acpi_os_prepare_sleep(u8 sleep_state, u32 pm1a_control, in acpi_os_prepare_sleep() argument 1769 rc = __acpi_os_prepare_sleep(sleep_state, in acpi_os_prepare_sleep() 1779 void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state, in acpi_os_set_prepare_sleep() argument 1786 acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state, u32 val_a, in acpi_os_prepare_extended_sleep() argument 1791 rc = __acpi_os_prepare_extended_sleep(sleep_state, in acpi_os_prepare_extended_sleep() 1801 acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state, u32 val_a, in acpi_os_prepare_extended_sleep() argument 1808 void acpi_os_set_prepare_extended_sleep(int (*func)(u8 sleep_state, in acpi_os_set_prepare_extended_sleep() argument 1814 acpi_status acpi_os_enter_sleep(u8 sleep_state, in acpi_os_enter_sleep() argument [all …]
|
D | scan.c | 818 wakeup->sleep_state = element->integer.value; in acpi_bus_extract_wakeup_device_power_package() 825 int sleep_state; in acpi_bus_extract_wakeup_device_power_package() local 828 &sleep_state); in acpi_bus_extract_wakeup_device_power_package() 835 if (sleep_state < wakeup->sleep_state) { in acpi_bus_extract_wakeup_device_power_package() 838 (int)wakeup->sleep_state, sleep_state); in acpi_bus_extract_wakeup_device_power_package() 839 wakeup->sleep_state = sleep_state; in acpi_bus_extract_wakeup_device_power_package() 865 if (wakeup->sleep_state == ACPI_STATE_S5) in acpi_wakeup_gpe_init() 866 wakeup->sleep_state = ACPI_STATE_S4; in acpi_wakeup_gpe_init()
|
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 | proc.c | 40 (u32) dev->wakeup.sleep_state); in acpi_system_wakeup_device_seq_show()
|
D | internal.h | 138 int enable, int sleep_state, int dev_state);
|
/Linux-v4.19/arch/x86/kernel/ |
D | tboot.c | 286 static int tboot_sleep(u8 sleep_state, u32 pm1a_control, u32 pm1b_control) in tboot_sleep() argument 303 if (sleep_state >= ACPI_S_STATE_COUNT || in tboot_sleep() 304 acpi_shutdown_map[sleep_state] == -1) { in tboot_sleep() 305 pr_warning("unsupported sleep state 0x%x\n", sleep_state); in tboot_sleep() 309 tboot_shutdown(acpi_shutdown_map[sleep_state]); in tboot_sleep() 313 static int tboot_extended_sleep(u8 sleep_state, u32 val_a, u32 val_b) in tboot_extended_sleep() argument
|
/Linux-v4.19/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-v4.19/drivers/base/ |
D | pinctrl.c | 70 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()
|
/Linux-v4.19/include/linux/pinctrl/ |
D | devinfo.h | 36 struct pinctrl_state *sleep_state; member
|
/Linux-v4.19/include/acpi/ |
D | acpixf.h | 856 acpi_get_sleep_type_data(u8 sleep_state, 861 acpi_enter_sleep_state_prep(u8 sleep_state)) 862 ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_enter_sleep_state(u8 sleep_state)) 867 acpi_leave_sleep_state_prep(u8 sleep_state)) 868 ACPI_EXTERNAL_RETURN_STATUS(acpi_status acpi_leave_sleep_state(u8 sleep_state))
|
D | acpiosxf.h | 326 acpi_status acpi_os_enter_sleep(u8 sleep_state, u32 rega_value, u32 regb_value);
|
/Linux-v4.19/drivers/iio/accel/ |
D | bma180.c | 120 bool sleep_state; member 145 if (data->sleep_state) in bma180_get_data_reg() 216 data->sleep_state = state; in bma180_set_sleep_state() 236 if (data->sleep_state) in bma180_set_bw() 260 if (data->sleep_state) in bma180_set_scale()
|
/Linux-v4.19/include/linux/ |
D | tboot.h | 155 #define tboot_sleep(sleep_state, pm1a_control, pm1b_control) \ argument
|
D | acpi.h | 870 void acpi_os_set_prepare_sleep(int (*func)(u8 sleep_state, 873 acpi_status acpi_os_prepare_sleep(u8 sleep_state, 876 void acpi_os_set_prepare_extended_sleep(int (*func)(u8 sleep_state, 879 acpi_status acpi_os_prepare_extended_sleep(u8 sleep_state,
|
/Linux-v4.19/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-v4.19/drivers/input/touchscreen/ |
D | cyttsp4_core.c | 1098 if (cd->sleep_state == SS_SLEEP_ON || cd->sleep_state == SS_SLEEPING) in cyttsp4_irq() 1507 if (cd->sleep_state == SS_SLEEP_ON) { in cyttsp4_core_sleep_() 1511 cd->sleep_state = SS_SLEEPING; in cyttsp4_core_sleep_() 1569 cd->sleep_state = ss; in cyttsp4_core_sleep_() 1665 if (cd->sleep_state == SS_SLEEP_ON) { in cyttsp4_startup_() 1666 cd->sleep_state = SS_SLEEP_OFF; in cyttsp4_startup_() 1776 if (cd->sleep_state == SS_SLEEP_OFF) { in cyttsp4_core_wake_() 1782 cd->sleep_state = SS_WAKING; in cyttsp4_core_wake_() 1815 cd->sleep_state = SS_SLEEP_OFF; in cyttsp4_core_wake_()
|