/kernel/linux/linux-5.10/drivers/acpi/acpica/ |
H A D | hwxfsleep.c | 191 * PARAMETERS: sleep_state - Which sleep state to enter in ACPI_EXPORT_SYMBOL() 202 acpi_status acpi_enter_sleep_state_prep(u8 sleep_state) in ACPI_EXPORT_SYMBOL() 211 status = acpi_get_sleep_type_data(sleep_state, in ACPI_EXPORT_SYMBOL() 230 arg.integer.value = sleep_state; in ACPI_EXPORT_SYMBOL() 240 switch (sleep_state) { in ACPI_EXPORT_SYMBOL() 278 * PARAMETERS: sleep_state - Which sleep state to enter in ACPI_EXPORT_SYMBOL() 286 acpi_status acpi_enter_sleep_state(u8 sleep_state) in ACPI_EXPORT_SYMBOL() 301 status = acpi_hw_legacy_sleep(sleep_state); in ACPI_EXPORT_SYMBOL() 304 status = acpi_hw_extended_sleep(sleep_state); in ACPI_EXPORT_SYMBOL() 314 * PARAMETERS: sleep_state in ACPI_EXPORT_SYMBOL() [all...] |
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() 138 * PARAMETERS: sleep_state - Desired sleep state (0-5) 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() [all...] |
H A D | hwesleep.c | 58 * PARAMETERS: sleep_state - Which sleep state to enter 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() 141 * PARAMETERS: sleep_state - Which sleep state we just exited 150 acpi_status acpi_hw_extended_wake_prep(u8 sleep_state) in acpi_hw_extended_wake_prep() argument 172 * PARAMETERS: sleep_state - Which sleep state we just exited 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() [all...] |
H A D | hwsleep.c | 22 * PARAMETERS: sleep_state - Which sleep state to enter 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() 172 * PARAMETERS: sleep_state - Which sleep state we just exited 182 acpi_status acpi_hw_legacy_wake_prep(u8 sleep_state) in acpi_hw_legacy_wake_prep() argument 237 * PARAMETERS: sleep_state - Which sleep state we just exited 246 acpi_status acpi_hw_legacy_wake(u8 sleep_state) in acpi_hw_legacy_wake() argument [all...] |
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 | 301 * PARAMETERS: sleep_state - Numeric sleep state in ACPI_EXPORT_SYMBOL() 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()
|
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | hwxfsleep.c | 191 * PARAMETERS: sleep_state - Which sleep state to enter in ACPI_EXPORT_SYMBOL() 202 acpi_status acpi_enter_sleep_state_prep(u8 sleep_state) in ACPI_EXPORT_SYMBOL() 211 status = acpi_get_sleep_type_data(sleep_state, in ACPI_EXPORT_SYMBOL() 230 arg.integer.value = sleep_state; in ACPI_EXPORT_SYMBOL() 240 switch (sleep_state) { in ACPI_EXPORT_SYMBOL() 278 * PARAMETERS: sleep_state - Which sleep state to enter in ACPI_EXPORT_SYMBOL() 286 acpi_status acpi_enter_sleep_state(u8 sleep_state) in ACPI_EXPORT_SYMBOL() 301 status = acpi_hw_legacy_sleep(sleep_state); in ACPI_EXPORT_SYMBOL() 304 status = acpi_hw_extended_sleep(sleep_state); in ACPI_EXPORT_SYMBOL() 314 * PARAMETERS: sleep_state in ACPI_EXPORT_SYMBOL() [all...] |
H A D | hwsleep.c | 22 * PARAMETERS: sleep_state - Which sleep state to enter 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() 172 * PARAMETERS: sleep_state - Which sleep state we just exited 182 acpi_status acpi_hw_legacy_wake_prep(u8 sleep_state) in acpi_hw_legacy_wake_prep() argument 237 * PARAMETERS: sleep_state - Which sleep state we just exited 246 acpi_status acpi_hw_legacy_wake(u8 sleep_state) in acpi_hw_legacy_wake() argument [all...] |
H A D | hwesleep.c | 58 * PARAMETERS: sleep_state - Which sleep state to enter 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() 141 * PARAMETERS: sleep_state - Which sleep state we just exited 150 acpi_status acpi_hw_extended_wake_prep(u8 sleep_state) in acpi_hw_extended_wake_prep() argument 172 * PARAMETERS: sleep_state - Which sleep state we just exited 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() [all...] |
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() 138 * PARAMETERS: sleep_state - Desired sleep state (0-5) 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() [all...] |
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 | 301 * PARAMETERS: sleep_state - Numeric sleep state in ACPI_EXPORT_SYMBOL() 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()
|
/kernel/linux/linux-5.10/drivers/xen/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/xen/ |
H A 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()
|
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | wakeup.c | 32 * @sleep_state: ACPI system sleep state. 38 void acpi_enable_wakeup_devices(u8 sleep_state) in acpi_enable_wakeup_devices() argument 45 || sleep_state > (u32) dev->wakeup.sleep_state in acpi_enable_wakeup_devices() 51 acpi_enable_wakeup_device_power(dev, sleep_state); in acpi_enable_wakeup_devices() 61 * @sleep_state: ACPI system sleep state. 63 void acpi_disable_wakeup_devices(u8 sleep_state) in acpi_disable_wakeup_devices() argument 70 || sleep_state > (u32) dev->wakeup.sleep_state in acpi_disable_wakeup_devices()
|
H A D | sleep.h | 3 extern void acpi_enable_wakeup_devices(u8 sleep_state); 4 extern void acpi_disable_wakeup_devices(u8 sleep_state);
|
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | wakeup.c | 32 * @sleep_state: ACPI system sleep state. 38 void acpi_enable_wakeup_devices(u8 sleep_state) in acpi_enable_wakeup_devices() argument 45 || sleep_state > (u32) dev->wakeup.sleep_state in acpi_enable_wakeup_devices() 51 acpi_enable_wakeup_device_power(dev, sleep_state); in acpi_enable_wakeup_devices() 61 * @sleep_state: ACPI system sleep state. 63 void acpi_disable_wakeup_devices(u8 sleep_state) in acpi_disable_wakeup_devices() argument 70 || sleep_state > (u32) dev->wakeup.sleep_state in acpi_disable_wakeup_devices()
|
H A D | sleep.h | 3 extern void acpi_enable_wakeup_devices(u8 sleep_state); 4 extern void acpi_disable_wakeup_devices(u8 sleep_state);
|
/kernel/linux/linux-6.6/include/xen/ |
H A D | acpi.h | 43 int xen_acpi_notify_hypervisor_sleep(u8 sleep_state, 45 int xen_acpi_notify_hypervisor_extended_sleep(u8 sleep_state,
|
/kernel/linux/linux-5.10/include/xen/ |
H A D | acpi.h | 78 int xen_acpi_notify_hypervisor_sleep(u8 sleep_state, 80 int xen_acpi_notify_hypervisor_extended_sleep(u8 sleep_state,
|
/kernel/linux/linux-5.10/drivers/base/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/base/ |
H A 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()
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | tboot.c | 276 static int tboot_sleep(u8 sleep_state, u32 pm1a_control, u32 pm1b_control) in tboot_sleep() argument 293 if (sleep_state >= ACPI_S_STATE_COUNT || in tboot_sleep() 294 acpi_shutdown_map[sleep_state] == -1) { in tboot_sleep() 295 pr_warn("unsupported sleep state 0x%x\n", sleep_state); in tboot_sleep() 299 tboot_shutdown(acpi_shutdown_map[sleep_state]); in tboot_sleep() 303 static int tboot_extended_sleep(u8 sleep_state, u32 val_a, u32 val_b) in tboot_extended_sleep() argument
|
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | tboot.c | 282 static int tboot_sleep(u8 sleep_state, u32 pm1a_control, u32 pm1b_control) in tboot_sleep() argument 299 if (sleep_state >= ACPI_S_STATE_COUNT || in tboot_sleep() 300 acpi_shutdown_map[sleep_state] == -1) { in tboot_sleep() 301 pr_warn("unsupported sleep state 0x%x\n", sleep_state); in tboot_sleep() 305 tboot_shutdown(acpi_shutdown_map[sleep_state]); in tboot_sleep() 309 static int tboot_extended_sleep(u8 sleep_state, u32 val_a, u32 val_b) in tboot_extended_sleep() argument
|
/kernel/linux/linux-5.10/include/linux/pinctrl/ |
H A D | devinfo.h | 27 * @sleep_state: the state at suspend time, if found 35 struct pinctrl_state *sleep_state; member
|