/openbmc/linux/drivers/acpi/ |
H 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 …]
|
H A D | device_pm.c | 550 adev->wakeup.context.func(&adev->wakeup.context); in acpi_pm_notify_handler() 720 wakeup = device_may_wakeup(dev) && adev->wakeup.flags.valid in acpi_dev_pm_get_state() 735 wakeup = true; in acpi_dev_pm_get_state() 738 wakeup = adev->wakeup.flags.valid; in acpi_dev_pm_get_state() 748 if (wakeup) { in acpi_dev_pm_get_state() 852 struct acpi_device_wakeup *wakeup = &adev->wakeup; in __acpi_device_wakeup_enable() local 870 acpi_disable_gpe(wakeup->gpe_device, wakeup->gpe_number); in __acpi_device_wakeup_enable() 879 status = acpi_enable_gpe(wakeup->gpe_device, wakeup->gpe_number); in __acpi_device_wakeup_enable() 928 struct acpi_device_wakeup *wakeup = &adev->wakeup; in acpi_device_wakeup_disable() local 935 acpi_disable_gpe(wakeup->gpe_device, wakeup->gpe_number); in acpi_device_wakeup_disable() [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H 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 …]
|
H A D | sysfs-class-rc-nuvoton | 6 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.
|
/openbmc/linux/Documentation/devicetree/bindings/power/ |
H 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). 32 1. With "wakeup" interrupt name 38 interrupt-names = "ack", "err", "wakeup"; 39 wakeup-source; 42 2. Without "wakeup" interrupt name 51 wakeup-source; [all …]
|
/openbmc/openbmc/poky/meta/recipes-kernel/powertop/powertop/ |
H A D | 0001-wakeup_xxx.h-include-limits.h.patch | 13 In file included from wakeup/wakeup_usb.cpp:45:0: 25 src/wakeup/wakeup_ethernet.h | 1 + 26 src/wakeup/wakeup_usb.h | 1 + 29 diff --git a/src/wakeup/wakeup_ethernet.h b/src/wakeup/wakeup_ethernet.h 31 --- a/src/wakeup/wakeup_ethernet.h 32 +++ b/src/wakeup/wakeup_ethernet.h 40 #include "wakeup.h" 41 diff --git a/src/wakeup/wakeup_usb.h b/src/wakeup/wakeup_usb.h 43 --- a/src/wakeup/wakeup_usb.h 44 +++ b/src/wakeup/wakeup_usb.h [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | samsung,pinctrl-wakeup-interrupt.yaml | 32 - samsung,s3c2410-wakeup-eint 33 - samsung,s3c2412-wakeup-eint 34 - samsung,s3c64xx-wakeup-eint 35 - samsung,s5pv210-wakeup-eint 36 - samsung,exynos4210-wakeup-eint 37 - samsung,exynos7-wakeup-eint 38 - samsung,exynos850-wakeup-eint 39 - samsung,exynosautov9-wakeup-eint 56 - samsung,s3c2410-wakeup-eint 57 - samsung,s3c2412-wakeup-eint [all …]
|
/openbmc/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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H 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 …]
|
H 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 */
|
/openbmc/linux/Documentation/devicetree/bindings/iio/accel/ |
H 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 …]
|
/openbmc/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:: 119 2.3 Enable PHY's wakeup (optional):: 123 2.4 Enable roothub's wakeup:: 125 echo enabled > /sys/bus/usb/devices/usb1/power/wakeup 127 2.5 Enable related device's wakeup:: 129 echo enabled > /sys/bus/usb/devices/1-1/power/wakeup [all …]
|
/openbmc/linux/arch/powerpc/sysdev/ |
H 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()
|
/openbmc/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
|
H A D | atmel,sama5d2-shdwc.yaml | 43 atmel,wakeup-rtc-timer: 47 atmel,wakeup-rtt-timer: 64 atmel,wakeup-active-high: 89 atmel,wakeup-rtt-timer: false 101 atmel,wakeup-rtc-timer; 110 atmel,wakeup-active-high;
|
/openbmc/linux/drivers/gnss/ |
H 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 …]
|
/openbmc/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;
|
H 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;
|
/openbmc/linux/drivers/base/power/ |
H 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 …]
|
/openbmc/linux/arch/x86/realmode/rm/ |
H A D | Makefile | 21 wakeup-objs := wakeup_asm.o wakemain.o video-mode.o 22 wakeup-objs += copy.o bioscall.o regs.o 27 wakeup-objs += video-vga.o 28 wakeup-objs += video-vesa.o 29 wakeup-objs += video-bios.o 35 realmode-$(CONFIG_ACPI_SLEEP) += $(wakeup-objs)
|
/openbmc/linux/Documentation/power/ |
H 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/soc/fsl/ |
H 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>;
|
/openbmc/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | marvell-8xxx.txt | 31 - marvell,wakeup-pin : a wakeup pin number of wifi chip which will be configured 32 to firmware. Firmware will wakeup the host using this pin 36 so that the wifi chip can wakeup host platform under certain condition. 48 IRQ pin 38 is used as system wakeup source interrupt. wakeup pin 3 is configured 49 so that firmware can wakeup host using this device side pin. 68 marvell,wakeup-pin = <3>;
|
/openbmc/linux/drivers/slimbus/ |
H 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()
|
/openbmc/linux/Documentation/devicetree/bindings/usb/ |
H A D | mediatek,mtk-xhci.yaml | 60 - description: optional, wakeup interrupt used to support runtime PM 66 - const: wakeup 128 wakeup-source: 129 description: enable USB remote wakeup, see power/wakeup-source.txt 132 mediatek,syscon-wakeup: 136 A phandle to syscon used to access the register of the USB wakeup glue 179 wakeup-source: [ 'mediatek,syscon-wakeup' ] 211 mediatek,syscon-wakeup = <&pericfg 0x400 1>; 212 wakeup-source;
|