Home
last modified time | relevance | path

Searched refs:wakeup (Results 1 – 200 of 471) sorted by relevance

123

/linux-4.4.14/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. "isil,irq2-can-wakeup-machine" Documentation/devicetree/bindings/rtc/isil,isl12057.txt
[all …]
/linux-4.4.14/drivers/acpi/
Dwakeup.c38 if (!dev->wakeup.flags.valid in acpi_enable_wakeup_devices()
39 || sleep_state > (u32) dev->wakeup.sleep_state in acpi_enable_wakeup_devices()
41 || dev->wakeup.prepare_count)) in acpi_enable_wakeup_devices()
48 acpi_set_gpe_wake_mask(dev->wakeup.gpe_device, dev->wakeup.gpe_number, in acpi_enable_wakeup_devices()
65 if (!dev->wakeup.flags.valid in acpi_disable_wakeup_devices()
66 || sleep_state > (u32) dev->wakeup.sleep_state in acpi_disable_wakeup_devices()
68 || dev->wakeup.prepare_count)) in acpi_disable_wakeup_devices()
71 acpi_set_gpe_wake_mask(dev->wakeup.gpe_device, dev->wakeup.gpe_number, in acpi_disable_wakeup_devices()
90 acpi_enable_gpe(dev->wakeup.gpe_device, in acpi_wakeup_device_init()
91 dev->wakeup.gpe_number); in acpi_wakeup_device_init()
Ddevice_pm.c399 if (adev->wakeup.flags.notifier_present) { in acpi_pm_notify_handler()
400 __pm_wakeup_event(adev->wakeup.ws, 0); in acpi_pm_notify_handler()
401 if (adev->wakeup.context.work.func) in acpi_pm_notify_handler()
402 queue_pm_work(&adev->wakeup.context.work); in acpi_pm_notify_handler()
431 if (adev->wakeup.flags.notifier_present) in acpi_add_pm_notifier()
434 adev->wakeup.ws = wakeup_source_register(dev_name(&adev->dev)); in acpi_add_pm_notifier()
435 adev->wakeup.context.dev = dev; in acpi_add_pm_notifier()
437 INIT_WORK(&adev->wakeup.context.work, work_func); in acpi_add_pm_notifier()
444 adev->wakeup.flags.notifier_present = true; in acpi_add_pm_notifier()
461 if (!adev->wakeup.flags.notifier_present) in acpi_remove_pm_notifier()
[all …]
Dscan.c450 if (device->wakeup.flags.valid) in acpi_free_power_resources_lists()
451 acpi_power_resources_list_free(&device->wakeup.resources); in acpi_free_power_resources_lists()
665 if (device->wakeup.flags.valid) in acpi_device_add()
746 struct acpi_device_wakeup *wakeup) in acpi_bus_extract_wakeup_device_power_package() argument
754 if (!wakeup) in acpi_bus_extract_wakeup_device_power_package()
757 INIT_LIST_HEAD(&wakeup->resources); in acpi_bus_extract_wakeup_device_power_package()
782 wakeup->gpe_device = in acpi_bus_extract_wakeup_device_power_package()
784 wakeup->gpe_number = in acpi_bus_extract_wakeup_device_power_package()
787 wakeup->gpe_device = NULL; in acpi_bus_extract_wakeup_device_power_package()
788 wakeup->gpe_number = element->integer.value; in acpi_bus_extract_wakeup_device_power_package()
[all …]
Dproc.c34 if (!dev->wakeup.flags.valid) in acpi_system_wakeup_device_seq_show()
39 (u32) dev->wakeup.sleep_state); in acpi_system_wakeup_device_seq_show()
45 dev->wakeup.flags.run_wake ? '*' : ' ', in acpi_system_wakeup_device_seq_show()
61 dev->wakeup.flags.run_wake ? '*' : ' ', in acpi_system_wakeup_device_seq_show()
114 if (!dev->wakeup.flags.valid) in acpi_system_write_wakeup_device()
Dpower.c440 if (adev->wakeup.flags.valid) in acpi_power_add_remove_device()
441 acpi_power_expose_hide(adev, &adev->wakeup.resources, in acpi_power_add_remove_device()
534 dev->wakeup.flags.valid = 0; in acpi_device_sleep_wake()
542 dev->wakeup.flags.valid = 0; in acpi_device_sleep_wake()
560 if (!dev || !dev->wakeup.flags.valid) in acpi_enable_wakeup_device_power()
565 if (dev->wakeup.prepare_count++) in acpi_enable_wakeup_device_power()
568 list_for_each_entry(entry, &dev->wakeup.resources, node) { in acpi_enable_wakeup_device_power()
584 dev->wakeup.flags.valid = 0; in acpi_enable_wakeup_device_power()
594 dev->wakeup.prepare_count = 0; in acpi_enable_wakeup_device_power()
612 if (!dev || !dev->wakeup.flags.valid) in acpi_disable_wakeup_device_power()
[all …]
/linux-4.4.14/arch/arm/mach-imx/
Dmach-pcm037_eet.c73 .wakeup = 0,
79 .wakeup = 0,
85 .wakeup = 0,
91 .wakeup = 0,
97 .wakeup = 0,
103 .wakeup = 0,
109 .wakeup = 0,
115 .wakeup = 0,
121 .wakeup = 0,
127 .wakeup = 0,
[all …]
Dmach-imx27_visstrim_m10.c284 .wakeup = 1,
292 .wakeup = 1,
300 .wakeup = 1,
/linux-4.4.14/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;
Domap3-ldp.dts38 gpio-key,wakeup;
45 gpio-key,wakeup;
52 gpio-key,wakeup;
59 gpio-key,wakeup;
66 gpio-key,wakeup;
73 gpio-key,wakeup;
80 gpio-key,wakeup;
87 gpio-key,wakeup;
94 gpio-key,wakeup;
Domap3-pandora-common.dtsi87 gpio-key,wakeup;
94 gpio-key,wakeup;
101 gpio-key,wakeup;
108 gpio-key,wakeup;
115 gpio-key,wakeup;
122 gpio-key,wakeup;
129 gpio-key,wakeup;
136 gpio-key,wakeup;
143 gpio-key,wakeup;
150 gpio-key,wakeup;
[all …]
Dat91sam9261ek.dts143 wakeup-source;
187 wakeup-source;
194 wakeup-source;
201 wakeup-source;
208 wakeup-source;
Demev2-kzm9d.dts38 wakeup-source;
45 wakeup-source;
52 wakeup-source;
59 wakeup-source;
Dr8a7791-koelsch.dts82 gpio-key,wakeup;
89 gpio-key,wakeup;
96 gpio-key,wakeup;
103 gpio-key,wakeup;
110 gpio-key,wakeup;
117 gpio-key,wakeup;
124 gpio-key,wakeup;
131 gpio-key,wakeup;
138 gpio-key,wakeup;
145 gpio-key,wakeup;
[all …]
Dat91sam9g20ek_common.dtsi108 atmel,wakeup-counter = <10>;
109 atmel,wakeup-rtt-timer;
200 wakeup-source;
207 wakeup-source;
Dusb_a9260.dts27 atmel,wakeup-counter = <10>;
28 atmel,wakeup-rtt-timer;
Dlogicpd-torpedo-37xx-devkit.dts26 gpio-key,wakeup;
33 gpio-key,wakeup;
40 gpio-key,wakeup;
47 gpio-key,wakeup;
Dusb_a9263.dts69 atmel,wakeup-counter = <10>;
70 atmel,wakeup-rtt-timer;
146 wakeup-source;
Dimx53-tx53-x13x.dts103 wakeup-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
104 linux,wakeup;
128 wakeup-gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>;
129 linux,wakeup;
Dat91-qil_a9260.dts109 atmel,wakeup-counter = <10>;
110 atmel,wakeup-rtt-timer;
186 wakeup-source;
Danimeo_ip.dts158 wakeup-source;
165 wakeup-source;
172 wakeup-source;
Domap3-overo-palo43-common.dtsi44 gpio-key,wakeup;
50 gpio-key,wakeup;
Domap3-overo-palo35-common.dtsi44 gpio-key,wakeup;
50 gpio-key,wakeup;
Dam335x-pepper.dts116 st,wakeup-x-lo;
117 st,wakeup-x-hi;
118 st,wakeup-y-lo;
119 st,wakeup-y-hi;
120 st,wakeup-z-lo;
121 st,wakeup-z-hi;
630 gpio-key,wakeup;
637 gpio-key,wakeup;
644 gpio-key,wakeup;
Domap3-overo-gallop43-common.dtsi44 gpio-key,wakeup;
50 gpio-key,wakeup;
Ds3c6400.dtsi27 valid-wakeup-mask = <0x00200004>;
32 valid-wakeup-mask = <0x53020000>;
Dexynos4210-origen.dts63 gpio-key,wakeup;
70 gpio-key,wakeup;
77 gpio-key,wakeup;
84 gpio-key,wakeup;
91 gpio-key,wakeup;
Domap3-overo-chestnut43-common.dtsi44 gpio-key,wakeup;
50 gpio-key,wakeup;
Ds3c6410.dtsi31 valid-wakeup-mask = <0x00200004>;
36 valid-wakeup-mask = <0x53020000>;
Dexynos5250-arndale.dts37 gpio-key,wakeup;
44 gpio-key,wakeup;
51 gpio-key,wakeup;
58 gpio-key,wakeup;
65 gpio-key,wakeup;
68 wakeup {
72 gpio-key,wakeup;
Dat91-kizbox2.dts174 wakeup-source;
181 wakeup-source;
188 wakeup-source;
Dtegra30-colibri-eval-v3.dts140 wakeup {
141 label = "SODIMM pin 45 wakeup";
145 gpio-key,wakeup;
Ds3c24xx.dtsi34 wakeup-interrupt-controller {
35 compatible = "samsung,s3c2410-wakeup-eint";
Dimx53-ard.dts72 gpio-key,wakeup;
79 gpio-key,wakeup;
86 gpio-key,wakeup;
Dat91-kizboxmini.dts101 wakeup-source;
108 wakeup-source;
Dat91-kizbox.dts88 wakeup-source;
95 wakeup-source;
Dimx6q-tx6q-1110.dts79 wakeup-gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>;
80 linux,wakeup;
Dimx6dl-tx6u-811x.dts79 wakeup-gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>;
80 linux,wakeup;
Dam335x-evm.dts86 gpio-key,wakeup;
93 gpio-key,wakeup;
460 st,wakeup-x-lo;
461 st,wakeup-x-hi;
462 st,wakeup-y-lo;
463 st,wakeup-y-hi;
464 st,wakeup-z-lo;
465 st,wakeup-z-hi;
Dste-snowball.dts50 wakeup-source;
57 wakeup-source;
64 wakeup-source;
71 wakeup-source;
78 wakeup-source;
Dam335x-evmsk.dts126 gpio-key,wakeup;
471 st,wakeup-x-lo;
472 st,wakeup-x-hi;
473 st,wakeup-y-lo;
474 st,wakeup-y-hi;
475 st,wakeup-z-lo;
476 st,wakeup-z-hi;
Dat91sam9rlek.dts219 wakeup-source;
226 wakeup-source;
Dat91sam9263ek.dts207 wakeup-source;
214 wakeup-source;
Dste-nomadik-nhk15.dts98 wakeup-source;
140 wakeup-source;
Dsama5d3xdm.dtsi21 wakeup-source;
Dexynos5250-spring.dts40 gpio-key,wakeup;
49 gpio-key,wakeup;
118 wakeup-source;
352 wakeup-source;
391 wakeup-source;
Dsama5d35ek.dts52 wakeup-source;
Dimx6qdl-sabresd.dtsi82 gpio-key,wakeup;
89 gpio-key,wakeup;
96 gpio-key,wakeup;
326 wakeup-gpios = <&gpio6 7 0>;
Dexynos5250-snow-common.dtsi40 gpio-key,wakeup;
49 gpio-key,wakeup;
94 wakeup-source;
287 wakeup-source;
436 wakeup-source;
Dr8a7790-lager.dts80 gpio-key,wakeup;
87 gpio-key,wakeup;
94 gpio-key,wakeup;
101 gpio-key,wakeup;
Domap3-n900.dts70 gpio-key,wakeup;
77 gpio-key,wakeup;
84 gpio-key,wakeup;
91 gpio-key,wakeup;
99 gpio-key,wakeup;
660 st,wakeup-x-hi;
661 st,wakeup-y-hi;
662 st,wakeup-threshold = <(800/18)>; /* millig-value / 18 to get HW values */
Dtegra30-apalis-eval.dts194 wakeup {
199 gpio-key,wakeup;
Ds3c64xx.dtsi193 wakeup-interrupt-controller {
194 compatible = "samsung,s3c64xx-wakeup-eint";
Domap3-panel-sharp-ls037v7dw01.dtsi69 linux,wakeup;
Domap3-devkit8000-lcd-common.dtsi71 linux,wakeup;
Dspear320-hmi.dts144 gpio-key,wakeup = <1>;
152 gpio-key,wakeup = <1>;
Dusb_a9260_common.dtsi118 wakeup-source;
Domap3-overo-alto35-common.dtsi51 gpio-key,wakeup;
Dat91sam9x5dm.dtsi23 wakeup-source;
Dat91sam9m10g45ek.dts317 wakeup-source;
324 wakeup-source;
Dimx6ul-14x14-evk.dts134 enable-sdio-wakeup;
144 enable-sdio-wakeup;
Dexynos4412-odroidx.dts51 gpio-key,wakeup;
/linux-4.4.14/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-4.4.14/Documentation/usb/
Dchipidea.txt73 2. How to enable USB as system wakeup source
75 Below is the example for how to enable USB as system wakeup source
78 2.1 Enable core's wakeup
79 echo enabled > /sys/bus/platform/devices/ci_hdrc.0/power/wakeup
80 2.2 Enable glue layer's wakeup
81 echo enabled > /sys/bus/platform/devices/2184000.usb/power/wakeup
82 2.3 Enable PHY's wakeup (optional)
83 echo enabled > /sys/bus/platform/devices/20c9000.usbphy/power/wakeup
84 2.4 Enable roothub's wakeup
85 echo enabled > /sys/bus/usb/devices/usb1/power/wakeup
[all …]
Dpower-management.txt72 LAN"; we will refer to it generically as "remote wakeup". When a
73 device is enabled for remote wakeup and it is suspended, it may resume
107 same reason, an autosuspended device will usually have remote wakeup
108 enabled, if the device supports remote wakeup.
122 remote wakeup (triggered by the device). Internal events are those
134 relevant attribute files are: wakeup, control, and
143 power/wakeup
146 remote wakeup. Otherwise the file contains either the
149 whether or not remote wakeup will be enabled when the
276 causing the keyboard to do a remote wakeup all right, will nonetheless
[all …]
/linux-4.4.14/arch/blackfin/mach-bf609/
Dpm.c201 unsigned long wakeup = 0; in bf609_cpu_pm_enter() local
205 wakeup |= PA15WE; in bf609_cpu_pm_enter()
212 wakeup |= PB15WE; in bf609_cpu_pm_enter()
219 wakeup |= PC15WE; in bf609_cpu_pm_enter()
226 wakeup |= PD06WE; in bf609_cpu_pm_enter()
233 wakeup |= PE12WE; in bf609_cpu_pm_enter()
240 wakeup |= PG04WE; in bf609_cpu_pm_enter()
247 wakeup |= PG13WE; in bf609_cpu_pm_enter()
254 wakeup |= USBWE; in bf609_cpu_pm_enter()
268 bfin_deepsleep(wakeup, wakeup_pol); in bf609_cpu_pm_enter()
[all …]
/linux-4.4.14/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-4.4.14/arch/x86/realmode/rm/
DMakefile13 wakeup-objs := wakeup_asm.o wakemain.o video-mode.o
14 wakeup-objs += copy.o bioscall.o regs.o
19 wakeup-objs += video-vga.o
20 wakeup-objs += video-vesa.o
21 wakeup-objs += video-bios.o
27 realmode-$(CONFIG_ACPI_SLEEP) += $(wakeup-objs)
/linux-4.4.14/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 …]
Ddevices.txt35 Some drivers can manage hardware wakeup events, which make the system
37 using the relevant /sys/devices/.../power/wakeup file (for Ethernet
68 for wakeup events), no more data read or written, and requests from upstream
72 Examples of hardware wakeup events include an alarm from a real time clock,
150 /sys/devices/.../power/wakeup files
153 of system wakeup events (hardware signals that can force the system out of a
159 physically support wakeup events. The device_set_wakeup_capable() routine
160 affects this flag. The "power.wakeup" field is a pointer to an object of type
162 its system wakeup mechanism and for notifying the PM core of system wakeup
163 events signaled by the device. This object is only present for wakeup-capable
[all …]
Dpci.txt47 Devices supporting the native PCI PM usually can generate wakeup signals called
60 preparing the device to generate wakeup signals. In that case, however, it
133 sufficiently active to generate a wakeup signal.
174 wakeup signals from that state, the _DSW (or _PSW, replaced with _DSW by ACPI
193 enabled for the device to be able to generate wakeup signals.
204 sleeping, they should cause the system's core logic to trigger wakeup.
206 On ACPI-based systems wakeup signals sent by conventional PCI devices are
211 capable of signaling wakeup. The information on the connections between GPEs
215 If a PCI device known to the system's ACPI BIOS signals wakeup, the GPE
217 bridges may also be triggered in response to a wakeup signal from one of the
[all …]
Dcharger-manager.txt51 setting wakeup time accordingly and using suspend_again.
74 : The name of rtc (e.g., "rtc0") used to wakeup the system from
83 the wakeup-from-suspend is caused only by the alarm of "rtc" in the
84 same struct. If there is any other wakeup source triggered the
85 wakeup, it should return false. If the "rtc" is the only wakeup
200 It is usually accomplished by configuring the PMIC as a wakeup source.
/linux-4.4.14/drivers/base/power/
Dsysfs.c369 static DEVICE_ATTR(wakeup, 0644, wake_show, wake_store);
378 if (dev->power.wakeup) { in wakeup_count_show()
379 count = dev->power.wakeup->event_count; in wakeup_count_show()
395 if (dev->power.wakeup) { in wakeup_active_count_show()
396 count = dev->power.wakeup->active_count; in wakeup_active_count_show()
413 if (dev->power.wakeup) { in wakeup_abort_count_show()
414 count = dev->power.wakeup->wakeup_count; in wakeup_abort_count_show()
431 if (dev->power.wakeup) { in wakeup_expire_count_show()
432 count = dev->power.wakeup->expire_count; in wakeup_expire_count_show()
448 if (dev->power.wakeup) { in wakeup_active_show()
[all …]
Dwakeup.c244 if (dev->power.wakeup) { in device_wakeup_attach()
248 dev->power.wakeup = ws; in device_wakeup_attach()
295 ws = dev->power.wakeup; in device_wakeup_attach_irq()
320 ws = dev->power.wakeup; in device_wakeup_detach_irq()
370 ws = dev->power.wakeup; in device_wakeup_detach()
371 dev->power.wakeup = NULL; in device_wakeup_detach()
605 __pm_stay_awake(dev->power.wakeup); in pm_stay_awake()
714 __pm_relax(dev->power.wakeup); in pm_relax()
802 __pm_wakeup_event(dev->power.wakeup, msec); in pm_wakeup_event()
DMakefile2 obj-$(CONFIG_PM_SLEEP) += main.o wakeup.o
/linux-4.4.14/Documentation/devicetree/bindings/i2c/
Di2c.txt33 - wakeup-source - device can be used as a wakeup source.
36 - interrupt-names - "irq" and "wakeup" names are recognized by I2C core,
43 Also, if device is marked as a wakeup source, I2C core will set up "wakeup"
44 interrupt for the device. If "wakeup" interrupt name is not present in the
45 binding, then primary interrupt will be used as wakeup interrupt.
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-class-rc70 for the wakeup filter, something like:
72 The enabled wakeup protocol is shown in [] brackets.
74 wakeup protocols.
76 wakeup protocols.
77 Writing "proto" will use "proto" for wakeup events.
78 Writing "none" will disable wakeup.
80 unknown protocol name is used, or if wakeup is not supported by
88 Sets the scancode wakeup filter expected value.
90 set the expected value of the bits set in the wakeup filter mask
96 This value may be reset to 0 if the wakeup protocol is altered.
[all …]
Dsysfs-power165 concurrent arrival of wakeup events. Reading from it returns
166 the current number of registered wakeup events and it blocks if
167 some wakeup events are being processed at the time the file is
169 number of wakeup events is equal to the written value and, if
171 to a sleep state if any wakeup events are reported after the
196 attempt will only succeed if there are no active wakeup sources
210 wakeup source objects and activate them on demand (if one of
211 those wakeup sources is active, reads from the
214 it will be assumed to represent a wakeup source name. If there
215 is a wakeup source object with that name, it will be activated
[all …]
Dsysfs-driver-intel-rapid-start5 Description: An integer representing a set of wakeup events as follows:
6 1: Wake to enter hibernation when the wakeup timer expires
12 either the wakeup timer expires or the battery reaches a
Dsysfs-devices-power9 What: /sys/devices/.../power/wakeup
13 The /sys/devices/.../power/wakeup attribute allows the user
19 Some devices support "wakeup" events, which are hardware signals
21 have one of the following two values for the sysfs power/wakeup
31 For the devices that are not capable of generating system wakeup
85 of signaled wakeup events associated with the device. This
96 number of times the processing of wakeup events associated with
108 number of times the processing of a wakeup event associated with
120 number of times a wakeup event associated with the device has
132 or 0, depending on whether or not a wakeup event associated with
[all …]
Dsysfs-devices-power_resources_wakeup7 require ACPI power resources for wakeup signaling.
11 the given device node to be able to signal wakeup. The names of
/linux-4.4.14/arch/blackfin/mach-common/
Dpm.c147 int wakeup; in bfin_pm_suspend_mem_enter() local
160 wakeup = bfin_read_VR_CTL() & ~FREQ; in bfin_pm_suspend_mem_enter()
161 wakeup |= SCKELOW; in bfin_pm_suspend_mem_enter()
164 wakeup |= PHYWE; in bfin_pm_suspend_mem_enter()
167 wakeup |= GPWE; in bfin_pm_suspend_mem_enter()
191 do_hibernate(wakeup | vr_wakeup); /* See you later! */ in bfin_pm_suspend_mem_enter()
Dints-priority.c219 u32 bank, bit, wakeup = 0; in bfin_internal_set_wake() local
227 wakeup |= WAKE; in bfin_internal_set_wake()
232 wakeup |= CANWE; in bfin_internal_set_wake()
237 wakeup |= CANWE; in bfin_internal_set_wake()
242 wakeup |= USBWE; in bfin_internal_set_wake()
247 wakeup |= ROTWE; in bfin_internal_set_wake()
258 vr_wakeup |= wakeup; in bfin_internal_set_wake()
262 vr_wakeup &= ~wakeup; in bfin_internal_set_wake()
/linux-4.4.14/Documentation/devicetree/bindings/pinctrl/
Dsamsung-pinctrl.txt99 is the external gpio interrupt and second is the external wakeup interrupts.
100 The difference between the two is that the external wakeup interrupts can be
101 used as system wakeup events.
125 B. External Wakeup Interrupts: For supporting external wakeup interrupts, a
126 child node representing the external wakeup interrupt controller should be
130 - compatible: identifies the type of the external wakeup interrupt controller
132 - samsung,s3c2410-wakeup-eint: represents wakeup interrupt controller
134 - samsung,s3c2412-wakeup-eint: represents wakeup interrupt controller
136 - samsung,s3c64xx-wakeup-eint: represents wakeup interrupt controller
138 - samsung,exynos4210-wakeup-eint: represents wakeup interrupt controller
[all …]
Dste,nomadik.txt67 - ste,sleep-wakeup: <0/1>
87 ste,sleep-wakeup = <1>;
94 ste,sleep-wakeup = <1>;
101 ste,sleep-wakeup = <1>;
Dmarvell,dove-pinctrl.txt73 ext0-wakeup Pin is used for EXT0_WU
74 ext1-wakeup Pin is used for EXT0_WU
75 ext2-wakeup Pin is used for EXT0_WU
/linux-4.4.14/drivers/staging/rdma/hfi1/
Diowait.h103 void (*wakeup)(struct iowait *wait, int reason); member
136 void (*wakeup)(struct iowait *wait, int reason)) in iowait_init()
146 wait->wakeup = wakeup; in iowait_init()
/linux-4.4.14/Documentation/devicetree/bindings/rtc/
Drtc-opal.txt8 - wakeup-source: Decides if the wakeup is supported or not
14 wakeup-source;
Disil,isl12057.txt8 ("wakeup-source") to handle the specific use-case found
13 RTC alarm rings. In order to mark the device has a wakeup source and
25 - "wakeup-source": mark the chip as a wakeup source, independently of
27 (Legacy property supported: "isil,irq2-can-wakeup-machine")
77 wakeup-source;
/linux-4.4.14/Documentation/devicetree/bindings/input/
Dcypress,cyapa.txt12 - wakeup-source: touchpad can be used as a wakeup source.
31 wakeup-source;
40 wakeup-source;
Delan_i2c.txt12 - wakeup-source: touchpad can be used as a wakeup source.
30 wakeup-source;
Delants_i2c.txt12 - wakeup-source: touchscreen can be used as a wakeup source.
32 wakeup-source;
Dsamsung-keypad.txt40 - wakeup-source: use any event on keypad as wakeup event.
41 (Legacy property supported: "linux,input-wakeup")
55 wakeup-source;
Dgpio-matrix-keypad.txt22 - wakeup-source: use any event on keypad as wakeup event.
23 (Legacy property supported: "linux,wakeup")
Dqcom,pm8xxx-keypad.txt36 - wakeup-source:
39 Definition: use any event on keypad as wakeup event.
40 (Legacy property supported: "linux,keypad-wakeup")
Dnvidia,tegra20-kbc.txt32 - wakeup-source: configure keyboard as a wakeup source for suspend/resume
33 (Legacy property supported: "nvidia,wakeup-source")
Dads7846.txt67 wakeup-source use any event on touchscreen as wakeup event.
68 (Legacy property support: "linux,wakeup")
90 wakeup-source;
Dgpio-keys.txt26 - wakeup-source: Boolean, button can wake-up the system.
27 (Legacy property supported: "gpio-key,wakeup")
Dgpio-keys-polled.txt30 - wakeup-source: Boolean, button can wake-up the system.
31 (Legacy property supported: "gpio-key,wakeup")
/linux-4.4.14/Documentation/devicetree/bindings/extcon/
Dextcon-palmas.txt12 - ti,wakeup : To enable the wakeup comparator in probe
21 ti,wakeup;
/linux-4.4.14/kernel/power/
Dprocess.c36 bool wakeup = false; in try_to_freeze_tasks() local
67 wakeup = true; in try_to_freeze_tasks()
90 wakeup ? "aborted" : "failed", in try_to_freeze_tasks()
94 if (!wakeup) { in try_to_freeze_tasks()
Dsuspend.c313 static int suspend_enter(suspend_state_t state, bool *wakeup) in suspend_enter() argument
364 *wakeup = pm_wakeup_pending(); in suspend_enter()
365 if (!(suspend_test(TEST_CORE) || *wakeup)) { in suspend_enter()
372 } else if (*wakeup) { in suspend_enter()
406 bool wakeup = false; in suspend_devices_and_enter() local
427 error = suspend_enter(state, &wakeup); in suspend_devices_and_enter()
428 } while (!error && !wakeup && platform_suspend_again(state)); in suspend_devices_and_enter()
DKconfig122 state automatically whenever there are no active wakeup sources.
125 bool "User space wakeup sources interface"
129 Allow user space to create, activate and deactivate wakeup source
133 int "Maximum number of user space wakeup sources (0 = no limit)"
139 bool "Garbage collector for user space wakeup sources"
177 make it wake up a few seconds later using an RTC wakeup alarm.
/linux-4.4.14/kernel/events/
Dring_buffer.c42 handle->wakeup = local_read(&rb->wakeup); in perf_output_get_handle()
98 if (handle->wakeup != local_read(&rb->wakeup)) in perf_output_put_handle()
170 if (unlikely(head - local_read(&rb->wakeup) > rb->watermark)) in perf_output_begin()
171 local_add(rb->watermark, &rb->wakeup); in perf_output_begin()
311 handle->wakeup = local_read(&rb->aux_wakeup) + rb->aux_watermark; in perf_aux_output_begin()
350 bool wakeup = truncated; in perf_aux_output_end() local
379 wakeup = true; in perf_aux_output_end()
383 if (wakeup) { in perf_aux_output_end()
414 handle->wakeup = local_read(&rb->aux_wakeup) + in perf_aux_output_skip()
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Datmel-at91.txt128 - atmel,wakeup-mode: String, operation mode of the wakeup mode.
130 - atmel,wakeup-counter: Counter on Wake-up 0 (between 0x0 and 0xf).
133 - atmel,wakeup-rtt-timer: boolean to enable Real-time Timer Wake-up.
136 - atmel,wakeup-rtc-timer: boolean to enable Real-time Clock Wake-up.
137 - atmel,wakeup-rtt-timer: boolean to enable Real-time Timer Wake-up.
140 - atmel,wakeup-rtc-timer: boolean to enable Real-time Clock Wake-up.
Didle-states.txt57 |<------- wakeup-latency ------->|
85 wakeup-latency: Maximum delay between the signaling of a wake-up event and the
99 wakeup-delay = exit-latency + max(entry-latency - (now - entry-timestamp), 0)
109 An OS has to reliably probe the wakeup-latency since some devices can enforce
304 - wakeup-latency-us:
318 will exceed wakeup-latency-us by this duration.
517 wakeup-latency-us = <130>;
536 wakeup-latency-us = <1500>;
554 wakeup-latency-us = <100>;
564 wakeup-latency-us = <150>;
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/input/touchscreen/
Degalax-ts.txt8 - wakeup-gpios: the gpio pin to be used for waking up the controller
18 wakeup-gpios = <&gpio1 9 0>;
/linux-4.4.14/arch/arm64/boot/dts/arm/
Djuno-motherboard.dtsi64 wakeup-source;
71 wakeup-source;
78 wakeup-source;
85 wakeup-source;
92 wakeup-source;
99 wakeup-source;
/linux-4.4.14/Documentation/devicetree/bindings/gpio/
Dbrcm,brcmstb-gpio.txt40 wakeup interrupt lines through a different interrupt controller than the
57 - wakeup-source:
58 GPIOs for this controller can be used as a wakeup source
84 wakeup-source;
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Dd3.c1208 struct cfg80211_wowlan_wakeup wakeup = { in iwl_mvm_report_wakeup_reasons() local
1211 struct cfg80211_wowlan_wakeup *wakeup_report = &wakeup; in iwl_mvm_report_wakeup_reasons()
1220 wakeup.magic_pkt = true; in iwl_mvm_report_wakeup_reasons()
1223 wakeup.pattern_idx = in iwl_mvm_report_wakeup_reasons()
1228 wakeup.disconnect = true; in iwl_mvm_report_wakeup_reasons()
1231 wakeup.gtk_rekey_failure = true; in iwl_mvm_report_wakeup_reasons()
1234 wakeup.rfkill_release = true; in iwl_mvm_report_wakeup_reasons()
1237 wakeup.eap_identity_req = true; in iwl_mvm_report_wakeup_reasons()
1240 wakeup.four_way_handshake = true; in iwl_mvm_report_wakeup_reasons()
1243 wakeup.tcp_connlost = true; in iwl_mvm_report_wakeup_reasons()
[all …]
/linux-4.4.14/drivers/input/keyboard/
Dgpio_keys.c368 if (bdata->button->wakeup) in gpio_keys_gpio_work_func()
378 if (bdata->button->wakeup) in gpio_keys_gpio_isr()
415 if (bdata->button->wakeup) in gpio_keys_irq_isr()
669 button->wakeup = of_property_read_bool(pp, "wakeup-source") || in gpio_keys_get_devtree_pdata()
710 int wakeup = 0; in gpio_keys_probe() local
762 if (button->wakeup) in gpio_keys_probe()
763 wakeup = 1; in gpio_keys_probe()
780 device_init_wakeup(&pdev->dev, wakeup); in gpio_keys_probe()
808 if (bdata->button->wakeup) in gpio_keys_suspend()
831 if (bdata->button->wakeup) in gpio_keys_resume()
Dsnvs_pwrkey.c43 int wakeup; member
124 pdata->wakeup = of_property_read_bool(np, "wakeup-source"); in imx_snvs_pwrkey_probe()
178 device_init_wakeup(&pdev->dev, pdata->wakeup); in imx_snvs_pwrkey_probe()
Dtegra-kbc.c102 bool wakeup; member
328 rst_val = (filter && !kbc->wakeup) ? ~0 : 0; in tegra_kbc_setup_wakekeys()
522 kbc->wakeup = true; in tegra_kbc_parse_dt()
724 device_init_wakeup(&pdev->dev, kbc->wakeup); in tegra_kbc_probe()
Dpmic8xxx-keypad.c513 bool wakeup; in pmic8xxx_kp_probe() local
530 wakeup = of_property_read_bool(np, "wakeup-source") || in pmic8xxx_kp_probe()
631 device_init_wakeup(&pdev->dev, wakeup); in pmic8xxx_kp_probe()
Dgpio_keys_polled.c201 button->wakeup = in gpio_keys_polled_get_devtree_pdata()
307 if (button->wakeup) { in gpio_keys_polled_probe()
/linux-4.4.14/drivers/platform/x86/
Dxo15-ebook.c136 if (device->wakeup.flags.valid) { in ebook_switch_add()
138 acpi_enable_gpe(device->wakeup.gpe_device, in ebook_switch_add()
139 device->wakeup.gpe_number); in ebook_switch_add()
/linux-4.4.14/Documentation/arm/OMAP/
Domap_pm34 1. Set the maximum MPU wakeup latency:
37 2. Set the maximum device wakeup latency:
81 set_max_mpu_wakeup_lat() function to constrain the MPU wakeup
83 device wakeup latency (from clk_enable() to accessibility). For
86 /* Limit MPU wakeup latency */
90 /* Limit device powerdomain wakeup latency */
94 /* total wakeup latency in this example: (tc + td) */
/linux-4.4.14/drivers/extcon/
Dextcon-palmas.c198 palmas_usb->wakeup = of_property_read_bool(node, "ti,wakeup"); in palmas_usb_probe()
204 palmas_usb->wakeup = true; in palmas_usb_probe()
209 palmas_usb->wakeup = pdata->wakeup; in palmas_usb_probe()
243 palmas_usb_wakeup(palmas, palmas_usb->wakeup); in palmas_usb_probe()
/linux-4.4.14/drivers/pci/pcie/
Dpme.c399 bool wakeup; in pcie_pme_suspend() local
403 wakeup = true; in pcie_pme_suspend()
406 wakeup = pcie_pme_check_wakeup(port->subordinate); in pcie_pme_suspend()
410 if (wakeup) { in pcie_pme_suspend()
414 if (!wakeup || ret) { in pcie_pme_suspend()
/linux-4.4.14/drivers/usb/host/
Dohci-at91.c55 bool wakeup; /* Saved wake-up state for resume */ member
600 ohci_at91->wakeup = device_may_wakeup(dev) in ohci_hcd_at91_drv_suspend()
603 if (ohci_at91->wakeup) in ohci_hcd_at91_drv_suspend()
606 ret = ohci_suspend(hcd, ohci_at91->wakeup); in ohci_hcd_at91_drv_suspend()
608 if (ohci_at91->wakeup) in ohci_hcd_at91_drv_suspend()
619 if (!ohci_at91->wakeup) { in ohci_hcd_at91_drv_suspend()
638 if (ohci_at91->wakeup) in ohci_hcd_at91_drv_resume()
/linux-4.4.14/Documentation/devicetree/bindings/iio/temperature/
Dmlx90614.txt12 - wakeup-gpios: device tree identifier of the GPIO connected to the SDA line
23 wakeup-gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
/linux-4.4.14/Documentation/devicetree/bindings/mfd/
Dstmpe.txt14 - wakeup-source : Marks the input device as wakable
27 wakeup-source;
Dtc3589x.txt58 - wakeup-source: use any event on keypad as wakeup event.
59 (Legacy property supported: "linux,wakeup")
106 wakeup-source;
Dcros-ec.txt50 wakeup-source;
62 wakeup-source;
Dqcom-rpm.txt28 3. wakeup interrupt
33 Definition: must be the three strings "ack", "err" and "wakeup", in order
238 interrupt-names = "ack", "err", "wakeup";
/linux-4.4.14/drivers/input/misc/
Dsoc_button_array.c35 bool wakeup; member
103 gpio_keys[n_buttons].wakeup = info->wakeup; in soc_button_device_create()
/linux-4.4.14/include/linux/mfd/samsung/
Dcore.h74 bool wakeup; member
90 bool wakeup; member
/linux-4.4.14/arch/unicore32/kernel/
Dpuv3-nb0916.c70 .wakeup = 1,
78 .wakeup = 1,
/linux-4.4.14/drivers/gpu/drm/tegra/
Dmipi-phy.c56 timing->wakeup = 1000000; in mipi_dphy_timing_get_default()
133 if (timing->wakeup < 1000000) in mipi_dphy_timing_validate()
Dmipi-phy.h43 unsigned int wakeup; member
/linux-4.4.14/drivers/tty/serial/8250/
Dserial_cs.c76 void (*wakeup)(struct pcmcia_device *); member
224 .wakeup = quirk_wakeup_oxsemi,
229 .wakeup = quirk_wakeup_possio_gcc,
299 if (info->quirk && info->quirk->wakeup) in serial_resume()
300 info->quirk->wakeup(link); in serial_resume()
572 if (info->quirk && info->quirk->wakeup) in multi_config()
573 info->quirk->wakeup(link); in multi_config()
/linux-4.4.14/drivers/mfd/
Drt5033.c76 rt5033->wakeup = true; in rt5033_i2c_probe()
108 device_init_wakeup(rt5033->dev, rt5033->wakeup); in rt5033_i2c_probe()
Dmax8998.c213 max8998->wakeup = pdata->wakeup; in max8998_i2c_probe()
246 device_init_wakeup(max8998->dev, max8998->wakeup); in max8998_i2c_probe()
Dsec-core.c370 sec_pmic->wakeup = pdata->wakeup; in sec_pmic_probe()
458 device_init_wakeup(sec_pmic->dev, sec_pmic->wakeup); in sec_pmic_probe()
/linux-4.4.14/Documentation/
Dbtmrvl.txt21 wakeup will be used instead).
23 where Gap is the gap in milli seconds between wakeup signal and
24 wakeup event, or 0xff for special host sleep setting.
Ddontdiff254 wakeup.bin
255 wakeup.elf
256 wakeup.lds
/linux-4.4.14/drivers/net/wireless/mwifiex/
DREADME129 wakeup_dev_req = <0/1, wakeup device not required/required>
130 wakeup_tries = <wakeup device count, cleared when device awake>
210 [GPIO#]: pin number of GPIO used to wakeup the host.
213 [gap]: the gap in milliseconds between wakeup signal and
214 wakeup event or 0xff for special setting (host
215 acknowledge required) when GPIO is used to wakeup host.
225 to ack before sending wakeup event
/linux-4.4.14/arch/arm/mach-pxa/
Draumfeld.c397 .wakeup = 0,
406 .wakeup = 0,
415 .wakeup = 0,
424 .wakeup = 0,
433 .wakeup = 0,
442 .wakeup = 0,
Dcsb701.c17 .wakeup = 1,
Dtosa.c473 .wakeup = 1,
495 .wakeup = 1,
514 .wakeup = 1,
522 .wakeup = 1,
Dezx.c708 .wakeup = 1,
850 .wakeup = 1,
918 .wakeup = 1,
986 .wakeup = 1,
1179 .wakeup = 1,
/linux-4.4.14/include/linux/usb/
Dgpio_vbus.h31 bool wakeup; member
Dgadget.h549 int (*wakeup)(struct usb_gadget *); member
771 if (!gadget->ops->wakeup) in usb_gadget_wakeup()
773 return gadget->ops->wakeup(gadget); in usb_gadget_wakeup()
/linux-4.4.14/drivers/media/pci/bt8xx/
Dbttv-driver.c3599 bttv_irq_wakeup_video(struct bttv *btv, struct bttv_buffer_set *wakeup, in bttv_irq_wakeup_video() argument
3606 if (wakeup->top == wakeup->bottom) { in bttv_irq_wakeup_video()
3607 if (NULL != wakeup->top && curr->top != wakeup->top) { in bttv_irq_wakeup_video()
3610 btv->c.nr, wakeup->top); in bttv_irq_wakeup_video()
3611 wakeup->top->vb.ts = ts; in bttv_irq_wakeup_video()
3612 wakeup->top->vb.field_count = btv->field_count; in bttv_irq_wakeup_video()
3613 wakeup->top->vb.state = state; in bttv_irq_wakeup_video()
3614 wake_up(&wakeup->top->vb.done); in bttv_irq_wakeup_video()
3617 if (NULL != wakeup->top && curr->top != wakeup->top) { in bttv_irq_wakeup_video()
3620 btv->c.nr, wakeup->top); in bttv_irq_wakeup_video()
[all …]
/linux-4.4.14/include/linux/i2c/
Dmpr121_touchkey.h16 bool wakeup; member
/linux-4.4.14/tools/perf/scripts/perl/bin/
Dwakeup-latency-report3 perf script $@ -s "$PERF_EXEC_PATH"/scripts/perl/wakeup-latency.pl
/linux-4.4.14/include/linux/input/
Dbu21013.h31 bool wakeup; member
Dgp2ap002a00f.h17 bool wakeup; member
Dsamsung-keypad.h38 bool wakeup; member
Dmatrix_keypad.h74 bool wakeup; member
/linux-4.4.14/drivers/parport/
Dshare.c752 tmp->wakeup = kf; in parport_register_device()
837 if (!par_dev_cb->preempt || !par_dev_cb->wakeup) { in parport_register_dev_model()
879 par_dev->wakeup = par_dev_cb->wakeup; in parport_register_dev_model()
1183 if (dev->waiting & 2 || dev->wakeup) { in parport_claim()
1316 } else if (pd->wakeup) { in parport_release()
1317 pd->wakeup(pd->private); in parport_release()
1329 if (pd->wakeup && pd != dev) in parport_release()
1330 pd->wakeup(pd->private); in parport_release()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_bts.c302 unsigned long head, space, next_space, pad, gap, skip, wakeup; in bts_buffer_reset() local
358 wakeup = BTS_SAFETY_MARGIN + BTS_RECORD_SIZE + handle->wakeup - in bts_buffer_reset()
360 if (space > wakeup) { in bts_buffer_reset()
361 space = wakeup; in bts_buffer_reset()
Dperf_event_intel_pt.c683 unsigned long idx, npages, wakeup; in pt_buffer_reset_markers() local
711 wakeup = handle->wakeup >> PAGE_SHIFT; in pt_buffer_reset_markers()
715 if (idx > wakeup) in pt_buffer_reset_markers()
716 idx = wakeup; in pt_buffer_reset_markers()
/linux-4.4.14/net/mac80211/
Dpm.c200 struct cfg80211_wowlan_wakeup *wakeup, in ieee80211_report_wowlan_wakeup() argument
205 cfg80211_report_wowlan_wakeup(&sdata->wdev, wakeup, gfp); in ieee80211_report_wowlan_wakeup()
/linux-4.4.14/arch/mips/netlogic/xlr/
DMakefile2 obj-$(CONFIG_SMP) += wakeup.o
/linux-4.4.14/include/linux/platform_data/
Dfsa9480.h24 int wakeup; member
/linux-4.4.14/arch/sh/boards/mach-x3proto/
Dsetup.c134 .wakeup = 1,
139 .wakeup = 1,
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/
Darm,vic.txt25 - valid-wakeup-mask : A one cell big bit mask of interrupt sources that can be
40 valid-wakeup-mask = <0x0000ff7f>;
Dbrcm,l2-intc.txt18 wakeup source for system suspend/resume.
Dti,omap4-wugen-mpu4 routes interrupts to the GIC, and also serves as a wakeup source. It
Dbrcm,bcm3380-l2-intc.txt29 wakeup source for system suspend/resume.
Dnvidia,tegra-ictlr.txt4 interrupts to the GIC, and also serves as a wakeup source. It is also
/linux-4.4.14/net/wireless/
Dtrace.h2744 struct cfg80211_wowlan_wakeup *wakeup),
2745 TP_ARGS(wiphy, wdev, wakeup),
2759 wakeup ? wakeup->packet_present_len : 0)
2764 __entry->non_wireless = !wakeup;
2765 __entry->disconnect = wakeup ? wakeup->disconnect : false;
2766 __entry->magic_pkt = wakeup ? wakeup->magic_pkt : false;
2767 __entry->gtk_rekey_failure = wakeup ? wakeup->gtk_rekey_failure : false;
2768 __entry->eap_identity_req = wakeup ? wakeup->eap_identity_req : false;
2769 __entry->four_way_handshake = wakeup ? wakeup->four_way_handshake : false;
2770 __entry->rfkill_release = wakeup ? wakeup->rfkill_release : false;
[all …]
/linux-4.4.14/include/linux/
Dgpio_keys.h29 int wakeup; member
/linux-4.4.14/arch/x86/platform/olpc/
DMakefile2 obj-$(CONFIG_OLPC_XO1_PM) += olpc-xo1-pm.o xo1-wakeup.o
/linux-4.4.14/arch/mips/netlogic/xlp/
DMakefile2 obj-$(CONFIG_SMP) += wakeup.o
/linux-4.4.14/include/linux/mfd/
Drt5033.h35 bool wakeup; member
Dmax8998.h111 bool wakeup; member
Dmax8997.h181 int wakeup; member
Dmax8998-private.h167 bool wakeup; member
/linux-4.4.14/arch/arm/mach-sa1100/
Dh3xxx.c224 .wakeup = 1,
231 .wakeup = 0,
Dcollie.c247 .wakeup = 1,
255 .wakeup = 1,
/linux-4.4.14/Documentation/timers/
Dtimers-howto.txt80 wakeup will be very precise (ish), thus a simple
85 free to coalesce your wakeup with any other wakeup
/linux-4.4.14/drivers/pci/
Dpci-acpi.c303 adev = container_of(work, struct acpi_device, wakeup.context.work); in pci_acpi_wake_bus()
523 if (device_may_wakeup(&dev->dev) != !!adev->wakeup.prepare_count) in acpi_pci_need_resume()
656 if (!adev->wakeup.flags.valid) in pci_acpi_setup()
661 if (adev->wakeup.flags.run_wake) in pci_acpi_setup()
673 if (adev->wakeup.flags.valid) { in pci_acpi_cleanup()
/linux-4.4.14/include/linux/spi/
Dads7846.h58 bool wakeup; member
/linux-4.4.14/drivers/media/dvb-core/
Ddvb_ca_en50221.c152 unsigned int wakeup:1; member
910 ca->wakeup = 1; in dvb_ca_en50221_thread_wakeup()
992 if (!ca->wakeup) { in dvb_ca_en50221_thread()
998 ca->wakeup = 0; in dvb_ca_en50221_thread()
1083 ca->wakeup = 1; in dvb_ca_en50221_thread()
1098 ca->wakeup = 1; in dvb_ca_en50221_thread()
1151 ca->wakeup = 1; in dvb_ca_en50221_thread()
1158 ca->wakeup = 1; in dvb_ca_en50221_thread()
1693 ca->wakeup = 0; in dvb_ca_en50221_init()
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/
Dmac80211.c456 struct cfg80211_wowlan_wakeup wakeup = { in iwlagn_mac_resume() local
495 wakeup.rfkill_release = true; in iwlagn_mac_resume()
496 ieee80211_report_wowlan_wakeup(vif, &wakeup, in iwlagn_mac_resume()
543 wakeup.magic_pkt = true; in iwlagn_mac_resume()
545 wakeup.pattern_idx = status_data.pattern_number; in iwlagn_mac_resume()
548 wakeup.disconnect = true; in iwlagn_mac_resume()
550 wakeup.gtk_rekey_failure = true; in iwlagn_mac_resume()
552 wakeup.eap_identity_req = true; in iwlagn_mac_resume()
554 wakeup.four_way_handshake = true; in iwlagn_mac_resume()
555 wakeup_report = &wakeup; in iwlagn_mac_resume()
/linux-4.4.14/arch/arm/plat-samsung/
DMakefile33 obj-$(CONFIG_SAMSUNG_WAKEMASK) += wakeup-mask.o
DKconfig287 Compile support for wakeup-mask controls found on the S3C6400
288 and above. This code allows a set of interrupt to wakeup-mask
289 mappings. See <plat/wakeup-mask.h>
/linux-4.4.14/Documentation/devicetree/bindings/net/nfc/
Ds3fwrn5.txt10 sleep/wakeup control
/linux-4.4.14/arch/x86/platform/geode/
Dgeos.c39 .wakeup = 0,
Dnet5501.c42 .wakeup = 0,
Dalix.c50 .wakeup = 0,
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dpmc.txt32 - fsl,mpc8313-wakeup-timer: For "fsl,mpc8313-pmc"-compatible devices,
34 a wakeup source from deep sleep.
/linux-4.4.14/Documentation/devicetree/bindings/
Dbtmrvl.txt18 GPIO pin 13 is configured as a wakeup source and GAP is set to 100 msecs
/linux-4.4.14/drivers/misc/sgi-xp/
Dxpc_main.c621 int wakeup; in xpc_activate_kthreads() local
626 wakeup = (needed > idle) ? idle : needed; in xpc_activate_kthreads()
627 needed -= wakeup; in xpc_activate_kthreads()
630 "channel=%d\n", wakeup, ch->partid, ch->number); in xpc_activate_kthreads()
633 wake_up_nr(&ch->idle_wq, wakeup); in xpc_activate_kthreads()
/linux-4.4.14/Documentation/DocBook/
Dkernel-locking.xml.db24 API-handle-early-requeue-pi-wakeup
/linux-4.4.14/arch/mips/include/asm/netlogic/
Dpsb-bootinfo.h47 uint64_t wakeup; member
/linux-4.4.14/net/decnet/
Ddn_nsp_in.c104 int wakeup = 0; in dn_ack() local
110 wakeup |= dn_nsp_check_xmit_queue(sk, skb, in dn_ack()
120 wakeup |= dn_nsp_check_xmit_queue(sk, skb, in dn_ack()
129 if (wakeup && !sock_flag(sk, SOCK_DEAD)) in dn_ack()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dwow.c264 goto wakeup; in ath10k_wow_op_suspend()
269 wakeup: in ath10k_wow_op_suspend()
/linux-4.4.14/Documentation/virtual/kvm/
Dhypercalls.txt75 Purpose: Hypercall used to wakeup a vcpu from HLT state
81 same guest can wakeup the sleeping vcpu by issuing KVM_HC_KICK_CPU hypercall,
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dda7219.txt24 - interrupt-names : Name associated with interrupt line. Should be "wakeup" if
26 - wakeup-source: Flag to indicate this device can wake system (suspend/resume).
/linux-4.4.14/Documentation/arm/pxa/
Dmfp.txt65 wakeup from GPIO(s) any more, depending on the sleeping state, ADxER
66 (as defined in pxa3xx-regs.h) controls the wakeup from MFP
139 pin _will_ wakeup the system, it will only when set_irq_wake() is
144 internal logic will only wakeup the system when those specific bits
147 the peripheral IRQ to enable the wakeup.
/linux-4.4.14/drivers/sh/intc/
DKconfig28 SMP parts. All of the balancing and CPU wakeup decisions are
/linux-4.4.14/arch/mips/jz4740/
Dboard-qi_lb60.c261 .wakeup = 1,
346 .wakeup = 1,
/linux-4.4.14/Documentation/devicetree/bindings/phy/
Dti-phy.txt40 * "wkupclk" - wakeup clock.
71 * "wkupclk" - wakeup clock.
/linux-4.4.14/Documentation/devicetree/bindings/mmc/
Dmmc.txt71 - wakeup-source: Enables wake up of host system on SDIO IRQ assertion
72 (Legacy property supported: "enable-sdio-wakeup")
122 wakeup-source;
/linux-4.4.14/drivers/hwmon/
Dsht15.c845 goto wakeup; in sht15_bh_read_data()
854 goto wakeup; in sht15_bh_read_data()
866 goto wakeup; in sht15_bh_read_data()
880 wakeup: in sht15_bh_read_data()

123