/linux-5.10/drivers/base/power/ |
D | wakeirq.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * 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. 27 return -EINVAL; in dev_pm_attach_wake_irq() 29 spin_lock_irqsave(&dev->power.lock, flags); in dev_pm_attach_wake_irq() 30 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq() 31 "wake irq already initialized\n")) { in dev_pm_attach_wake_irq() 32 spin_unlock_irqrestore(&dev->power.lock, flags); in dev_pm_attach_wake_irq() [all …]
|
/linux-5.10/Documentation/devicetree/bindings/arm/ |
D | atmel-sysregs.txt | 4 - compatible: Should be "atmel,sama5d2-chipid" 5 - reg : Should contain registers location and length 8 - compatible: Should be "atmel,at91sam9260-pit" 9 - reg: Should contain registers location and length 10 - interrupts: Should contain interrupt for the PIT which is the IRQ line 14 - compatible: Should be "microchip,sam9x60-pit64b" 15 - reg: Should contain registers location and length 16 - interrupts: Should contain interrupt for PIT64B timer 17 - clocks: Should contain the available clock sources for PIT64B timer. 20 - compatible: Should be "atmel,at91rm9200-st", "syscon", "simple-mfd" [all …]
|
D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 14 1 - Introduction 18 where cores can be put in different low-power states (ranging from simple wfi 20 range of dynamic idle states that a processor can enter at run-time, can be 27 - Running 28 - Idle_standby [all …]
|
/linux-5.10/Documentation/ABI/testing/ |
D | sysfs-devices-power | 14 space to check if the device is enabled to wake up the system 33 be enabled to wake up the system from sleep states. 40 space to control the run-time power management of the device. 52 the device is suspended causes it to be woken up. 61 with the main suspend/resume thread) during system-wide power 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 110 state in progress. This attribute is read-only. If the device [all …]
|
/linux-5.10/arch/arm/mach-pxa/include/mach/ |
D | pxa2xx-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/mach-pxa/include/mach/pxa2xx-regs.h 5 * Taken from pxa-regs.h by Russell King 23 #define PWER __REG(0x40F0000C) /* Power Manager Wake-up Enable Register */ 24 #define PRER __REG(0x40F00010) /* Power Manager GPIO Rising-Edge Detect Enable Register */ 25 #define PFER __REG(0x40F00014) /* Power Manager GPIO Falling-Edge Detect Enable Register */ 28 #define PGSR0 __REG(0x40F00020) /* Power Manager GPIO Sleep State Register for GP[31-0] */ 29 #define PGSR1 __REG(0x40F00024) /* Power Manager GPIO Sleep State Register for GP[63-32] */ 30 #define PGSR2 __REG(0x40F00028) /* Power Manager GPIO Sleep State Register for GP[84-64] */ 31 #define PGSR3 __REG(0x40F0002C) /* Power Manager GPIO Sleep State Register for GP[118-96] */ [all …]
|
D | pxa3xx-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/mach-pxa/include/mach/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 */ 33 #define DCDCSR __REG(0x40F50080) /* DC-DC Controller 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 */ [all …]
|
/linux-5.10/include/linux/ |
D | lis3lv02d.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * struct lis3lv02d_platform_data - lis3 chip family platform data 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 26 * @axis_x: Sensor orientation remapping for x-axis [all …]
|
/linux-5.10/drivers/power/reset/ |
D | at91-poweroff.c | 5 * Copyright (C) 2011 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> 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] */ 65 /* Simple power-on, just bail out */ in at91_wakeup_status() [all …]
|
D | at91-sama5d2_shdwc.c | 2 * Atmel SAMA5D2-Compatible Shutdown Controller (SHDWC) driver. 8 * Evolved from driver at91-poweroff.c. 15 * - addition to status of other wake-up inputs [1 - 15] 16 * - Analog Comparator wake-up alarm 17 * - Serial RX wake-up alarm 18 * - low power debouncer 50 #define AT91_SHDW_WUIR 0x0c /* Shutdown Wake-up Inputs Register */ 58 #define SHDW_WK_PIN(reg, cfg) ((reg) & AT91_SHDW_WKUPIS((cfg)->wkup_pin_input)) 59 #define SHDW_RTCWK(reg, cfg) (((reg) >> ((cfg)->sr_rtcwk_shift)) & 0x1) 60 #define SHDW_RTTWK(reg, cfg) (((reg) >> ((cfg)->sr_rttwk_shift)) & 0x1) [all …]
|
/linux-5.10/Documentation/admin-guide/ |
D | btmrvl.rst | 14 bit 8:0 -- Gap 15 bit 16:8 -- GPIO 17 where GPIO is the pin number of GPIO used to wake up the host. 18 It could be any valid GPIO pin# (e.g. 0-7) or 0xff (SDIO interface 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: 39 1 -- Enable auto sleep mode 40 0 -- Disable auto sleep mode 54 These commands are used to enable host sleep or wake up firmware 58 1 -- Enable host sleep [all …]
|
/linux-5.10/kernel/sched/ |
D | wait.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 spin_lock_init(&wq_head->lock); in __init_waitqueue_head() 12 lockdep_set_class_and_name(&wq_head->lock, key, name); in __init_waitqueue_head() 13 INIT_LIST_HEAD(&wq_head->head); in __init_waitqueue_head() 22 wq_entry->flags &= ~WQ_FLAG_EXCLUSIVE; in add_wait_queue() 23 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue() 25 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue() 33 wq_entry->flags |= WQ_FLAG_EXCLUSIVE; in add_wait_queue_exclusive() 34 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue_exclusive() 36 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue_exclusive() [all …]
|
/linux-5.10/Documentation/devicetree/bindings/rtc/ |
D | brcm,brcmstb-waketimer.txt | 1 Broadcom STB wake-up Timer 3 The Broadcom STB wake-up timer provides a 27Mhz resolution timer, with the 4 ability to wake up the system from low-power suspend/standby modes. 7 - compatible : should contain "brcm,brcmstb-waketimer" 8 - reg : the register start and length for the WKTMR block 9 - interrupts : The TIMER interrupt 10 - clocks : The phandle to the UPG fixed clock (27Mhz domain) 15 compatible = "brcm,brcmstb-waketimer"; 18 interrupt-parent = <&aon_pm_l2_intc>;
|
/linux-5.10/include/uapi/linux/ |
D | futex.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 45 * Support for robust futexes: the kernel cleans up held futexes at 50 * Per-lock list entry - embedded in user-space locks, somewhere close 51 * to the futex field. (Note: user-space uses a double-linked list to 63 * Per-thread list head: 77 * This relative offset is set by user-space, it gives the kernel 79 * we keep userspace flexible, to freely shape its data-structure, 86 * up a lock's links. So to handle this race, userspace first 87 * sets this field to the address of the to-be-taken lock, 105 * a FUTEX_WAKE on such futexes, after setting the bit, to wake [all …]
|
/linux-5.10/drivers/phy/motorola/ |
D | phy-mapphone-mdm6600.c | 1 // SPDX-License-Identifier: GPL-2.0 35 PHY_MDM6600_MODE0, /* out USB mode0 and OOB wake */ 36 PHY_MDM6600_MODE1, /* out USB mode1, in OOB wake */ 111 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_init() 113 if (!ddata->enabled) in phy_mdm6600_init() 114 return -EPROBE_DEFER; in phy_mdm6600_init() 124 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_power_on() 127 if (!ddata->enabled) in phy_mdm6600_power_on() 128 return -ENODEV; in phy_mdm6600_power_on() 130 error = pinctrl_pm_select_default_state(ddata->dev); in phy_mdm6600_power_on() [all …]
|
/linux-5.10/arch/arm/mach-omap2/ |
D | clockdomain.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2008-2011 Texas Instruments, Inc. 6 * Copyright (C) 2008-2011 Nokia Corporation 22 #include <linux/clk-provider.h> 56 if (!strcmp(name, temp_clkdm->name)) { in _clkdm_lookup() 66 * _clkdm_register - register a clockdomain 70 * Returns -EINVAL if given a null pointer, -EEXIST if a clockdomain is 77 if (!clkdm || !clkdm->name) in _clkdm_register() 78 return -EINVAL; in _clkdm_register() 80 pwrdm = pwrdm_lookup(clkdm->pwrdm.name); in _clkdm_register() [all …]
|
D | pm24xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2006-2008 Nokia Corporation 9 * Richard Woodruff <r-woodruff2@ti.com> 27 #include <linux/clk-provider.h> 35 #include <asm/mach-types.h> 38 #include <linux/omap-dma.h> 44 #include "prm-regbits-24xx.h" 46 #include "cm-regbits-24xx.h" 73 /* Clear old wake-up events */ in omap2_enter_full_retention() 99 /* clear CORE wake-up events */ in omap2_enter_full_retention() [all …]
|
/linux-5.10/drivers/media/rc/ |
D | nuvoton-cir.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Driver for Nuvoton Technology Corporation w83667hg/w83677hg-i CIR 18 #define NVT_DRIVER_NAME "nuvoton-cir" 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 */ [all …]
|
/linux-5.10/tools/testing/selftests/futex/include/ |
D | futextest.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 13 * 2009-Nov-6: Initial version by Darren Hart <dvhart@linux.intel.com> 28 /* Define the newer op codes if the system header file is not up to date. */ 51 * futex() - SYS_futex syscall wrapper 68 * like-named arguments in the following wrappers except where noted below. 74 * futex_wait() - block on uaddr with optional timeout 84 * futex_wake() - wake one or more tasks blocked on uaddr 85 * @nr_wake: wake up to this many tasks 94 * futex_wait_bitset() - block on uaddr with bitset 106 * futex_wake_bitset() - wake one or more tasks blocked on uaddr with bitset [all …]
|
/linux-5.10/Documentation/devicetree/bindings/net/can/ |
D | tcan4x5x.txt | 7 - compatible: "ti,tcan4x5x" 8 - reg: 0 9 - #address-cells: 1 10 - #size-cells: 0 11 - spi-max-frequency: Maximum frequency of the SPI bus the chip can 13 - interrupt-parent: the phandle to the interrupt controller which provides 15 - interrupts: interrupt specification for data-ready. 21 - reset-gpios: Hardwired output GPIO. If not defined then software 23 - device-state-gpios: Input GPIO that indicates if the device is in 25 - device-wake-gpios: Wake up GPIO to wake up the TCAN device. [all …]
|
/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/ |
D | arm,vic.txt | 5 nested or have the outputs wire-OR'd together. 9 - compatible : should be one of 10 "arm,pl190-vic" 11 "arm,pl192-vic" 12 - interrupt-controller : Identifies the node as an interrupt controller 13 - #interrupt-cells : The number of cells to define the interrupts. Must be 1 as 16 - reg : The register bank for the VIC. 20 - interrupts : Interrupt source for parent controllers if the VIC is nested. 21 - valid-mask : A one cell big bit mask of valid interrupt sources. Each bit 25 - valid-wakeup-mask : A one cell big bit mask of interrupt sources that can be [all …]
|
/linux-5.10/drivers/staging/vt6656/ |
D | power.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 * vnt_enable_power_saving - Enable Power Saving Mode 16 * PSvDiasblePowerSaving - Disable Power Saving Mode 17 * vnt_next_tbtt_wakeup - Decide if we need to wake up at next Beacon 43 u16 aid = priv->current_aid | BIT(14) | BIT(15); in vnt_enable_power_saving() 45 /* set period of power up before TBTT */ in vnt_enable_power_saving() 48 if (priv->op_mode != NL80211_IFTYPE_ADHOC) in vnt_enable_power_saving() 52 /* Warren:06-18-2004,the sequence must follow in vnt_enable_power_saving() 53 * PSEN->AUTOSLEEP->GO2DOZE in vnt_enable_power_saving() 69 dev_dbg(&priv->usb->dev, "PS:Power Saving Mode Enable...\n"); in vnt_enable_power_saving() [all …]
|
/linux-5.10/drivers/input/touchscreen/ |
D | egalax_ts.c | 1 // SPDX-License-Identifier: GPL-2.0 14 - auto idle mode support 67 struct input_dev *input_dev = ts->input_dev; in egalax_ts_interrupt() 68 struct i2c_client *client = ts->client; in egalax_ts_interrupt() 77 } while (ret == -EAGAIN && tries++ < EGALAX_MAX_TRIES); in egalax_ts_interrupt() 97 dev_dbg(&client->dev, "point invalid\n"); in egalax_ts_interrupt() 104 dev_dbg(&client->dev, "%s id:%d x:%d y:%d z:%d", in egalax_ts_interrupt() 105 down ? "down" : "up", id, x, y, z); in egalax_ts_interrupt() 119 /* wake up controller by an falling edge of interrupt gpio. */ 122 struct device_node *np = client->dev.of_node; in egalax_wake_up_device() [all …]
|
/linux-5.10/arch/arm/mach-omap1/ |
D | sleep.S | 2 * linux/arch/arm/mach-omap1/sleep.S 4 * Low-level OMAP7XX/1510/1610 sleep/wakeUp support 57 * wakes up it continues execution at the point it went to sleep. 69 stmfd sp!, {r0 - r12, lr} 81 @ prepare to put SDRAM into self-refresh manually 115 * Let's wait for the next wake up event to wake us up. r0 can't be 126 @ re-enable Icache 138 ldmfd sp!, {r0 - r12, pc} 141 .word . - omap7xx_cpu_suspend 149 stmfd sp!, {r0 - r12, lr} [all …]
|
/linux-5.10/Documentation/devicetree/bindings/input/ |
D | gpio-keys.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Device-Tree bindings for GPIO attached keys 10 - Rob Herring <robh@kernel.org> 15 - gpio-keys 16 - gpio-keys-polled 39 linux,input-type: 47 linux,input-value: [all …]
|
/linux-5.10/drivers/bluetooth/ |
D | hci_ll.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 * Written by Ohad Ben-Cohen <ohad@bencohen.org> 43 #include <linux/nvmem-consumer.h> 47 /* Vendor-specific HCI commands */ 89 struct ll_struct *ll = hu->priv; in send_hcill_cmd() 97 err = -ENOMEM; in send_hcill_cmd() 105 skb_queue_tail(&ll->txq, skb); in send_hcill_cmd() 119 return -ENOMEM; in ll_open() 121 skb_queue_head_init(&ll->txq); in ll_open() 122 skb_queue_head_init(&ll->tx_wait_q); in ll_open() [all …]
|