Home
last modified time | relevance | path

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

12345678910>>...119

/OK3568_Linux_fs/kernel/drivers/base/power/
H A Dwakeirq.c13 * dev_pm_attach_wake_irq - Attach device interrupt as a wake IRQ
15 * @irq: Device wake-up capable interrupt
16 * @wirq: Wake irq specific data
19 * dedicated wake-up interrupt as a wake IRQ.
31 "wake irq already initialized\n")) { in dev_pm_attach_wake_irq()
44 * dev_pm_set_wake_irq - Attach device IO interrupt as wake IRQ
48 * Attach a device IO interrupt as a wake IRQ. The wake IRQ gets
49 * automatically configured for wake-up from suspend based
77 * dev_pm_clear_wake_irq - Detach a device IO interrupt wake IRQ
80 * Detach a device wake IRQ and free resources.
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/
H A Datmel-sysregs.txt69 - atmel,wakeup-counter: Counter on Wake-up 0 (between 0x0 and 0xf).
72 - atmel,wakeup-rtt-timer: boolean to enable Real-time Timer Wake-up.
75 - atmel,wakeup-rtc-timer: boolean to enable Real-time Clock Wake-up.
76 - atmel,wakeup-rtt-timer: boolean to enable Real-time Timer Wake-up.
79 - atmel,wakeup-rtc-timer: boolean to enable Real-time Clock Wake-up.
97 - #address-cells: should be one. The cell is the wake-up input index.
102 - debounce-delay-us: minimum wake-up inputs debouncer period in
104 - atmel,wakeup-rtc-timer: boolean to enable Real-Time Clock wake-up.
107 - atmel,wakeup-rtt-timer: boolean to enable Real-time Timer Wake-up.
109 The node contains child nodes for each wake-up input that the platform uses.
[all …]
/OK3568_Linux_fs/kernel/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.
/OK3568_Linux_fs/kernel/arch/arm/mach-pxa/include/mach/
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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A D802.11ah.h77 #define TWT_CTRL_WAKEDUR_UNIT 0x20u /* Wake duration unit */
82 TWT_CTRL_NEGO_TYPE_1 = 1, /* Wake TBTT Negotiation */
99 #define TWT_REQ_TYPE_WAKE_EXP_MASK 0x7c00u /* Wake Interval Exponent */
122 /* Target Wake Time - 8 octets or 0 octet */
124 typedef uint16 twt_bcast_wake_time_t; /* 16 bit Wake Time of Bcast scheduling STA */
167 uint8 nom_wake_dur; /* Nominal Minimum Wake Duration */
168 uint16 wake_int_mant; /* TWT Wake Interval Mantissa */
177 uint8 nom_wake_dur; /* Nominal Minimum Wake Duration */
178 uint16 wake_int_mant; /* TWT Wake Interval Mantissa */
190 twt_ie_btwt_bottom_t btwt_bottom; /* wake dur, int, BID Info */
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A D802.11ah.h77 #define TWT_CTRL_WAKEDUR_UNIT 0x20u /* Wake duration unit */
82 TWT_CTRL_NEGO_TYPE_1 = 1, /* Wake TBTT Negotiation */
99 #define TWT_REQ_TYPE_WAKE_EXP_MASK 0x7c00u /* Wake Interval Exponent */
122 /* Target Wake Time - 8 octets or 0 octet */
124 typedef uint16 twt_bcast_wake_time_t; /* 16 bit Wake Time of Bcast scheduling STA */
167 uint8 nom_wake_dur; /* Nominal Minimum Wake Duration */
168 uint16 wake_int_mant; /* TWT Wake Interval Mantissa */
177 uint8 nom_wake_dur; /* Nominal Minimum Wake Duration */
178 uint16 wake_int_mant; /* TWT Wake Interval Mantissa */
190 twt_ie_btwt_bottom_t btwt_bottom; /* wake dur, int, BID Info */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dwl_cfgvendor.h524 int icmp_pkt; /* wake icmp packet count */
525 int icmp6_pkt; /* wake icmp6 packet count */
526 int icmp6_ra; /* wake icmp6 RA packet count */
527 int icmp6_na; /* wake icmp6 NA packet count */
528 int icmp6_ns; /* wake icmp6 NS packet count */
532 int ipv4_rx_multicast_addr_cnt; /* Rx wake packet was ipv4 multicast */
533 int ipv6_rx_multicast_addr_cnt; /* Rx wake packet was ipv6 multicast */
534 int other_rx_multicast_addr_cnt; /* Rx wake packet was non-ipv4 and non-ipv6 */
539 int *cmd_event_wake_cnt; /* Individual wake count array, each index a reason */
540 int cmd_event_wake_cnt_sz; /* Max number of cmd event wake reasons */
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dfutex.h105 * a FUTEX_WAKE on such futexes, after setting the bit, to wake
136 #define FUTEX_OP_CMP_EQ 0 /* if (oldval == CMPARG) wake */
137 #define FUTEX_OP_CMP_NE 1 /* if (oldval != CMPARG) wake */
138 #define FUTEX_OP_CMP_LT 2 /* if (oldval < CMPARG) wake */
139 #define FUTEX_OP_CMP_LE 3 /* if (oldval <= CMPARG) wake */
140 #define FUTEX_OP_CMP_GT 4 /* if (oldval > CMPARG) wake */
141 #define FUTEX_OP_CMP_GE 5 /* if (oldval >= CMPARG) wake */
147 wake UADDR2; */
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dfutex.h105 * a FUTEX_WAKE on such futexes, after setting the bit, to wake
136 #define FUTEX_OP_CMP_EQ 0 /* if (oldval == CMPARG) wake */
137 #define FUTEX_OP_CMP_NE 1 /* if (oldval != CMPARG) wake */
138 #define FUTEX_OP_CMP_LT 2 /* if (oldval < CMPARG) wake */
139 #define FUTEX_OP_CMP_LE 3 /* if (oldval <= CMPARG) wake */
140 #define FUTEX_OP_CMP_GT 4 /* if (oldval > CMPARG) wake */
141 #define FUTEX_OP_CMP_GE 5 /* if (oldval >= CMPARG) wake */
147 wake UADDR2; */
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dfutex.h105 * a FUTEX_WAKE on such futexes, after setting the bit, to wake
136 #define FUTEX_OP_CMP_EQ 0 /* if (oldval == CMPARG) wake */
137 #define FUTEX_OP_CMP_NE 1 /* if (oldval != CMPARG) wake */
138 #define FUTEX_OP_CMP_LT 2 /* if (oldval < CMPARG) wake */
139 #define FUTEX_OP_CMP_LE 3 /* if (oldval <= CMPARG) wake */
140 #define FUTEX_OP_CMP_GT 4 /* if (oldval > CMPARG) wake */
141 #define FUTEX_OP_CMP_GE 5 /* if (oldval >= CMPARG) wake */
147 wake UADDR2; */
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dwl_cfgvendor.h623 int icmp_pkt; /* wake icmp packet count */
624 int icmp6_pkt; /* wake icmp6 packet count */
625 int icmp6_ra; /* wake icmp6 RA packet count */
626 int icmp6_na; /* wake icmp6 NA packet count */
627 int icmp6_ns; /* wake icmp6 NS packet count */
631 int ipv4_rx_multicast_addr_cnt; /* Rx wake packet was ipv4 multicast */
632 int ipv6_rx_multicast_addr_cnt; /* Rx wake packet was ipv6 multicast */
633 int other_rx_multicast_addr_cnt; /* Rx wake packet was non-ipv4 and non-ipv6 */
638 int *cmd_event_wake_cnt; /* Individual wake count array, each index a reason */
639 int cmd_event_wake_cnt_sz; /* Max number of cmd event wake reasons */
[all …]
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/drivers/rtc/
H A Drtc-bd70528.c155 "Failed to disable 'wake timer' for RTC setting\n"); in bd70528_set_rtc_based_timers()
196 * PM and 24H bits are not used by Wake - thus we clear them in tm2rtc()
197 * here and not in tmday2rtc() which is also used by wake. in tm2rtc()
264 struct bd70528_rtc_wake wake; in bd70528_set_alarm() local
271 &wake, sizeof(wake)); in bd70528_set_alarm()
273 dev_err(dev, "Failed to read wake regs\n"); in bd70528_set_alarm()
285 tmday2rtc(&a->time, &wake.time); in bd70528_set_alarm()
289 wake.ctrl |= BD70528_MASK_WAKE_EN; in bd70528_set_alarm()
292 wake.ctrl &= ~BD70528_MASK_WAKE_EN; in bd70528_set_alarm()
296 BD70528_REG_RTC_WAKE_START, &wake, in bd70528_set_alarm()
[all …]
/OK3568_Linux_fs/kernel/kernel/sched/
H A Dwait.c60 * wake everything up. If it's an exclusive wakeup (nr_exclusive == small +ve
61 * number) then we wake all the non-exclusive tasks and one exclusive task.
63 * There are circumstances in which we can try to wake a task which has already
131 * __wake_up - wake up threads blocked on a waitqueue.
134 * @nr_exclusive: how many wake-one or wake-many threads to wake up
170 * __wake_up_sync_key - wake up threads blocked on a waitqueue.
199 * __wake_up_locked_sync_key - wake up a thread blocked on a locked waitqueue.
240 * wake-function that tests for the wait-queue being active
307 * can't see us, it should wake up another exclusive waiter if in prepare_to_wait_event()
332 * entry to the wake queue.
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dwl_cfgvendor.h713 int icmp_pkt; /* wake icmp packet count */
714 int icmp6_pkt; /* wake icmp6 packet count */
715 int icmp6_ra; /* wake icmp6 RA packet count */
716 int icmp6_na; /* wake icmp6 NA packet count */
717 int icmp6_ns; /* wake icmp6 NS packet count */
721 int ipv4_rx_multicast_addr_cnt; /* Rx wake packet was ipv4 multicast */
722 int ipv6_rx_multicast_addr_cnt; /* Rx wake packet was ipv6 multicast */
723 int other_rx_multicast_addr_cnt; /* Rx wake packet was non-ipv4 and non-ipv6 */
728 int *cmd_event_wake_cnt; /* Individual wake count array, each index a reason */
729 int cmd_event_wake_cnt_sz; /* Max number of cmd event wake reasons */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_cfgvendor.h697 int icmp_pkt; /* wake icmp packet count */
698 int icmp6_pkt; /* wake icmp6 packet count */
699 int icmp6_ra; /* wake icmp6 RA packet count */
700 int icmp6_na; /* wake icmp6 NA packet count */
701 int icmp6_ns; /* wake icmp6 NS packet count */
705 int ipv4_rx_multicast_addr_cnt; /* Rx wake packet was ipv4 multicast */
706 int ipv6_rx_multicast_addr_cnt; /* Rx wake packet was ipv6 multicast */
707 int other_rx_multicast_addr_cnt; /* Rx wake packet was non-ipv4 and non-ipv6 */
712 int *cmd_event_wake_cnt; /* Individual wake count array, each index a reason */
713 int cmd_event_wake_cnt_sz; /* Max number of cmd event wake reasons */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dwl_cfgvendor.h713 int icmp_pkt; /* wake icmp packet count */
714 int icmp6_pkt; /* wake icmp6 packet count */
715 int icmp6_ra; /* wake icmp6 RA packet count */
716 int icmp6_na; /* wake icmp6 NA packet count */
717 int icmp6_ns; /* wake icmp6 NS packet count */
721 int ipv4_rx_multicast_addr_cnt; /* Rx wake packet was ipv4 multicast */
722 int ipv6_rx_multicast_addr_cnt; /* Rx wake packet was ipv6 multicast */
723 int other_rx_multicast_addr_cnt; /* Rx wake packet was non-ipv4 and non-ipv6 */
728 int *cmd_event_wake_cnt; /* Individual wake count array, each index a reason */
729 int cmd_event_wake_cnt_sz; /* Max number of cmd event wake reasons */
[all …]
/OK3568_Linux_fs/kernel/drivers/phy/motorola/
H A Dphy-mapphone-mdm6600.c35 PHY_MDM6600_MODE0, /* out USB mode0 and OOB wake */
36 PHY_MDM6600_MODE1, /* out USB mode1, in OOB wake */
235 * phy_mdm6600_wakeirq_thread - handle mode1 line OOB wake after booting
240 * mode for mdm6600. After booting it is used as input for OOB wake
255 dev_dbg(ddata->dev, "OOB wake on mode_gpio1: %i\n", wakeup); in phy_mdm6600_wakeirq_thread()
263 /* Just wake-up and kick the autosuspend timer */ in phy_mdm6600_wakeirq_thread()
372 * GPIOs as they are also used for Out of Band (OOB) wake for the USB and
387 * they are used for OOB wake signaling. These can be also used in phy_mdm6600_device_power_on()
428 /* Reconfigure mode1 GPIO as input for OOB wake */ in phy_mdm6600_device_power_on()
440 "mdm6600-wake", in phy_mdm6600_device_power_on()
[all …]
/OK3568_Linux_fs/kernel/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>>...119