Home
last modified time | relevance | path

Searched +full:power +full:- +full:managed (Results 1 – 25 of 337) sorted by relevance

12345678910>>...14

/Linux-v5.15/arch/arm64/boot/dts/freescale/
Dfsl-lx2160a-clearfog-itx.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
8 /dts-v1/;
10 #include "fsl-lx2160a-cex7.dtsi"
11 #include <dt-bindings/input/linux-event-codes.h>
20 stdout-path = "serial0:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
27 label = "power";
28 linux,can-disable;
34 sfp0: sfp-0 {
[all …]
Dfsl-ls1088a-ten64.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * Based on fsl-ls1088a-rdb.dts
5 * Copyright 2017-2020 NXP
6 * Copyright 2019-2021 Traverse Technologies
11 /dts-v1/;
13 #include "fsl-ls1088a.dtsi"
15 #include <dt-bindings/gpio/gpio.h>
16 #include <dt-bindings/input/input.h>
28 stdout-path = "serial0:115200n8";
32 compatible = "gpio-keys";
[all …]
Dfsl-ls1028a-kontron-kbox-a-230-ls.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * Device Tree File for the Kontron KBox A-230-LS.
5 * This consists of a Kontron SMARC-sAL28 (Dual PHY) and a special
12 /dts-v1/;
13 #include "fsl-ls1028a-kontron-sl28-var4.dts"
14 #include <dt-bindings/leds/common.h>
17 model = "Kontron KBox A-230-LS";
18 compatible = "kontron,kbox-a-230-ls", "kontron,sl28-var4",
22 compatible = "gpio-leds";
24 alarm-led {
[all …]
/Linux-v5.15/include/drm/
Ddrm_device.h30 * enum switch_power_state - power state of drm device
34 /** @DRM_SWITCH_POWER_ON: Power state is ON */
37 /** @DRM_SWITCH_POWER_OFF: Power state is OFF */
40 /** @DRM_SWITCH_POWER_CHANGING: Power state is changing */
48 * struct drm_device - DRM device structure
57 /** @ref: Object ref-count */
60 /** @dev: Device structure of bus-device */
64 * @managed:
66 * Managed resources linked to the lifetime of this &drm_device as
70 /** @managed.resources: managed resources list */
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/bus/
Dsimple-pm-bus.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/bus/simple-pm-bus.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Simple Power-Managed Bus
10 - Geert Uytterhoeven <geert+renesas@glider.be>
13 A Simple Power-Managed Bus is a transparent bus that doesn't need a real
19 on-SoC or externally) to function.
21 While "simple-pm-bus" follows the "simple-bus" set of properties, as
23 "simple-bus".
[all …]
/Linux-v5.15/drivers/base/power/
Dwakeirq.c1 // SPDX-License-Identifier: GPL-2.0
10 #include "power.h"
13 * dev_pm_attach_wake_irq - Attach device interrupt as a wake IRQ
17 * Internal function to attach a dedicated wake-up interrupt as a wake IRQ.
24 return -EINVAL; in dev_pm_attach_wake_irq()
26 spin_lock_irqsave(&dev->power.lock, flags); in dev_pm_attach_wake_irq()
27 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq()
29 spin_unlock_irqrestore(&dev->power.lock, flags); in dev_pm_attach_wake_irq()
30 return -EEXIST; in dev_pm_attach_wake_irq()
33 dev->power.wakeirq = wirq; in dev_pm_attach_wake_irq()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/sound/
Dcs35l32.txt5 - compatible : "cirrus,cs35l32"
7 - reg : the I2C address of the device for I2C. Address is determined by the level
10 - VA-supply, VP-supply : power supplies for the device,
15 - reset-gpios : a GPIO spec for the reset pin. If specified, it will be
18 - cirrus,boost-manager : Boost voltage control.
19 0 = Automatically managed. Boost-converter output voltage is the higher
21 1 = Automatically managed irrespective of audio, adapting for low-power
22 dissipation when LEDs are ON, and operating in Fixed-Boost Bypass Mode
27 - cirrus,sdout-datacfg : Data configuration for dual CS35L32 applications only.
28 Determines the data packed in a two-CS35L32 configuration.
[all …]
/Linux-v5.15/include/linux/
Dscmi_protocol.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2018-2021 ARM Ltd.
20 * struct scmi_revision_info - version information structure
29 * @impl_ver: A vendor-specific implementation version.
31 * @sub_vendor_id: A sub-vendor identifier(Null terminated ASCII string)
64 * struct scmi_clk_proto_ops - represents the various operations provided
88 * struct scmi_perf_proto_ops - represents the various operations provided
102 * @est_power_get: gets the estimated power cost for a given performance domain
106 * @power_scale_mw_get: indicates if the power values provided are in milliWatts
128 unsigned long *rate, unsigned long *power);
[all …]
Dreset.h1 /* SPDX-License-Identifier: GPL-2.0 */
14 * struct reset_control_bulk_data - Data used for bulk reset control operations.
114 return optional ? 0 : -ENOTSUPP; in __device_reset()
122 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __of_reset_control_get()
130 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __reset_control_get()
167 return optional ? 0 : -EOPNOTSUPP; in __reset_control_bulk_get()
180 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __devm_reset_control_get()
188 return optional ? 0 : -EOPNOTSUPP; in __devm_reset_control_bulk_get()
194 return optional ? NULL : ERR_PTR(-ENOTSUPP); in devm_reset_control_array_get()
201 return optional ? NULL : ERR_PTR(-ENOTSUPP); in of_reset_control_array_get()
[all …]
/Linux-v5.15/drivers/bus/
Dsimple-pm-bus.c2 * Simple Power-Managed Bus Driver
4 * Copyright (C) 2014-2015 Glider bvba
18 const struct device *dev = &pdev->dev; in simple_pm_bus_probe()
20 struct device_node *np = dev->of_node; in simple_pm_bus_probe()
27 * of the simple-pm-bus tasks for these devices, so return early. in simple_pm_bus_probe()
29 if (pdev->driver_override) in simple_pm_bus_probe()
32 match = of_match_device(dev->driver->of_match_table, dev); in simple_pm_bus_probe()
34 * These are transparent bus devices (not simple-pm-bus matches) that in simple_pm_bus_probe()
40 if (match && match->data) { in simple_pm_bus_probe()
41 if (of_property_match_string(np, "compatible", match->compatible) == 0) in simple_pm_bus_probe()
[all …]
/Linux-v5.15/arch/arm64/boot/dts/marvell/
Darmada-3720-uDPU.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * Based on Marvell Armada 3720 development board (DB-88F3720-DDR3)
12 /dts-v1/;
14 #include <dt-bindings/gpio/gpio.h>
15 #include "armada-372x.dtsi"
22 stdout-path = "serial0:115200n8";
31 pinctrl-names = "default";
32 compatible = "gpio-leds";
35 label = "udpu:green:power";
40 label = "udpu:red:power";
[all …]
/Linux-v5.15/drivers/video/backlight/
Dlcd.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2003,2004 Hewlett-Packard Company
25 * and if it is, we're switching lcd power as well ...
34 if (!ld->ops) in fb_notifier_callback()
37 mutex_lock(&ld->ops_lock); in fb_notifier_callback()
38 if (!ld->ops->check_fb || ld->ops->check_fb(ld, evdata->info)) { in fb_notifier_callback()
40 if (ld->ops->set_power) in fb_notifier_callback()
41 ld->ops->set_power(ld, *(int *)evdata->data); in fb_notifier_callback()
43 if (ld->ops->set_mode) in fb_notifier_callback()
44 ld->ops->set_mode(ld, evdata->data); in fb_notifier_callback()
[all …]
/Linux-v5.15/tools/testing/selftests/cpufreq/
Dcpufreq.sh2 # SPDX-License-Identifier: GPL-2.0
17 if [ ! -d $CPUROOT/$1/cpufreq ]; then
24 if [ -d $CPUROOT/$1/cpufreq ]; then
31 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*")
39 policies=$(ls $CPUFREQROOT| grep "policy[0-9].*")
53 if [ -f $1/$file ]; then
71 printf "%s\n\n" "------------------------------------------------"
85 if [ -f $1/$file ]; then
87 local wfile=$(ls -l $1/$file | awk '$1 ~ /^.*w.*/ { print $NF; }')
89 if [ ! -z $wfile ]; then
[all …]
/Linux-v5.15/Documentation/driver-api/driver-model/
Ddevres.rst2 Devres - Managed Device Resource
16 6. List of managed interfaces: Currently implemented managed interfaces
20 --------
29 sufficient bugs in ->remove and ->probe failure path. Well, yes,
42 and having half broken failure path implementation in ->probe() which
48 ---------
57 Managed interface is created for resources commonly used by device
59 using dma_alloc_coherent(). The managed version is called
61 for the DMA memory allocated using it is managed and will be
75 dma_free_coherent(dev, this->size, this->vaddr, this->dma_handle);
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/soc/ti/
Dsci-pm-domain.yaml1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/ti/sci-pm-domain.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TI-SCI generic power domain node bindings
10 - Nishanth Menon <nm@ti.com>
13 - $ref: /schemas/power/power-domain.yaml#
16 Some TI SoCs contain a system controller (like the Power Management Micro
20 through a protocol called TI System Control Interface (TI-SCI protocol).
22 This PM domain node represents the global PM domain managed by the TI-SCI
[all …]
/Linux-v5.15/Documentation/driver-api/
Ddevice_link.rst27 In its standard or *managed* form, a device link combines *both* dependency
57 device ``->probe`` callback or a boot-time PCI quirk.
61 ``->probe`` callback while the supplier hasn't started to probe yet: Had the
65 non-presence. [Note that it is valid to create a link from the consumer's
66 ``->probe`` callback while the supplier is still probing, but the consumer must
72 is added in the ``->probe`` callback of the supplier or consumer driver, it is
73 typically deleted in its ``->remove`` callback for symmetry. That way, if the
77 to deletion. Device links managed by the driver core are deleted automatically
87 link is added from the consumer's ``->probe`` callback: ``DL_FLAG_RPM_ACTIVE``
93 Similarly, when the device link is added from supplier's ``->probe`` callback,
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/phy/
Damlogic,meson-g12a-usb2-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
4 ---
5 $id: "http://devicetree.org/schemas/phy/amlogic,meson-g12a-usb2-phy.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
11 - Neil Armstrong <narmstrong@baylibre.com>
16 - amlogic,meson-g12a-usb2-phy
17 - amlogic,meson-a1-usb2-phy
25 clock-names:
27 - const: xtal
32 reset-names:
[all …]
Damlogic,meson8b-usb2-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/phy/amlogic,meson8b-usb2-phy.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
10 - Martin Blumenstingl <martin.blumenstingl@googlemail.com>
15 - items:
16 - enum:
17 - amlogic,meson8-usb2-phy
18 - amlogic,meson8b-usb2-phy
19 - amlogic,meson8m2-usb2-phy
[all …]
/Linux-v5.15/mm/
Ddmapool.c1 // SPDX-License-Identifier: GPL-2.0-only
9 * This allocator returns small blocks of a given size which are DMA-able by
15 * represented by the 'struct dma_pool' which keeps a doubly-linked list of
17 * least 'size' bytes. Free blocks are tracked in an unsorted singly-linked
23 #include <linux/dma-mapping.h>
76 temp = scnprintf(next, size, "poolinfo - 0.1\n"); in pools_show()
77 size -= temp; in pools_show()
81 list_for_each_entry(pool, &dev->dma_pools, pools) { in pools_show()
85 spin_lock_irq(&pool->lock); in pools_show()
86 list_for_each_entry(page, &pool->page_list, page_list) { in pools_show()
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/clock/
Drenesas,rzg2l-cpg.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/clock/renesas,rzg2l-cpg.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
10 - Geert Uytterhoeven <geert+renesas@glider.be>
17 - The CPG block generates various core clocks,
18 - The Module Standby Mode block provides two functions:
25 const: renesas,r9a07g044-cpg # RZ/G2{L,LC}
33 clock-names:
39 '#clock-cells':
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/display/panel/
Dorisetech,otm8009a.yaml1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Orise Tech OTM8009A 3.97" 480x800 TFT LCD panel (MIPI-DSI video mode)
10 - Philippe CORNU <philippe.cornu@st.com>
14 a MIPI-DSI video interface. Its backlight is managed through the DSI link.
16 - $ref: panel-common.yaml#
27 enable-gpios: true
29 power-supply: true
31 reset-gpios:
[all …]
/Linux-v5.15/include/net/
Dregulatory.h6 * Copyright 2008-2009 Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
25 * enum environment_cap - Environment parsed from country IE
38 * struct regulatory_request - used to keep track of regulatory requests
50 * 00 - World regulatory domain
51 * 99 - built by driver but a specific alpha2 cannot be determined
52 * 98 - result of an intersection between two regulatory domains
53 * 97 - regulatory domain has not yet been configured
91 * enum ieee80211_regulatory_flags - device regulatory flags
116 * ISO3166-alpha2 country code. wiphys that use regulatory_hint()
117 * will have their wiphy->regd programmed once the regulatory
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/net/
Dcalxeda-xgmac.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/net/calxeda-xgmac.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
12 managed by the firmware. So there are no PHY properties in this
17 - Andre Przywara <andre.przywara@arm.com>
21 const: calxeda,hb-xgmac
29 interrupt, the 2nd one is used for power management. The optional
30 3rd one is the low power state interrupt.
34 dma-coherent: true
[all …]
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-devices-power1 What: /sys/devices/.../power/
5 The /sys/devices/.../power directory contains attributes
6 allowing the user space to check and modify some power
9 What: /sys/devices/.../power/wakeup
13 The /sys/devices/.../power/wakeup attribute allows the user
21 have one of the following two values for the sysfs power/wakeup
35 What: /sys/devices/.../power/control
39 The /sys/devices/.../power/control attribute allows the user
40 space to control the run-time power management of the device.
43 power/control file:
[all …]
/Linux-v5.15/drivers/firmware/arm_scmi/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
9 set of operating system-independent software interfaces that are
11 interfaces for: Discovery and self-description of the interfaces
12 it supports, Power domain management which is the ability to place
13 a given device or domain into the various power-saving states that
18 managed clocks and Sensor management which is the ability to read
83 tristate "SCMI power domain driver"
88 This enables support for the SCMI power domains which can be

12345678910>>...14