/linux/drivers/hid/intel-thc-hid/intel-thc/ |
H A D | intel-thc-wot.c | 11 * thc_wot_config - Query and configure wake-on-touch feature 16 * _DSD to map this GPIO resource, so this function first registers wake GPIO 17 * mapping manually, then queries wake-on-touch GPIO resource from ACPI, 18 * if it exists and is wake-able, configure driver to enable it, otherwise, 39 dev_warn(thc_dev->dev, "Can't add wake GPIO resource, ret = %d\n", ret); in thc_wot_config() 43 wot->gpio_irq = acpi_dev_gpio_irq_wake_get_by(adev, "wake-on-touch", 0, in thc_wot_config() 46 dev_warn(thc_dev->dev, "Can't find wake GPIO resource\n"); in thc_wot_config() 57 dev_warn(thc_dev->dev, "Failed to init wake up.\n"); in thc_wot_config() 63 dev_warn(thc_dev->dev, "Failed to set wake up IRQ.\n"); in thc_wot_config() 70 * thc_wot_unconfig - Unconfig wake-on-touch feature [all …]
|
/linux/arch/arm/mach-pxa/ |
H A D | pxa2xx-regs.h | 23 #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 D | pxa3xx-regs.h | 30 #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 D | gpio-tangier.h | 24 /* 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/drivers/gpu/drm/xe/ |
H A D | xe_force_wake.c | 19 static const char *str_wake_sleep(bool wake) in str_wake_sleep() argument 21 return wake ? "wake" : "sleep"; in str_wake_sleep() 96 static void __domain_ctl(struct xe_gt *gt, struct xe_force_wake_domain *domain, bool wake) in __domain_ctl() argument 101 xe_mmio_write32(>->mmio, domain->reg_ctl, domain->mask | (wake ? domain->val : 0)); in __domain_ctl() 104 static int __domain_wait(struct xe_gt *gt, struct xe_force_wake_domain *domain, bool wake) in __domain_wait() argument 112 ret = xe_mmio_wait32(>->mmio, domain->reg_ack, domain->val, wake ? domain->val : 0, in __domain_wait() 116 xe_gt_err(gt, "Force wake domain %d failed to ack %s (%pe) reg[%#x] = %#x\n", in __domain_wait() 117 domain->id, str_wake_sleep(wake), ERR_PTR(ret), in __domain_wait() 121 "Force wake domain %d: %s. MMIO unreliable (forcewake register returns 0xFFFFFFFF)!\n", in __domain_wait() 122 domain->id, str_wake_sleep(wake)); in __domain_wait() [all …]
|
/linux/include/linux/firmware/imx/ |
H A D | sm.h | 17 #define SCMI_IMX95_CTRL_SAI3_MCLK 3 /* WAKE SAI3 MCLK */ 18 #define SCMI_IMX95_CTRL_SAI4_MCLK 4 /* WAKE SAI4 MCLK */ 19 #define SCMI_IMX95_CTRL_SAI5_MCLK 5 /* WAKE SAI5 MCLK */ 23 #define SCMI_IMX94_CTRL_MQS2_SETTINGS 2U /*!< WAKE MQS settings */ 25 #define SCMI_IMX94_CTRL_SAI2_MCLK 4U /*!< WAKE SAI2 MCLK */ 26 #define SCMI_IMX94_CTRL_SAI3_MCLK 5U /*!< WAKE SAI3 MCLK */ 27 #define SCMI_IMX94_CTRL_SAI4_MCLK 6U /*!< WAKE SAI4 MCLK */
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-devices-platform-ACPI-TAD | 31 "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.
|
H A D | sysfs-driver-intel-rapid-start | 6 1: Wake to enter hibernation when the wakeup timer expires 7 2: Wake to enter hibernation when the battery reaches a 11 indicates that the system will wake to enter hibernation when
|
/linux/include/linux/ |
H A D | lis3lv02d.h | 15 * 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 D | at91-poweroff.c | 28 #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 D | nuvoton-cir.h | 93 /* 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 D | nuvoton-cir.c | 138 /* 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 D | futex.h | 164 * a FUTEX_WAKE on such futexes, after setting the bit, to wake 195 #define FUTEX_OP_CMP_EQ 0 /* if (oldval == CMPARG) wake */ 196 #define FUTEX_OP_CMP_NE 1 /* if (oldval != CMPARG) wake */ 197 #define FUTEX_OP_CMP_LT 2 /* if (oldval < CMPARG) wake */ 198 #define FUTEX_OP_CMP_LE 3 /* if (oldval <= CMPARG) wake */ 199 #define FUTEX_OP_CMP_GT 4 /* if (oldval > CMPARG) wake */ 200 #define FUTEX_OP_CMP_GE 5 /* if (oldval >= CMPARG) wake */ 206 wake UADDR2; */
|
/linux/Documentation/devicetree/bindings/net/nfc/ |
H A D | samsung,s3fwrn5.yaml | 32 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/admin-guide/ |
H A D | btmrvl.rst | 17 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/kernel/sched/ |
H A D | wait.c | 81 * wake everything up. If it's an exclusive wakeup (nr_exclusive == small +ve 82 * number) then we wake that number of exclusive tasks, and potentially all 88 * There are circumstances in which we can try to wake a task which has already 133 * __wake_up - wake up threads blocked on a waitqueue. 136 * @nr_exclusive: how many wake-one or wake-many threads to wake up 171 * __wake_up_sync_key - wake up threads blocked on a waitqueue. 197 * __wake_up_locked_sync_key - wake up a thread blocked on a locked waitqueue. 238 * wake-function that tests for the wait-queue being active 305 * can't see us, it should wake up another exclusive waiter if in prepare_to_wait_event() 330 * entry to the wake queue.
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | samsung,pinctrl-gpio-bank.yaml | 31 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/Documentation/devicetree/bindings/net/bluetooth/ |
H A D | realtek,bluetooth.yaml | 32 device-wake-gpios: 40 host-wake-gpios: 65 device-wake-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */ 66 host-wake-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
|
/linux/Documentation/locking/ |
H A D | futex-requeue-pi.rst | 20 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
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | atmel,at91sam9260-shdwc.yaml | 14 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/include/linux/sched/ |
H A D | wake_q.h | 6 * Wake-queues are lists of tasks with a pending wakeup, whose 17 * in two wake queues simultaneously; it is forbidden to abandon a task 18 * in a wake queue (a call to wake_up_q() _must_ follow), so if a task is 19 * already in a wake queue, the wakeup will happen soon and the second
|
/linux/kernel/futex/ |
H A D | syscalls.c | 215 * @wake: Wake to call when futex is woken 216 * @wake_data: Data for the wake handler 222 unsigned int nr_futexes, futex_wake_fn *wake, in futex_parse_waitv() argument 248 futexv[i].q.wake = wake; in futex_parse_waitv() 356 * sys_futex_wake - Wake a number of futexes 357 * @uaddr: Address of the futex(es) to wake 359 * @nr: Number of the futexes to wake 435 * @nr_wake: number of futexes to wake
|
/linux/drivers/soc/qcom/ |
H A D | rpmh-internal.h | 27 * @type: Type of the TCS in this group - active, sleep, wake. 33 * transfers (could be on a wake/sleep TCS if we are borrowing for 40 * SLEEP / WAKE TCSs. Things are tightly packed in the 78 * @batch_cache: Cache sleep and wake requests sent as batch 108 * transfers, but might show a sleep/wake TCS in use if
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | ipq5332-rdp441.dts | 40 wake-gpios = <&tlmm 39 GPIO_ACTIVE_LOW>; 54 wake-gpios = <&tlmm 48 GPIO_ACTIVE_LOW>; 87 wake-n-pins { 111 wake-n-pins {
|
/linux/tools/perf/pmu-events/arch/x86/ivytown/ |
H A D | uncore-power.json | 151 …layed C state algorithm rejected the deep sleep state. In other words, a wake event occurred befo… 160 …layed C state algorithm rejected the deep sleep state. In other words, a wake event occurred befo… 169 …layed C state algorithm rejected the deep sleep state. In other words, a wake event occurred befo… 178 …layed C state algorithm rejected the deep sleep state. In other words, a wake event occurred befo… 187 …layed C state algorithm rejected the deep sleep state. In other words, a wake event occurred befo… 196 …layed C state algorithm rejected the deep sleep state. In other words, a wake event occurred befo… 205 …layed C state algorithm rejected the deep sleep state. In other words, a wake event occurred befo… 214 …layed C state algorithm rejected the deep sleep state. In other words, a wake event occurred befo… 223 …layed C state algorithm rejected the deep sleep state. In other words, a wake event occurred befo… 232 …layed C state algorithm rejected the deep sleep state. In other words, a wake event occurred befo… [all …]
|