| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | samsung,pinctrl-wakeup-interrupt.yaml | 4 $id: http://devicetree.org/schemas/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml# 33 - samsung,s3c64xx-wakeup-eint 34 - samsung,s5pv210-wakeup-eint 35 - samsung,exynos4210-wakeup-eint 36 - samsung,exynos7-wakeup-eint 37 - samsung,exynosautov920-wakeup-eint 40 - samsung,exynos5433-wakeup-eint 41 - samsung,exynos7870-wakeup-eint 42 - samsung,exynos7885-wakeup-eint 43 - samsung,exynos850-wakeup-eint [all …]
|
| /linux/drivers/acpi/ |
| H A D | wakeup.c | 3 * wakeup.c - support wakeup devices 17 bool (*wakeup)(void *context); member 34 * Enable wakeup device power of devices with the state.enable flag set and set 35 * the wakeup enable mask bits in the GPE registers that correspond to wakeup 44 if (!dev->wakeup.flags.valid in acpi_enable_wakeup_devices() 45 || sleep_state > dev->wakeup.sleep_state in acpi_enable_wakeup_devices() 47 || dev->wakeup.prepare_count)) in acpi_enable_wakeup_devices() 54 acpi_set_gpe_wake_mask(dev->wakeup.gpe_device, dev->wakeup.gpe_number, in acpi_enable_wakeup_devices() 60 * acpi_disable_wakeup_devices - Disable devices' wakeup capability. 69 if (!dev->wakeup.flags.valid in acpi_disable_wakeup_devices() [all …]
|
| H A D | device_pm.c | 501 * acpi_dev_power_state_for_wake - Deepest power state for wakeup signaling 544 if (adev->wakeup.flags.notifier_present) { in acpi_pm_notify_handler() 545 pm_wakeup_ws_event(adev->wakeup.ws, 0, acpi_s2idle_wakeup()); in acpi_pm_notify_handler() 546 if (adev->wakeup.context.func) { in acpi_pm_notify_handler() 548 adev->wakeup.context.func, in acpi_pm_notify_handler() 549 dev_name(adev->wakeup.context.dev)); in acpi_pm_notify_handler() 550 adev->wakeup.context.func(&adev->wakeup.context); in acpi_pm_notify_handler() 562 * @dev: Device to generate a wakeup event for while handling the notification. 565 * NOTE: @adev need not be a run-wake or wakeup device to be a valid source of 566 * PM wakeup events. For example, wakeup events may be generated for bridges [all …]
|
| H A D | proc.c | 15 * /proc/acpi/wakeup 30 if (!dev->wakeup.flags.valid) in acpi_system_wakeup_device_seq_show() 35 dev->wakeup.sleep_state); in acpi_system_wakeup_device_seq_show() 41 dev->wakeup.flags.valid ? '*' : ' ', in acpi_system_wakeup_device_seq_show() 56 dev->wakeup.flags.valid ? '*' : ' ', in acpi_system_wakeup_device_seq_show() 107 if (!dev->wakeup.flags.valid) in acpi_system_write_wakeup_device() 141 /* 'wakeup device' [R/W] */ in acpi_sleep_proc_init() 142 proc_create("wakeup", 0644, acpi_root_dir, &acpi_system_wakeup_device_proc_ops); in acpi_sleep_proc_init()
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-wakeup | 1 What: /sys/class/wakeup/ 5 The /sys/class/wakeup/ directory contains pointers to all 6 wakeup sources in the kernel at that moment in time. 8 What: /sys/class/wakeup/.../name 12 This file contains the name of the wakeup source. 14 What: /sys/class/wakeup/.../active_count 18 This file contains the number of times the wakeup source was 21 What: /sys/class/wakeup/.../event_count 25 This file contains the number of signaled wakeup events 26 associated with the wakeup source. [all …]
|
| H A D | sysfs-class-rc | 81 for the wakeup filter, something like:: 89 The enabled wakeup protocol is shown in [] brackets. 93 Writing "proto" will use "proto" for wakeup events. 95 Writing "none" will disable wakeup. 98 unknown protocol name is used, or if wakeup is not supported by 106 Sets the scancode wakeup filter expected value. 109 set the expected value of the bits set in the wakeup filter mask 118 This value may be reset to 0 if the wakeup protocol is altered. 125 Sets the scancode wakeup filter mask of bits to compare. 137 This value may be reset to 0 if the wakeup protocol is altered.
|
| /linux/Documentation/devicetree/bindings/iio/accel/ |
| H A D | lis302.txt | 47 - st,wakeup-{x,y,z}-{lo,hi}: set wakeup condition on x/y/z axis for 49 - st,wakeup-threshold: set wakeup threshold 50 - st,wakeup2-{x,y,z}-{lo,hi}: set wakeup condition on x/y/z axis for 51 upper/lower limit for second wakeup 53 - st,wakeup2-threshold: set wakeup threshold for second wakeup 82 st,wakeup-x-lo; 83 st,wakeup-x-hi; 84 st,wakeup-y-lo; 85 st,wakeup-y-hi; 86 st,wakeup-z-lo; [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| H A D | ste-nomadik-pinctrl.dtsi | 55 ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>; 61 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 67 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 74 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 80 ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>; 87 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 94 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 101 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 108 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; 114 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>; [all …]
|
| /linux/Documentation/power/ |
| H A D | suspend-and-interrupts.rst | 58 System Wakeup Interrupts, enable_irq_wake() and disable_irq_wake() 61 System wakeup interrupts generally need to be configured to wake up the system 67 during system sleep so as to trigger a system wakeup when needed. For example, 69 handling system wakeup events. Then, if a given interrupt line is supposed to 72 After wakeup, it generally is better to disable that input to prevent the 77 handling the given IRQ as a system wakeup interrupt line and disable_irq_wake() 86 of the points where the suspend thread looks for pending wakeup events). 88 This way every interrupt from a wakeup interrupt source will either cause the 91 not executed for system wakeup IRQs. They are only executed for IRQF_NO_SUSPEND 92 IRQs at that time, but those IRQs should not be configured for system wakeup [all …]
|
| /linux/Documentation/devicetree/bindings/input/ |
| H A D | gpio-keys.yaml | 36 - description: Optional key interrupt or wakeup interrupt 39 - description: Wakeup interrupt 47 - enum: [ irq, wakeup ] 50 - const: wakeup 82 wakeup-source: 85 wakeup-event-action: 89 system (e.g., when the "wakeup-source" property is also provided). 131 wakeup-event-action: [ wakeup-source ] 171 key-wakeup { 172 label = "GPIO Key WAKEUP"; [all …]
|
| /linux/Documentation/usb/ |
| H A D | chipidea.rst | 106 2. How to enable USB as system wakeup source 108 Below is the example for how to enable USB as system wakeup source 111 2.1 Enable core's wakeup:: 113 echo enabled > /sys/bus/platform/devices/ci_hdrc.0/power/wakeup 115 2.2 Enable glue layer's wakeup:: 117 echo enabled > /sys/bus/platform/devices/2184000.usb/power/wakeup 119 2.3 Enable PHY's wakeup (optional):: 121 echo enabled > /sys/bus/platform/devices/20c9000.usbphy/power/wakeup 123 2.4 Enable roothub's wakeup:: 125 echo enabled > /sys/bus/usb/devices/usb1/power/wakeup [all …]
|
| /linux/drivers/base/power/ |
| H A D | sysfs.c | 29 * wakeup - Report/change current wakeup option for device 31 * Some devices support "wakeup" events, which are hardware signals 33 * devices have one of three values for the sysfs power/wakeup file: 37 * + "\n" for temporary or permanent inability to issue wakeup. 41 * Familiar examples of devices that can issue wakeup events include 46 * Some wakeup events use normal IRQ lines; other use special out 50 * wakeup signaling as part of changing device power states, respecting 53 * Devices may not be able to generate wakeup events from all power 56 * active, or which may have wakeup disabled. Some drivers rely on 57 * wakeup events internally (unless they are disabled), keeping [all …]
|
| H A D | wakeup_stats.c | 3 * Wakeup statistics in sysfs 159 retval = dev_set_name(dev, "wakeup%d", ws->id); in wakeup_source_device_create() 176 * @parent: Device given wakeup source is associated with (or NULL if virtual). 177 * @ws: Wakeup source to be added in sysfs. 194 * @parent: Device given wakeup source is associated with 198 if (!parent->power.wakeup || parent->power.wakeup->dev) in pm_wakeup_source_sysfs_add() 201 return wakeup_source_sysfs_add(parent, parent->power.wakeup); in pm_wakeup_source_sysfs_add() 206 * @ws: Wakeup source to be removed from sysfs. 215 wakeup_class = class_create("wakeup"); in wakeup_sources_sysfs_init()
|
| /linux/drivers/slimbus/ |
| H A D | sched.c | 13 * @wakeup: Wakeup this controller from clock pause. 21 * This API executes clock pause reconfiguration sequence if wakeup is false. 22 * If wakeup is true, controller's wakeup is called. 25 int slim_ctrl_clk_pause(struct slim_controller *ctrl, bool wakeup, u8 restart) in slim_ctrl_clk_pause() argument 35 if (wakeup == false && restart > SLIM_CLK_UNSPECIFIED) in slim_ctrl_clk_pause() 39 if (wakeup) { in slim_ctrl_clk_pause() 59 * Slimbus framework will call controller wakeup in slim_ctrl_clk_pause() 63 if (sched->clk_state == SLIM_CLK_PAUSED && ctrl->wakeup) in slim_ctrl_clk_pause() 64 ret = ctrl->wakeup(ctrl); in slim_ctrl_clk_pause()
|
| /linux/arch/x86/kvm/vmx/ |
| H A D | posted_intr.c | 32 * occur if a wakeup IRQ arrives and attempts to acquire the lock. 74 * If the vCPU wasn't on the wakeup list and wasn't migrated, then the in vmx_vcpu_pi_load() 88 * If the vCPU was waiting for wakeup, remove the vCPU from the wakeup in vmx_vcpu_pi_load() 96 * In addition to taking the wakeup lock for the regular/IRQ in vmx_vcpu_pi_load() 100 * with both the scheduler and the wakeup handler. in vmx_vcpu_pi_load() 126 * descriptor was modified on "put" to use the wakeup vector. in vmx_vcpu_pi_load() 160 * WAKEUP as the notification vector in the PI descriptor. 171 * Acquire the wakeup lock using the "sched out" context to workaround in pi_enable_wakeup_handler() 173 * various per-CPU scheduler locks. When the wakeup handler runs, it in pi_enable_wakeup_handler() 174 * holds this CPU's wakeup lock while calling try_to_wake_up(), which in pi_enable_wakeup_handler() [all …]
|
| /linux/arch/powerpc/sysdev/ |
| H A D | fsl_mpic_timer_wakeup.c | 3 * MPIC timer wakeup driver 28 struct fsl_mpic_timer_wakeup *wakeup = in fsl_free_resource() local 33 if (wakeup->timer) { in fsl_free_resource() 34 disable_irq_wake(wakeup->timer->irq); in fsl_free_resource() 35 mpic_free_timer(wakeup->timer); in fsl_free_resource() 38 wakeup->timer = NULL; in fsl_free_resource() 44 struct fsl_mpic_timer_wakeup *wakeup = dev_id; in fsl_mpic_timer_irq() local 46 schedule_work(&wakeup->free_work); in fsl_mpic_timer_irq() 48 return wakeup->timer ? IRQ_HANDLED : IRQ_NONE; in fsl_mpic_timer_irq() 156 MODULE_DESCRIPTION("Freescale MPIC global timer wakeup driver");
|
| /linux/drivers/pinctrl/mvebu/ |
| H A D | pinctrl-dove.c | 383 MPP_FUNCTION(CONFIG_PMU | 0xb, "ext0-wakeup", NULL), 384 MPP_FUNCTION(CONFIG_PMU | 0xc, "ext1-wakeup", NULL), 385 MPP_FUNCTION(CONFIG_PMU | 0xd, "ext2-wakeup", NULL), 400 MPP_FUNCTION(CONFIG_PMU | 0xb, "ext0-wakeup", NULL), 401 MPP_FUNCTION(CONFIG_PMU | 0xc, "ext1-wakeup", NULL), 402 MPP_FUNCTION(CONFIG_PMU | 0xd, "ext2-wakeup", NULL), 418 MPP_FUNCTION(CONFIG_PMU | 0xb, "ext0-wakeup", NULL), 419 MPP_FUNCTION(CONFIG_PMU | 0xc, "ext1-wakeup", NULL), 420 MPP_FUNCTION(CONFIG_PMU | 0xd, "ext2-wakeup", NULL), 437 MPP_FUNCTION(CONFIG_PMU | 0xb, "ext0-wakeup", NULL), [all …]
|
| /linux/Documentation/devicetree/bindings/soc/fsl/ |
| H A D | fsl,rcpm.yaml | 52 "#fsl,rcpm-wakeup-cells": 55 fsl,rcpm-wakeup property. 57 Freescale RCPM Wakeup Source Device Tree Bindings 59 Required fsl,rcpm-wakeup property should be added to a device node if 60 the device can be used as a wakeup source. 62 fsl,rcpm-wakeup: Consists of a phandle to the rcpm node and the IPPDEXPCR 64 "#fsl,rcpm-wakeup-cells" in the rcpm node. The first register cell is 86 #fsl,rcpm-wakeup-cells = <2>;
|
| /linux/Documentation/devicetree/bindings/power/reset/ |
| H A D | atmel,at91sam9260-shdwc.yaml | 29 atmel,wakeup-mode: 30 description: operation mode of the wakeup mode 34 atmel,wakeup-counter: 40 atmel,wakeup-rtt-timer: 44 atmel,wakeup-rtc-timer: 61 atmel,wakeup-rtt-timer: false 70 atmel,wakeup-rtc-timer: false
|
| /linux/Documentation/devicetree/bindings/net/bluetooth/ |
| H A D | nokia,h4p-bluetooth.txt | 8 UART status lines for wakeup of UART transceivers to improve power management 17 - bluetooth-wakeup-gpios: GPIO specifier, used to wakeup the BT module (active high) 18 - host-wakeup-gpios: GPIO specifier, used to wakeup the host processor (active high) 45 host-wakeup-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; /* gpio101 */ 46 bluetooth-wakeup-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* gpio37 */
|
| H A D | nxp,88w8987-bt.yaml | 47 device-wakeup-gpios: 61 Host wakeup by falling edge interrupt on this pin which is 66 - const: wakeup 68 wakeup-source: true 98 device-wakeup-gpios = <&gpio 11 GPIO_ACTIVE_HIGH>; 106 interrupt-names = "wakeup"; 107 wakeup-source;
|
| /linux/drivers/gnss/ |
| H A D | sirf.c | 45 struct gpio_desc *wakeup; member 170 if (!data->wakeup && !data->active) { in sirf_receive_buf() 194 ret = gpiod_get_value_cansleep(data->wakeup); in sirf_wakeup_handler() 195 dev_dbg(dev, "%s - wakeup = %d\n", __func__, ret); in sirf_wakeup_handler() 235 if (!data->wakeup) in sirf_wait_for_power_state() 270 if (!data->wakeup) { in sirf_set_active() 281 if (!data->wakeup) in sirf_set_active() 357 if (data->wakeup) in sirf_suspend() 368 if (data->wakeup) in sirf_resume() 448 data->wakeup = devm_gpiod_get_optional(dev, "sirf,wakeup", in sirf_probe() [all …]
|
| /linux/arch/powerpc/kernel/ |
| H A D | idle_book3s.S | 8 * SRR1 wakeup reason return value. 24 * No state will be lost regardless of wakeup mechanism (interrupt or NIA). 26 * An EC=0 type wakeup will return with a value of 0. SRESET wakeup (which can 40 * GPRs may be lost, so they are saved here. Wakeup is by interrupt only. 41 * The SRESET wakeup returns to this function's caller by calling 44 * A wakeup without GPR loss may alteratively be handled as in 57 * in the case of no GPR loss the wakeup code branches directly back to 88 * The idle wakeup SRESET interrupt can call this after calling 147 * GPRs may be lost, so they are saved here. Wakeup is by interrupt only. 148 * The SRESET wakeup returns to this function's caller by calling [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | omap3-gta04a3.dts | 32 st,wakeup-x-lo; 33 st,wakeup-x-hi; 34 st,wakeup-y-lo; 35 st,wakeup-y-hi; 36 st,wakeup-z-lo; 37 st,wakeup-z-hi;
|
| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | mediatek,mtk-xhci.yaml | 62 - description: optional, wakeup interrupt used to support runtime PM 68 - const: wakeup 145 wakeup-source: 146 description: enable USB remote wakeup, see power/wakeup-source.txt 149 mediatek,syscon-wakeup: 153 A phandle to syscon used to access the register of the USB wakeup glue 197 wakeup-source: [ 'mediatek,syscon-wakeup' ] 229 mediatek,syscon-wakeup = <&pericfg 0x400 1>; 230 wakeup-source;
|