Home
last modified time | relevance | path

Searched +full:wakeup +full:- +full:parent (Results 1 – 25 of 726) sorted by relevance

12345678910>>...30

/linux/include/trace/events/
H A Dtimer_migration.h1 /* SPDX-License-Identifier: GPL-2.0-only */
25 __entry->group = group;
26 __entry->lvl = group->level;
27 __entry->numa_node = group->numa_node;
31 __entry->group, __entry->lvl, __entry->numa_node)
42 __field( void *, parent )
50 __entry->child = child;
51 __entry->parent = child->parent;
52 __entry->lvl = child->parent->level;
53 __entry->numa_node = child->parent->numa_node;
[all …]
/linux/drivers/base/power/
H A Dwakeup_stats.c1 // SPDX-License-Identifier: GPL-2.0
3 * Wakeup statistics in sysfs
6 * Copyright (c) 2019 Greg Kroah-Hartman <gregkh@linuxfoundation.org>
29 return sysfs_emit(buf, "%lu\n", ws->_name); \
44 ws->active ? ktime_sub(ktime_get(), ws->last_time) : 0; in active_time_ms_show()
55 ktime_t total_time = ws->total_time; in total_time_ms_show()
57 if (ws->active) { in total_time_ms_show()
58 active_time = ktime_sub(ktime_get(), ws->last_time); in total_time_ms_show()
71 ktime_t max_time = ws->max_time; in max_time_ms_show()
73 if (ws->active) { in max_time_ms_show()
[all …]
/linux/drivers/acpi/
H A Ddevice_pm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/acpi/device_pm.c - ACPI device power management routines.
27 * acpi_power_state_string - String representation of ACPI device power state.
53 status = acpi_evaluate_integer(device->handle, "_PSC", NULL, &psc); in acpi_dev_pm_explicit_get()
55 return -ENODEV; in acpi_dev_pm_explicit_get()
62 * acpi_device_get_power - Get power state of an ACPI device.
67 * update its parent's power.state field (when the parent's power state is
78 struct acpi_device *parent; in acpi_device_get_power() local
82 return -EINVAL; in acpi_device_get_power()
84 parent = acpi_dev_parent(device); in acpi_device_get_power()
[all …]
H A Dscan.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * scan.c - support for transforming the ACPI namespace into individual objects
20 #include <linux/dma-map-ops.h>
24 #include <linux/dma-direct.h>
48 * special-casing. Everything else is covered by ACPI namespace paths in STAO
80 hp->notify = notify; in acpi_initialize_hp_context()
81 hp->uevent = uevent; in acpi_initialize_hp_context()
90 return -EINVAL; in acpi_scan_add_handler()
92 list_add_tail(&handler->list_node, &acpi_scan_handlers_list); in acpi_scan_add_handler()
105 acpi_sysfs_add_hotplug_profile(&handler->hotplug, hotplug_profile_name); in acpi_scan_add_handler_with_hotplug()
[all …]
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dinterrupts.txt5 -------------------------
8 "interrupts" property, an "interrupts-extended" property, or both. If both are
16 interrupt-parent = <&intc1>;
19 The "interrupt-parent" property is used to specify the controller to which
22 interrupt client node or in any of its parent nodes. Interrupts listed in the
23 "interrupts" property are always in reference to the node's interrupt parent.
25 The "interrupts-extended" property is a special form; useful when a node needs
26 to reference multiple interrupt parents or a different interrupt parent than
27 the inherited one. Each entry in this property contains both the parent phandle
31 interrupts-extended = <&intc1 5 1>, <&intc2 1 0>;
[all …]
/linux/Documentation/devicetree/bindings/net/
H A Dmarvell-bt-8xxx.txt2 ------
9 - compatible : should be one of the following:
10 * "marvell,sd8897-bt" (for SDIO)
11 * "marvell,sd8997-bt" (for SDIO)
16 - marvell,cal-data: Calibration data downloaded to the device during
20 - marvell,wakeup-pin: It represents wakeup pin number of the bluetooth chip.
21 firmware will use the pin to wakeup host system (u16).
22 - marvell,wakeup-gap-ms: wakeup gap represents wakeup latency of the host
25 - interrupt-names: Used only for USB based devices (See below)
26 - interrupts : specifies the interrupt pin number to the cpu. For SDIO, the
[all …]
H A Dbtusb.txt2 ---------------------------------------------------
6 - compatible : should comply with the format "usbVID,PID" specified in
7 Documentation/devicetree/bindings/usb/usb-device.yaml
13 "usb4ca,301a" (Qualcomm QCA6174A (Lite-On))
17 Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt
21 - interrupt-names: (see below)
22 - interrupts : The interrupt specified by the name "wakeup" is the interrupt
23 that shall be used for out-of-band wake-on-bt. Driver will
24 request this interrupt for wakeup. During system suspend, the
25 irq will be enabled so that the bluetooth chip can wakeup host
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dtc3589x.txt1 * Toshiba TC3589x multi-purpose expander
3 The Toshiba TC3589x series are I2C-based MFD devices which may expose the
4 following built-in devices: gpio, keypad, rotator (vibrator), PWM (for
7 - TC35890
8 - TC35892
9 - TC35893
10 - TC35894
11 - TC35895
12 - TC35896
15 - compatible : must be "toshiba,tc35890", "toshiba,tc35892", "toshiba,tc35893",
[all …]
/linux/drivers/pinctrl/samsung/
H A Dpinctrl-exynos.c1 // SPDX-License-Identifier: GPL-2.0+
14 // external gpio and wakeup interrupt support.
29 #include <linux/soc/samsung/exynos-pmu.h>
30 #include <linux/soc/samsung/exynos-regs-pmu.h>
32 #include "pinctrl-samsung.h"
33 #include "pinctrl-exynos.h"
67 if (bank->eint_mask_offset) in exynos_irq_mask()
68 reg_mask = bank->pctl_offset + bank->eint_mask_offset; in exynos_irq_mask()
70 reg_mask = our_chip->eint_mask + bank->eint_offset; in exynos_irq_mask()
72 if (clk_enable(bank->drvdata->pclk)) { in exynos_irq_mask()
[all …]
/linux/drivers/pmdomain/xilinx/
H A Dzynqmp-pm-domains.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2015-2019 Xilinx, Inc.
20 #include <linux/firmware/xlnx-zynqmp.h>
27 * struct zynqmp_pm_domain - Wrapper around struct generic_pm_domain
42 * zynqmp_gpd_is_active_wakeup_path() - Check if device is in wakeup source
44 * @dev: Device to check for wakeup source path
48 * set as wakeup source.
50 * Return: 1 if device is in wakeup source path else 0
65 * zynqmp_gpd_power_on() - Power on PM domain
78 ret = zynqmp_pm_set_requirement(pd->node_id, in zynqmp_gpd_power_on()
[all …]
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dwkup_m3_rproc.txt1 TI Wakeup M3 Remoteproc Driver
4 The TI AM33xx and AM43xx family of devices use a small Cortex M3 co-processor
5 (commonly referred to as Wakeup M3 or CM3) to help with various low power tasks
12 A wkup_m3 device node is used to represent the Wakeup M3 processor instance
13 within the SoC. It is added as a child node of the parent interconnect bus
17 --------------------
18 - compatible: Should be one of,
19 "ti,am3352-wkup-m3" for AM33xx SoCs
20 "ti,am4372-wkup-m3" for AM43xx SoCs
21 - reg: Should contain the address ranges for the two internal
[all …]
/linux/arch/arm/boot/dts/ti/omap/
H A Domap3-gta04a3.dts1 // SPDX-License-Identifier: GPL-2.0-only
6 #include "omap3-gta04.dtsi"
18 interrupt-parent = <&gpio3>;
20 Vdd-supply = <&vaux2>;
21 Vdd_IO-supply = <&vaux2>;
23 st,click-single-x;
24 st,click-single-y;
25 st,click-single-z;
26 st,click-thresh-x = <8>;
27 st,click-thresh-y = <8>;
[all …]
H A Domap3-pandora-common.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <dt-bindings/input/input.h>
14 cpu0-supply = <&vcc>;
29 #clock-cells = <0>;
30 compatible = "fixed-clock";
31 clock-frequency = <26000000>;
35 compatible = "connector-analog-tv";
40 remote-endpoint = <&venc_out>;
45 gpio-leds {
47 compatible = "gpio-leds";
[all …]
/linux/kernel/time/
H A Dtimer_migration.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include "tick-internal.h"
34 * GRP0:0 - GRP0:2 GRP0:3 - GRP0:5
37 * CPUS 0-7 8-15 16-23 24-31 32-39 40-47
55 * group and the parent groups if required.
67 * the event is ignored even if it is still enqueued in the parent groups
86 * ---------------
96 * --------------
99 * child and parent group. The lock ordering is always bottom up. This also
102 * the per CPU tmigr_cpu->lock is held.
[all …]
H A Dtimer_migration.h1 /* SPDX-License-Identifier: GPL-2.0-only */
9 * struct tmigr_event - a timer event associated to a CPU
10 * @nextevt: The node to enqueue an event in the parent group queue
22 * struct tmigr_group - timer migration hierarchy group
25 * @parent: Pointer to the parent group. Pointer is updated when a
28 * not be removed or updated. When accessing parent pointer
31 * unnecessary/early CPU wake up. But do not access parent
38 * the parent timer queue.
54 * @groupmask: mask of the group in the parent group; is set during
63 struct tmigr_group *parent; member
[all …]
/linux/Documentation/devicetree/bindings/rtc/
H A Dingenic,rtc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ingenic SoCs Real-Time Clock
10 - Paul Cercueil <paul@crapouillou.net>
13 - $ref: rtc.yaml#
14 - if:
20 - ingenic,jz4770-rtc
21 - ingenic,jz4780-rtc
24 "#clock-cells": false
[all …]
/linux/Documentation/devicetree/bindings/iio/accel/
H A Dlis302.txt8 - compatible: should be set to "st,lis3lv02d-spi"
9 - reg: the chipselect index
10 - spi-max-frequency: maximal bus speed, should be set to 1000000 unless
12 - interrupts: the interrupt generated by the device
15 - compatible: should be set to "st,lis3lv02d"
16 - reg: i2c slave address
17 - Vdd-supply: The input supply for Vdd
18 - Vdd_IO-supply: The input supply for Vdd_IO
23 - st,click-single-{x,y,z}: if present, tells the device to issue an
26 - st,click-double-{x,y,z}: if present, tells the device to issue an
[all …]
/linux/Documentation/devicetree/bindings/net/bluetooth/
H A Dnxp,88w8987-bt.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/bluetooth/nxp,88w8987-bt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 This binding describes UART-attached NXP bluetooth chips. These chips
11 are dual-radio chips supporting WiFi and Bluetooth. The bluetooth
12 works on standard H4 protocol over 4-wire UART. The RTS and CTS lines
14 asserts break signal over UART-TX line to put the chip into power save
15 state. De-asserting break wakes up the BT chip.
18 - Neeraj Sanjay Kale <neeraj.sanjaykale@nxp.com>
[all …]
/linux/Documentation/devicetree/bindings/power/supply/
H A Dmaxim,max17040.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
13 - $ref: power-supply.yaml#
18 - maxim,max17040
19 - maxim,max17041
20 - maxim,max17043
21 - maxim,max17044
22 - maxim,max17048
[all …]
/linux/drivers/irqchip/
H A Dirq-brcmstb-l2.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2014-2024 Broadcom
48 .cpu_clear = -1, /* Register not present */
73 status = irq_reg_readl(b->gc, b->status_offset) & in brcmstb_l2_intc_irq_handle()
74 ~(irq_reg_readl(b->gc, b->mask_offset)); in brcmstb_l2_intc_irq_handle()
77 raw_spin_lock(&desc->lock); in brcmstb_l2_intc_irq_handle()
79 raw_spin_unlock(&desc->lock); in brcmstb_l2_intc_irq_handle()
84 irq = ffs(status) - 1; in brcmstb_l2_intc_irq_handle()
86 generic_handle_domain_irq(b->domain, irq); in brcmstb_l2_intc_irq_handle()
89 /* Don't ack parent before all device writes are done */ in brcmstb_l2_intc_irq_handle()
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3576-armsom-sige5-v1.2-wifibt.dtso1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * DT-overlay to enable the onboard WiFi and Bluetooth module present in v1.2
8 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/interrupt-controller/irq.h>
13 #include <dt-bindings/pinctrl/rockchip.h>
16 #address-cells = <1>;
17 #size-cells = <0>;
20 compatible = "brcm,bcm4329-fmac";
22 clock-names = "lpo";
[all …]
H A Drk3399-rock-pi-4b-plus.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
8 #include "rk3399-op1.dtsi"
9 #include "rk3399-rock-pi-4.dtsi"
13 compatible = "radxa,rockpi4b-plus", "radxa,rockpi4", "rockchip,rk3399";
21 pinctrl-0 = <&hp_detect &hp_int>;
22 pinctrl-names = "default";
23 interrupt-parent = <&gpio1>;
31 compatible = "brcm,bcm4329-fmac";
33 interrupt-parent = <&gpio0>;
[all …]
H A Drk3566-orangepi-3b-v2.1.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include "rk3566-orangepi-3b.dtsi"
9 compatible = "xunlong,orangepi-3b-v2.1", "xunlong,orangepi-3b", "rockchip,rk3566";
11 vccio_phy1: regulator-1v8-vccio-phy {
12 compatible = "regulator-fixed";
13 regulator-name = "vccio_phy1";
14 regulator-always-on;
15 regulator-boot-on;
16 regulator-max-microvolt = <1800000>;
[all …]
/linux/drivers/input/keyboard/
H A Dsnvs_pwrkey.c1 // SPDX-License-Identifier: GPL-2.0+
41 int wakeup; member
51 struct input_dev *input = pdata->input; in imx_imx_snvs_check_for_events()
54 regmap_read(pdata->snvs, SNVS_HPSR_REG, &state); in imx_imx_snvs_check_for_events()
58 if (state ^ pdata->keystate) { in imx_imx_snvs_check_for_events()
59 pdata->keystate = state; in imx_imx_snvs_check_for_events()
60 input_event(input, EV_KEY, pdata->keycode, state); in imx_imx_snvs_check_for_events()
62 pm_relax(pdata->input->dev.parent); in imx_imx_snvs_check_for_events()
67 mod_timer(&pdata->check_timer, in imx_imx_snvs_check_for_events()
76 struct input_dev *input = pdata->input; in imx_snvs_pwrkey_interrupt()
[all …]
/linux/arch/arm/boot/dts/samsung/
H A Ds3c64xx.dtsi1 // SPDX-License-Identifier: GPL-2.0
16 #include <dt-bindings/clock/samsung,s3c64xx-clock.h>
19 #address-cells = <1>;
20 #size-cells = <1>;
32 #address-cells = <1>;
33 #size-cells = <0>;
37 compatible = "arm,arm1176jzf-s";
43 compatible = "simple-bus";
44 #address-cells = <1>;
45 #size-cells = <1>;
[all …]

12345678910>>...30