Home
last modified time | relevance | path

Searched refs:wakeup (Results 1 – 25 of 674) sorted by relevance

12345678910>>...27

/Linux-v4.19/Documentation/devicetree/bindings/power/
Dwakeup-source.txt1 Specifying wakeup capability for devices
6 Nodes that describe devices which has wakeup capability must contain an
7 "wakeup-source" boolean property.
9 Also, if device is marked as a wakeup source, then all the primary
10 interrupt(s) can be used as wakeup interrupt(s).
12 However if the devices have dedicated interrupt as the wakeup source
14 interrupt name. In such cases only that interrupt can be used as wakeup
20 1. "enable-sdio-wakeup" Documentation/devicetree/bindings/mmc/mmc.txt
21 2. "gpio-key,wakeup" Documentation/devicetree/bindings/input/gpio-keys{,-polled}.txt
23 4. "linux,wakeup" Documentation/devicetree/bindings/input/gpio-matrix-keypad.txt
[all …]
/Linux-v4.19/drivers/acpi/
Dwakeup.c39 if (!dev->wakeup.flags.valid in acpi_enable_wakeup_devices()
40 || sleep_state > (u32) dev->wakeup.sleep_state in acpi_enable_wakeup_devices()
42 || dev->wakeup.prepare_count)) in acpi_enable_wakeup_devices()
49 acpi_set_gpe_wake_mask(dev->wakeup.gpe_device, dev->wakeup.gpe_number, in acpi_enable_wakeup_devices()
66 if (!dev->wakeup.flags.valid in acpi_disable_wakeup_devices()
67 || sleep_state > (u32) dev->wakeup.sleep_state in acpi_disable_wakeup_devices()
69 || dev->wakeup.prepare_count)) in acpi_disable_wakeup_devices()
72 acpi_set_gpe_wake_mask(dev->wakeup.gpe_device, dev->wakeup.gpe_number, in acpi_disable_wakeup_devices()
91 acpi_enable_gpe(dev->wakeup.gpe_device, in acpi_wakeup_device_init()
92 dev->wakeup.gpe_number); in acpi_wakeup_device_init()
Ddevice_pm.c413 if (adev->wakeup.flags.notifier_present) { in acpi_pm_notify_handler()
414 pm_wakeup_ws_event(adev->wakeup.ws, 0, acpi_s2idle_wakeup()); in acpi_pm_notify_handler()
415 if (adev->wakeup.context.func) { in acpi_pm_notify_handler()
417 adev->wakeup.context.func, in acpi_pm_notify_handler()
418 dev_name(adev->wakeup.context.dev)); in acpi_pm_notify_handler()
419 adev->wakeup.context.func(&adev->wakeup.context); in acpi_pm_notify_handler()
449 if (adev->wakeup.flags.notifier_present) in acpi_add_pm_notifier()
458 adev->wakeup.ws = wakeup_source_register(dev_name(&adev->dev)); in acpi_add_pm_notifier()
459 adev->wakeup.context.dev = dev; in acpi_add_pm_notifier()
460 adev->wakeup.context.func = func; in acpi_add_pm_notifier()
[all …]
/Linux-v4.19/arch/arm/mach-imx/
Dmach-pcm037_eet.c70 .wakeup = 0,
76 .wakeup = 0,
82 .wakeup = 0,
88 .wakeup = 0,
94 .wakeup = 0,
100 .wakeup = 0,
106 .wakeup = 0,
112 .wakeup = 0,
118 .wakeup = 0,
124 .wakeup = 0,
[all …]
/Linux-v4.19/arch/arm/boot/dts/
Dste-nomadik-pinctrl.dtsi56 ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
62 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
68 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
75 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
81 ste,sleep-wakeup = <SLPM_WAKEUP_DISABLE>;
88 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
95 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
102 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
109 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
115 ste,sleep-wakeup = <SLPM_WAKEUP_ENABLE>;
[all …]
Domap3-gta04a3.dts35 st,wakeup-x-lo;
36 st,wakeup-x-hi;
37 st,wakeup-y-lo;
38 st,wakeup-y-hi;
39 st,wakeup-z-lo;
40 st,wakeup-z-hi;
Domap3-overo-common-peripherals.dtsi71 st,wakeup-x-lo;
72 st,wakeup-x-hi;
73 st,wakeup-y-lo;
74 st,wakeup-y-hi;
75 st,wakeup-z-lo;
76 st,wakeup-z-hi;
/Linux-v4.19/Documentation/devicetree/bindings/net/
Dmarvell-bt-8xxx.txt20 - marvell,wakeup-pin: It represents wakeup pin number of the bluetooth chip.
21 firmware will use the pin to wakeup host system (u16).
22 - marvell,wakeup-gap-ms: wakeup gap represents wakeup latency of the host
29 named "wakeup" from the interrupt-names and interrupt arrays.
32 bluetooth chip can wakeup host platform under certain
38 IRQ pin 119 is used as system wakeup source interrupt.
39 wakeup pin 13 and gap 100ms are configured so that firmware can wakeup host
40 using this device side pin and wakeup latency.
63 marvell,wakeup-pin = /bits/ 16 <0x0d>;
64 marvell,wakeup-gap-ms = /bits/ 16 <0x64>;
[all …]
Dnokia-bluetooth.txt8 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 */
Dbroadcom-bluetooth.txt19 - device-wakeup-gpios: GPIO specifier, used to wakeup the controller
20 - host-wakeup-gpios: GPIO specifier, used to wakeup the host processor
/Linux-v4.19/Documentation/devicetree/bindings/iio/accel/
Dlis302.txt47 - 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-v4.19/arch/powerpc/sysdev/
Dfsl_mpic_timer_wakeup.c32 struct fsl_mpic_timer_wakeup *wakeup = in fsl_free_resource() local
37 if (wakeup->timer) { in fsl_free_resource()
38 disable_irq_wake(wakeup->timer->irq); in fsl_free_resource()
39 mpic_free_timer(wakeup->timer); in fsl_free_resource()
42 wakeup->timer = NULL; in fsl_free_resource()
48 struct fsl_mpic_timer_wakeup *wakeup = dev_id; in fsl_mpic_timer_irq() local
50 schedule_work(&wakeup->free_work); in fsl_mpic_timer_irq()
52 return wakeup->timer ? IRQ_HANDLED : IRQ_NONE; in fsl_mpic_timer_irq()
/Linux-v4.19/Documentation/usb/
Dchipidea.txt77 2. How to enable USB as system wakeup source
79 Below is the example for how to enable USB as system wakeup source
82 2.1 Enable core's wakeup
83 echo enabled > /sys/bus/platform/devices/ci_hdrc.0/power/wakeup
84 2.2 Enable glue layer's wakeup
85 echo enabled > /sys/bus/platform/devices/2184000.usb/power/wakeup
86 2.3 Enable PHY's wakeup (optional)
87 echo enabled > /sys/bus/platform/devices/20c9000.usbphy/power/wakeup
88 2.4 Enable roothub's wakeup
89 echo enabled > /sys/bus/usb/devices/usb1/power/wakeup
[all …]
/Linux-v4.19/drivers/base/power/
Dsysfs.c346 static DEVICE_ATTR_RW(wakeup);
355 if (dev->power.wakeup) { in wakeup_count_show()
356 count = dev->power.wakeup->wakeup_count; in wakeup_count_show()
373 if (dev->power.wakeup) { in wakeup_active_count_show()
374 count = dev->power.wakeup->active_count; in wakeup_active_count_show()
391 if (dev->power.wakeup) { in wakeup_abort_count_show()
392 count = dev->power.wakeup->wakeup_count; in wakeup_abort_count_show()
409 if (dev->power.wakeup) { in wakeup_expire_count_show()
410 count = dev->power.wakeup->expire_count; in wakeup_expire_count_show()
426 if (dev->power.wakeup) { in wakeup_active_show()
[all …]
/Linux-v4.19/arch/x86/realmode/rm/
DMakefile17 wakeup-objs := wakeup_asm.o wakemain.o video-mode.o
18 wakeup-objs += copy.o bioscall.o regs.o
23 wakeup-objs += video-vga.o
24 wakeup-objs += video-vesa.o
25 wakeup-objs += video-bios.o
31 realmode-$(CONFIG_ACPI_SLEEP) += $(wakeup-objs)
/Linux-v4.19/Documentation/devicetree/bindings/net/wireless/
Dmarvell-8xxx.txt29 - marvell,wakeup-pin : a wakeup pin number of wifi chip which will be configured
30 to firmware. Firmware will wakeup the host using this pin
34 so that the wifi chip can wakeup host platform under certain condition.
46 IRQ pin 38 is used as system wakeup source interrupt. wakeup pin 3 is configured
47 so that firmware can wakeup host using this device side pin.
66 marvell,wakeup-pin = <3>;
/Linux-v4.19/Documentation/devicetree/bindings/soc/fsl/
Drcpm.txt8 - fsl,#rcpm-wakeup-cells : The number of IPPDEXPCR register cells in the
9 fsl,rcpm-wakeup property.
37 fsl,#rcpm-wakeup-cells = <2>;
42 Required fsl,rcpm-wakeup property should be added to a device node if the device
43 can be used as a wakeup source.
45 - fsl,rcpm-wakeup: Consists of a phandle to the rcpm node and the IPPDEXPCR
47 "fsl,#rcpm-wakeup-cells" in the rcpm node. The first register cell is
62 fsl,rcpm-wakeup = <&rcpm 0x0 0x40000000>;
/Linux-v4.19/Documentation/power/
Dsuspend-and-interrupts.txt59 System wakeup interrupts generally need to be configured to wake up the system
65 during system sleep so as to trigger a system wakeup when needed. For example,
67 handling system wakeup events. Then, if a given interrupt line is supposed to
70 After wakeup, it generally is better to disable that input to prevent the
75 handling the given IRQ as a system wakeup interrupt line and disable_irq_wake()
84 of the points where the suspend thread looks for pending wakeup events).
86 This way every interrupt from a wakeup interrupt source will either cause the
89 not executed for system wakeup IRQs. They are only executed for IRQF_NO_SUSPEND
90 IRQs at that time, but those IRQs should not be configured for system wakeup
103 IRQ subsystem to trigger a system wakeup.
[all …]
/Linux-v4.19/Documentation/devicetree/bindings/pinctrl/
Dsamsung-pinctrl.txt41 wakeup-interrupt-controller {
42 compatible = "samsung,exynos7-wakeup-eint";
120 is the external gpio interrupt and second is the external wakeup interrupts.
121 The difference between the two is that the external wakeup interrupts can be
122 used as system wakeup events.
144 B. External Wakeup Interrupts: For supporting external wakeup interrupts, a
145 child node representing the external wakeup interrupt controller should be
148 Only one pin-controller device node can include external wakeup interrupts
154 - compatible: identifies the type of the external wakeup interrupt controller
156 - samsung,s3c2410-wakeup-eint: represents wakeup interrupt controller
[all …]
/Linux-v4.19/drivers/slimbus/
Dsched.c25 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()
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-v4.19/Documentation/ABI/testing/
Dsysfs-class-rc-nuvoton6 Reading this file returns the stored CIR wakeup sequence.
9 The same format can be used to store a wakeup sequence
12 Note: Some systems reset the stored wakeup sequence to a
14 wakeup sequence in a file and set it on boot using e.g.
/Linux-v4.19/Documentation/devicetree/bindings/mailbox/
Dstm32-ipcc.txt17 - "wakeup"
19 free" and "system wakeup".
25 - wakeup-source: Flag to indicate whether this device can wake up the system
38 interrupt-names = "rx", "tx", "wakeup";
40 wakeup-source;
/Linux-v4.19/Documentation/media/uapi/rc/
Drc-sysfs-nodes.rst93 wakeup filter, something like::
102 The enabled wakeup protocol is shown in [] brackets.
106 Writing "proto" will use "proto" for wakeup events.
108 Writing "none" will disable wakeup.
111 protocol name is used, or if wakeup is not supported by the hardware.
119 Sets the scancode wakeup filter expected value. Use in combination with
121 the bits set in the wakeup filter mask to trigger a system wake event.
127 This value may be reset to 0 if the wakeup protocol is altered.
135 Sets the scancode wakeup filter mask of bits to compare. Use in
144 This value may be reset to 0 if the wakeup protocol is altered.
/Linux-v4.19/Documentation/devicetree/bindings/input/
Dcypress,cyapa.txt10 - wakeup-source: touchpad can be used as a wakeup source.
29 wakeup-source;
38 wakeup-source;
/Linux-v4.19/drivers/gnss/
Dsirf.c34 struct gpio_desc *wakeup; member
122 ret = gpiod_get_value_cansleep(data->wakeup); in sirf_wakeup_handler()
217 if (data->wakeup) in sirf_suspend()
228 if (data->wakeup) in sirf_resume()
298 data->wakeup = devm_gpiod_get_optional(dev, "sirf,wakeup", in sirf_probe()
300 if (IS_ERR(data->wakeup)) in sirf_probe()
307 if (!data->wakeup) { in sirf_probe()
314 if (data->wakeup) { in sirf_probe()
315 ret = gpiod_to_irq(data->wakeup); in sirf_probe()

12345678910>>...27