/linux/drivers/acpi/ |
A D | wakeup.c | 17 bool (*wakeup)(void *context); member 44 if (!dev->wakeup.flags.valid 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() 69 if (!dev->wakeup.flags.valid in acpi_disable_wakeup_devices() 72 || dev->wakeup.prepare_count)) in acpi_disable_wakeup_devices() 75 acpi_set_gpe_wake_mask(dev->wakeup.gpe_device, dev->wakeup.gpe_number, in acpi_disable_wakeup_devices() 93 dev->wakeup.gpe_number); in acpi_wakeup_device_init() 127 handler->wakeup = wakeup; in acpi_register_wakeup_handler() 150 if (handler->wakeup == wakeup && handler->context == context) { in acpi_unregister_wakeup_handler() [all …]
|
A D | device_pm.c | 462 adev->wakeup.context.func(&adev->wakeup.context); in acpi_pm_notify_handler() 589 bool wakeup = false; in acpi_dev_pm_get_state() local 634 wakeup = device_may_wakeup(dev) && adev->wakeup.flags.valid in acpi_dev_pm_get_state() 637 wakeup = adev->wakeup.flags.valid; in acpi_dev_pm_get_state() 647 if (wakeup) { in acpi_dev_pm_get_state() 751 struct acpi_device_wakeup *wakeup = &adev->wakeup; in __acpi_device_wakeup_enable() local 769 acpi_disable_gpe(wakeup->gpe_device, wakeup->gpe_number); in __acpi_device_wakeup_enable() 778 status = acpi_enable_gpe(wakeup->gpe_device, wakeup->gpe_number); in __acpi_device_wakeup_enable() 827 struct acpi_device_wakeup *wakeup = &adev->wakeup; in acpi_device_wakeup_disable() local 834 acpi_disable_gpe(wakeup->gpe_device, wakeup->gpe_number); in acpi_device_wakeup_disable() [all …]
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-class-wakeup | 1 What: /sys/class/wakeup/ 8 What: /sys/class/wakeup/.../name 14 What: /sys/class/wakeup/.../active_count 21 What: /sys/class/wakeup/.../event_count 26 associated with the wakeup source. 28 What: /sys/class/wakeup/.../wakeup_count 35 What: /sys/class/wakeup/.../expire_count 42 What: /sys/class/wakeup/.../active_time_ms 50 What: /sys/class/wakeup/.../total_time_ms 57 What: /sys/class/wakeup/.../max_time_ms [all …]
|
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/power/ |
A D | wakeup-source.txt | 1 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). 33 1. With "wakeup" interrupt name 39 interrupt-names = "ack", "err", "wakeup"; 40 wakeup-source; 43 2. Without "wakeup" interrupt name 52 wakeup-source; [all …]
|
/linux/arch/arm/boot/dts/ |
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 …]
|
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;
|
A D | omap3-overo-common-peripherals.dtsi | 68 st,wakeup-x-lo; 69 st,wakeup-x-hi; 70 st,wakeup-y-lo; 71 st,wakeup-y-hi; 72 st,wakeup-z-lo; 73 st,wakeup-z-hi;
|
/linux/Documentation/devicetree/bindings/net/ |
A D | marvell-bt-8xxx.txt | 20 - marvell,wakeup-pin: It represents wakeup pin number of the bluetooth chip. 22 - marvell,wakeup-gap-ms: wakeup gap represents wakeup latency of the host 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>; 78 interrupt-names = "wakeup"; 80 marvell,wakeup-pin = /bits/ 16 <0x0d>; [all …]
|
A D | nokia-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 */
|
A D | broadcom-bluetooth.yaml | 38 device-wakeup-gpios: 41 wakeup the controller. This is using the BT_GPIO_0 44 host-wakeup-gpios: 48 to wakeup the host processor. This is using he BT_GPIO_1 50 by interrupts and "host-wakeup" interrupt-names 103 - const: host-wakeup 126 device-wakeup-gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
|
/linux/Documentation/devicetree/bindings/iio/accel/ |
A D | lis302.txt | 49 - st,wakeup-threshold: set wakeup threshold 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; 87 st,wakeup-z-hi; 106 st,wakeup-x-lo; 107 st,wakeup-x-hi; [all …]
|
/linux/Documentation/usb/ |
A D | chipidea.rst | 105 2. How to enable USB as system wakeup source 107 Below is the example for how to enable USB as system wakeup source 110 2.1 Enable core's wakeup:: 112 echo enabled > /sys/bus/platform/devices/ci_hdrc.0/power/wakeup 114 2.2 Enable glue layer's wakeup:: 118 2.3 Enable PHY's wakeup (optional):: 122 2.4 Enable roothub's wakeup:: 124 echo enabled > /sys/bus/usb/devices/usb1/power/wakeup 126 2.5 Enable related device's wakeup:: 128 echo enabled > /sys/bus/usb/devices/1-1/power/wakeup [all …]
|
/linux/arch/powerpc/sysdev/ |
A D | fsl_mpic_timer_wakeup.c | 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()
|
/linux/drivers/gnss/ |
A D | sirf.c | 45 struct gpio_desc *wakeup; member 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() 450 if (IS_ERR(data->wakeup)) { in sirf_probe() 463 if (data->wakeup) { in sirf_probe() 482 if (!data->wakeup) { in sirf_probe() 525 if (data->wakeup) in sirf_probe() [all …]
|
/linux/drivers/base/power/ |
A D | sysfs.c | 347 static DEVICE_ATTR_RW(wakeup); 356 if (dev->power.wakeup) { in wakeup_count_show() 377 if (dev->power.wakeup) { in wakeup_active_count_show() 398 if (dev->power.wakeup) { in wakeup_abort_count_show() 419 if (dev->power.wakeup) { in wakeup_expire_count_show() 439 if (dev->power.wakeup) { in wakeup_active_show() 460 if (dev->power.wakeup) { in wakeup_total_time_ms_show() 480 if (dev->power.wakeup) { in wakeup_max_time_ms_show() 501 if (dev->power.wakeup) { in wakeup_last_time_ms_show() 515 if (dev->power.wakeup && dev->power.wakeup->dev) in dpm_sysfs_wakeup_change_owner() [all …]
|
/linux/Documentation/power/ |
A D | suspend-and-interrupts.rst | 61 System wakeup interrupts generally need to be configured to wake up the system 72 After wakeup, it generally is better to disable that input to prevent the 86 of the points where the suspend thread looks for pending wakeup events). 92 IRQs at that time, but those IRQs should not be configured for system wakeup 105 IRQ subsystem to trigger a system wakeup. 107 System wakeup interrupts, in turn, will trigger wakeup from suspend-to-idle in 109 is that the wakeup from suspend-to-idle is signaled using the usual working 127 to individual interrupt handlers, so sharing an IRQ between a system wakeup 131 In rare cases an IRQ can be shared between a wakeup device driver and an 132 IRQF_NO_SUSPEND user. In order for this to be safe, the wakeup device driver [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
A D | samsung-pinctrl.txt | 43 wakeup-interrupt-controller { 44 compatible = "samsung,exynos7-wakeup-eint"; 124 used as system wakeup events. 158 - samsung,s3c2410-wakeup-eint: represents wakeup interrupt controller 160 - samsung,s3c2412-wakeup-eint: represents wakeup interrupt controller 162 - samsung,s3c64xx-wakeup-eint: represents wakeup interrupt controller 164 - samsung,s5pv210-wakeup-eint: represents wakeup interrupt controller 166 - samsung,exynos4210-wakeup-eint: represents wakeup interrupt controller 168 - samsung,exynos7-wakeup-eint: represents wakeup interrupt controller 326 wakeup-interrupt-controller { [all …]
|
/linux/Documentation/devicetree/bindings/net/wireless/ |
A D | marvell-8xxx.txt | 29 - 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/arch/x86/realmode/rm/ |
A D | Makefile | 20 wakeup-objs := wakeup_asm.o wakemain.o video-mode.o 21 wakeup-objs += copy.o bioscall.o regs.o 26 wakeup-objs += video-vga.o 27 wakeup-objs += video-vesa.o 28 wakeup-objs += video-bios.o 34 realmode-$(CONFIG_ACPI_SLEEP) += $(wakeup-objs)
|
/linux/Documentation/devicetree/bindings/soc/fsl/ |
A D | rcpm.txt | 8 - #fsl,rcpm-wakeup-cells : The number of IPPDEXPCR register cells in the 9 fsl,rcpm-wakeup property. 43 #fsl,rcpm-wakeup-cells = <2>; 48 Required fsl,rcpm-wakeup property should be added to a device node if the device 49 can be used as a wakeup source. 51 - fsl,rcpm-wakeup: Consists of a phandle to the rcpm node and the IPPDEXPCR 53 "#fsl,rcpm-wakeup-cells" in the rcpm node. The first register cell is 68 fsl,rcpm-wakeup = <&rcpm 0x0 0x40000000>;
|
/linux/Documentation/devicetree/bindings/usb/ |
A D | mediatek,mtk-xhci.yaml | 56 - description: optional, wakeup interrupt used to support runtime PM 61 - const: wakeup 126 wakeup-source: 127 description: enable USB remote wakeup, see power/wakeup-source.txt 130 mediatek,syscon-wakeup: 134 A phandle to syscon used to access the register of the USB wakeup glue 173 wakeup-source: [ 'mediatek,syscon-wakeup' ] 205 mediatek,syscon-wakeup = <&pericfg 0x400 1>; 206 wakeup-source;
|
/linux/drivers/slimbus/ |
A D | sched.c | 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() 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/Documentation/userspace-api/media/rc/ |
A D | rc-sysfs-nodes.rst | 93 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/Documentation/devicetree/bindings/arm/ |
A D | atmel-sysregs.txt | 79 - atmel,wakeup-mode: String, operation mode of the wakeup mode. 81 - atmel,wakeup-counter: Counter on Wake-up 0 (between 0x0 and 0xf). 84 - atmel,wakeup-rtt-timer: boolean to enable Real-time Timer Wake-up. 87 - atmel,wakeup-rtc-timer: boolean to enable Real-time Clock Wake-up. 88 - atmel,wakeup-rtt-timer: boolean to enable Real-time Timer Wake-up. 91 - atmel,wakeup-rtc-timer: boolean to enable Real-time Clock Wake-up. 117 - atmel,wakeup-rtc-timer: boolean to enable Real-Time Clock wake-up. 120 - atmel,wakeup-rtt-timer: boolean to enable Real-time Timer Wake-up. 134 - atmel,wakeup-active-high: boolean, the corresponding wake-up input described 147 atmel,wakeup-rtc-timer; [all …]
|