Home
last modified time | relevance | path

Searched full:wake (Results 1 – 25 of 1691) sorted by relevance

12345678910>>...68

/linux/drivers/base/power/
H A Dwakeirq.c13 * dev_pm_attach_wake_irq - Attach device interrupt as a wake IRQ
15 * @wirq: Wake irq specific data
17 * Internal function to attach a dedicated wake-up interrupt as a wake IRQ.
28 "wake irq already initialized\n")) { in dev_pm_attach_wake_irq()
41 * dev_pm_set_wake_irq - Attach device IO interrupt as wake IRQ
45 * Attach a device IO interrupt as a wake IRQ. The wake IRQ gets
46 * automatically configured for wake-up from suspend based
74 * dev_pm_clear_wake_irq - Detach a device IO interrupt wake IRQ
77 * Detach a device wake IRQ and free resources.
81 * a wake IRQ configured. This avoid adding wake IRQ specific
[all …]
/linux/arch/arm/mach-pxa/
H A Dpxa2xx-regs.h23 #define PWER __REG(0x40F0000C) /* Power Manager Wake-up Enable Register */
38 #define PKWR __REG(0x40F00050) /* Power Manager KB Wake-up Enable Reg */
112 #define PWER_GPIO(Nb) (1 << Nb) /* GPIO [0..15] wake-up enable */
113 #define PWER_GPIO0 PWER_GPIO (0) /* GPIO [0] wake-up enable */
114 #define PWER_GPIO1 PWER_GPIO (1) /* GPIO [1] wake-up enable */
115 #define PWER_GPIO2 PWER_GPIO (2) /* GPIO [2] wake-up enable */
116 #define PWER_GPIO3 PWER_GPIO (3) /* GPIO [3] wake-up enable */
117 #define PWER_GPIO4 PWER_GPIO (4) /* GPIO [4] wake-up enable */
118 #define PWER_GPIO5 PWER_GPIO (5) /* GPIO [5] wake-up enable */
119 #define PWER_GPIO6 PWER_GPIO (6) /* GPIO [6] wake-up enable */
[all …]
H A Dpxa3xx-regs.h30 #define PWER __REG(0x40F50010) /* Power Manager Wake-up Enable Register */
31 #define PWSR __REG(0x40F50014) /* Power Manager Wake-up Status Register */
42 #define AD3ER __REG(0x40f40008) /* Application Subsystem Wake-Up from D3 Enable */
43 #define AD3SR __REG(0x40f4000c) /* Application Subsystem Wake-Up from D3 Status */
44 #define AD2D0ER __REG(0x40f40010) /* Application Subsystem Wake-Up from D2 to D0 Enable */
45 #define AD2D0SR __REG(0x40f40014) /* Application Subsystem Wake-Up from D2 to D0 Status */
46 #define AD2D1ER __REG(0x40f40018) /* Application Subsystem Wake-Up from D2 to D1 Enable */
47 #define AD2D1SR __REG(0x40f4001c) /* Application Subsystem Wake-Up from D2 to D1 Status */
48 #define AD1D0ER __REG(0x40f40020) /* Application Subsystem Wake-Up from D1 to D0 Enable */
49 #define AD1D0SR __REG(0x40f40024) /* Application Subsystem Wake-Up from D1 to D0 Status */
[all …]
/linux/drivers/gpio/
H A Dgpio-tangier.h24 /* Elkhart Lake specific wake registers */
25 #define GWMR_EHL 0x100 /* Wake mask */
26 #define GWSR_EHL 0x118 /* Wake source */
29 /* Merrifield specific wake registers */
30 #define GWMR_MRFLD 0x400 /* Wake mask */
31 #define GWSR_MRFLD 0x418 /* Wake source */
35 * struct tng_wake_regs - Platform specific wake registers
36 * @gwmr: Wake mask
37 * @gwsr: Wake source
97 * @wake_regs: Platform specific wake registers
/linux/Documentation/devicetree/bindings/power/reset/
H A Datmel,sama5d2-shdwc.yaml14 and VDDCORE and the wake-up detection on debounced input lines.
40 Minimum wake-up inputs debouncer period in microseconds. It is usually a
44 description: enable real-time clock wake-up
48 description: enable real-time timer wake-up
54 Wake-up input nodes. These are usually described in the "board" part of
55 the Device Tree. Note also that input 0 is linked to the wake-up pin and
60 description: contains the wake-up input index
66 The corresponding wake-up input described by the child forces the
67 wake-up of the core power supply on a high level. The default is to
H A Datmel,at91sam9260-shdwc.yaml14 and VDDCORE and the wake-up detection on debounced input lines.
35 description: counter on wake-up 0
41 description: enable real-time timer wake-up
45 description: enable real-time clock wake-up
/linux/Documentation/ABI/testing/
H A Dsysfs-devices-power14 space to check if the device is enabled to wake up the system
33 be enabled to wake up the system from sleep states.
86 attribute is read-only. If the device is not capable to wake up
88 If the device is not enabled to wake up the system from sleep
98 is read-only. If the device is not capable to wake up the
100 the device is not enabled to wake up the system from sleep
111 is not capable to wake up the system from sleep states, this
112 attribute is not present. If the device is not enabled to wake
122 read-only. If the device is not capable to wake up the system
124 device is not enabled to wake up the system from sleep states,
[all …]
H A Dsysfs-devices-platform-ACPI-TAD31 "disabled", if the AC alarm is not set to wake up the system.
37 expires, it will immediately wake up the system from the S3
45 (RW) The AC alarm expired timer wake policy (see ACPI 6.2,
48 Reads return the current expired timer wake delay for the AC
52 Write a new expired timer wake delay for the AC alarm timer in
53 seconds or "never" to it to set the expired timer wake delay for
54 the AC alarm timer or to set its expired wake policy to discard
81 it will immediately wake up the system from the S3 sleep state
100 (RW,optional) The DC alarm expired timer wake policy.
/linux/drivers/gpu/drm/xe/
H A Dxe_force_wake_types.h55 * struct xe_force_wake_domain - XE force wake domains
58 /** @id: domain force wake id */
60 /** @reg_ctl: domain wake control register address */
64 /** @val: domain wake write value */
73 * struct xe_force_wake - XE force wake
78 /** @lock: protects everything force wake struct */
82 /** @domains: force wake domains */
H A Dxe_force_wake.c19 static const char *str_wake_sleep(bool wake) in str_wake_sleep() argument
21 return wake ? "wake" : "sleep"; in str_wake_sleep()
98 static void __domain_ctl(struct xe_gt *gt, struct xe_force_wake_domain *domain, bool wake) in __domain_ctl() argument
103 xe_mmio_write32(gt, domain->reg_ctl, domain->mask | (wake ? domain->val : 0)); in __domain_ctl()
106 static int __domain_wait(struct xe_gt *gt, struct xe_force_wake_domain *domain, bool wake) in __domain_wait() argument
114 ret = xe_mmio_wait32(gt, domain->reg_ack, domain->val, wake ? domain->val : 0, in __domain_wait()
118 xe_gt_notice(gt, "Force wake domain %d failed to ack %s (%pe) reg[%#x] = %#x\n", in __domain_wait()
119 domain->id, str_wake_sleep(wake), ERR_PTR(ret), in __domain_wait()
/linux/Documentation/devicetree/bindings/pinctrl/
H A Dsamsung,pinctrl-wakeup-interrupt.yaml7 title: Samsung S3C/S5P/Exynos SoC pin controller - wake-up interrupt controller
18 External wake-up interrupts for Samsung S3C/S5P/Exynos SoC pin controller.
19 For S3C24xx, S3C64xx, S5PV210 and Exynos4210 compatible wake-up interrupt
20 controllers, only one pin-controller device node can include external wake-up
21 interrupts child node (in other words, only one External wake-up interrupts
24 external wake-up interrupts child node.
55 Interrupt used by multiplexed external wake-up interrupts.
H A Dsamsung,pinctrl-gpio-bank.yaml31 For GPIO banks supporting external GPIO interrupts or external wake-up
37 For GPIO banks supporting external GPIO interrupts or external wake-up
42 For GPIO banks supporting direct external wake-up interrupts (without
43 multiplexing). Number of interrupts must match number of wake-up capable
/linux/include/linux/
H A Dlis3lv02d.h15 * data available / wake up, open drain, polarity)
18 * @duration1: Wake up unit 1 duration parameter
19 * @duration2: Wake up unit 2 duration parameter
20 * @wakeup_flags: Wake up unit 1 flags
21 * @wakeup_thresh: Wake up unit 1 threshold value
22 * @wakeup_flags2: Wake up unit 2 flags
23 * @wakeup_thresh2: Wake up unit 2 threshold value
40 * only for the 8 bit device. The 8 bit device has two wake up / free fall
/linux/drivers/power/reset/
H A Dat91-poweroff.c28 #define AT91_SHDW_WKMODE0 GENMASK(2, 0) /* Wake-up 0 Mode Selection */
29 #define AT91_SHDW_CPTWK0_MAX 0xf /* Maximum Counter On Wake Up 0 */
30 #define AT91_SHDW_CPTWK0 (AT91_SHDW_CPTWK0_MAX << 4) /* Counter On Wake Up 0 */
32 #define AT91_SHDW_RTTWKEN BIT(16) /* Real Time Timer Wake-up Enable */
33 #define AT91_SHDW_RTCWKEN BIT(17) /* Real Time Clock Wake-up Enable */
36 #define AT91_SHDW_WAKEUP0 BIT(0) /* Wake-up 0 Status */
37 #define AT91_SHDW_RTTWK BIT(16) /* Real-time Timer Wake-up */
38 #define AT91_SHDW_RTCWK BIT(17) /* Real-time Clock Wake-up [SAM9RL] */
76 dev_info(&pdev->dev, "Wake-Up source: %s\n", reason); in at91_wakeup_status()
/linux/drivers/media/rc/
H A Dnuvoton-cir.h93 /* total length of CIR and CIR WAKE */
188 /* CIR WAKE UP Regs */
206 /* CIR WAKE UP IRCON settings */
218 /* CIR WAKE IRSTS Bits */
226 /* CIR WAKE UP IREN Bits */
233 /* CIR WAKE FIFOCON settings */
242 /* select WAKE UP RX trigger level as 67 */
245 /* CIR WAKE SRXFSTS settings */
252 * The CIR Wake FIFO buffer is 67 bytes long, but the stock remote wakes
256 /* CIR Wake byte comparison tolerance */
H A Dnuvoton-cir.c138 /* write val to cir wake register */
145 /* read val from cir wake config register */
186 /* enable writes to wake fifo */ in nvt_write_wakeup_codes()
191 pr_info("Wake samples (%d) =", count); in nvt_write_wakeup_codes()
193 pr_info("Wake sample fifo cleared"); in nvt_write_wakeup_codes()
315 /* dump current cir wake register contents */
323 pr_info("%s: Dump CIR WAKE logical device registers:\n", in cir_wake_dump_regs()
325 pr_info(" * CR CIR WAKE ACTIVE : 0x%x\n", in cir_wake_dump_regs()
327 pr_info(" * CR CIR WAKE BASE ADDR: 0x%x\n", in cir_wake_dump_regs()
330 pr_info(" * CR CIR WAKE IRQ NUM: 0x%x\n", in cir_wake_dump_regs()
[all …]
/linux/include/uapi/linux/
H A Dfutex.h157 * a FUTEX_WAKE on such futexes, after setting the bit, to wake
188 #define FUTEX_OP_CMP_EQ 0 /* if (oldval == CMPARG) wake */
189 #define FUTEX_OP_CMP_NE 1 /* if (oldval != CMPARG) wake */
190 #define FUTEX_OP_CMP_LT 2 /* if (oldval < CMPARG) wake */
191 #define FUTEX_OP_CMP_LE 3 /* if (oldval <= CMPARG) wake */
192 #define FUTEX_OP_CMP_GT 4 /* if (oldval > CMPARG) wake */
193 #define FUTEX_OP_CMP_GE 5 /* if (oldval >= CMPARG) wake */
199 wake UADDR2; */
/linux/Documentation/devicetree/bindings/net/nfc/
H A Dsamsung,s3fwrn5.yaml32 wake-gpios:
47 Use wake-gpios
54 - wake-gpios
84 wake-gpios = <&gpj0 2 GPIO_ACTIVE_HIGH>;
96 wake-gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
/linux/Documentation/devicetree/bindings/net/can/
H A Dtcan4x5x.txt29 - device-wake-gpios: Wake up GPIO to wake up the TCAN device. Not
32 the RX interrupt to wake up the device.
45 device-wake-gpios = <&gpio1 15 GPIO_ACTIVE_HIGH>;
/linux/Documentation/admin-guide/
H A Dbtmrvl.rst17 where GPIO is the pin number of GPIO used to wake up the host.
26 # Use SDIO interface to wake up the host and set GAP to 0x80:
30 # Use GPIO pin #3 to wake up the host and set GAP to 0xff:
54 These commands are used to enable host sleep or wake up firmware
59 0 -- Wake up firmware
67 # Wake up firmware
/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76_connac.h106 } wake; member
351 spin_lock_bh(&pm->wake.lock); in mt76_connac_pm_ref()
355 pm->wake.count++; in mt76_connac_pm_ref()
358 spin_unlock_bh(&pm->wake.lock); in mt76_connac_pm_ref()
366 spin_lock_bh(&pm->wake.lock); in mt76_connac_pm_unref()
369 if (--pm->wake.count == 0 && in mt76_connac_pm_unref()
373 spin_unlock_bh(&pm->wake.lock); in mt76_connac_pm_unref()
385 spin_lock_bh(&pm->wake.lock); in mt76_connac_skip_fw_pmctrl()
386 ret = pm->wake.count || test_and_set_bit(MT76_STATE_PM, &phy->state); in mt76_connac_skip_fw_pmctrl()
387 spin_unlock_bh(&pm->wake.lock); in mt76_connac_skip_fw_pmctrl()
/linux/kernel/sched/
H A Dwait.c62 * wake everything up. If it's an exclusive wakeup (nr_exclusive == small +ve
63 * number) then we wake that number of exclusive tasks, and potentially all
69 * There are circumstances in which we can try to wake a task which has already
114 * __wake_up - wake up threads blocked on a waitqueue.
117 * @nr_exclusive: how many wake-one or wake-many threads to wake up
152 * __wake_up_sync_key - wake up threads blocked on a waitqueue.
178 * __wake_up_locked_sync_key - wake up a thread blocked on a locked waitqueue.
219 * wake-function that tests for the wait-queue being active
286 * can't see us, it should wake up another exclusive waiter if in prepare_to_wait_event()
311 * entry to the wake queue.
/linux/arch/x86/kernel/acpi/
H A Dmadt_wakeup.c206 * Wait for the CPU to wake up. in acpi_wakeup_cpu()
209 * woken up. It should not take long for it wake up and acknowledge by in acpi_wakeup_cpu()
213 * has to wait for a wake up acknowledgment. It also doesn't provide in acpi_wakeup_cpu()
214 * a way to cancel a wake up request if it takes too long. in acpi_wakeup_cpu()
217 * wake up secondary. It can postpone scheduling secondary vCPU in acpi_wakeup_cpu()
218 * indefinitely. Giving up on wake up request and reporting error opens in acpi_wakeup_cpu()
219 * possible attack vector for VMM: it can wake up a secondary CPU when in acpi_wakeup_cpu()
220 * kernel doesn't expect it. Wait until positive result of the wake up in acpi_wakeup_cpu()
/linux/Documentation/devicetree/bindings/input/
H A Datmel,maxtouch.yaml45 wake-gpios:
48 Optional GPIO specifier for the touchscreen's wake pin
73 The WAKE line is an active-low input that is used to wake up the touch
80 The WAKE pin can be connected in one of the following ways:
/linux/Documentation/locking/
H A Dfutex-requeue-pi.rst20 implementation would wake the highest-priority waiter, and leave the
92 The requeue code cannot simply wake the waiter and leave it to
109 wake-up scenarios.
113 possibly wake the waiting tasks. Internally, this system call is
125 their sum is all that really matters. futex_requeue() will wake or
126 requeue up to nr_wake + nr_requeue tasks. It will wake only as many

12345678910>>...68