Home
last modified time | relevance | path

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

12345678910>>...13

/Linux-v5.10/include/drm/
Ddrm_device.h30 * enum drm_switch_power - 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
64 /** @ref: Object ref-count */
67 /** @dev: Device structure of bus-device */
71 * @managed:
73 * Managed resources linked to the lifetime of this &drm_device as
77 /** @managed.resources: managed resources list */
[all …]
/Linux-v5.10/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.10/drivers/bus/
Dsimple-pm-bus.c2 * Simple Power-Managed Bus Driver
4 * Copyright (C) 2014-2015 Glider bvba
19 struct device_node *np = pdev->dev.of_node; in simple_pm_bus_probe()
21 dev_dbg(&pdev->dev, "%s\n", __func__); in simple_pm_bus_probe()
23 pm_runtime_enable(&pdev->dev); in simple_pm_bus_probe()
26 of_platform_populate(np, NULL, NULL, &pdev->dev); in simple_pm_bus_probe()
33 dev_dbg(&pdev->dev, "%s\n", __func__); in simple_pm_bus_remove()
35 pm_runtime_disable(&pdev->dev); in simple_pm_bus_remove()
40 { .compatible = "simple-pm-bus", },
49 .name = "simple-pm-bus",
[all …]
/Linux-v5.10/arch/arm64/boot/dts/freescale/
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.10/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
15 * @irq: Device wake-up capable interrupt
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()
32 spin_unlock_irqrestore(&dev->power.lock, flags); in dev_pm_attach_wake_irq()
33 return -EEXIST; in dev_pm_attach_wake_irq()
[all …]
/Linux-v5.10/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.10/include/linux/
Dreset.h1 /* SPDX-License-Identifier: GPL-2.0 */
79 return optional ? 0 : -ENOTSUPP; in __device_reset()
87 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __of_reset_control_get()
95 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __reset_control_get()
103 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __devm_reset_control_get()
109 return optional ? NULL : ERR_PTR(-ENOTSUPP); in devm_reset_control_array_get()
116 return optional ? NULL : ERR_PTR(-ENOTSUPP); in of_reset_control_array_get()
121 return -ENOENT; in reset_control_get_count()
137 * reset_control_get_exclusive - Lookup and obtain an exclusive reference
144 * return -EBUSY.
[all …]
Ddevice.h1 // SPDX-License-Identifier: GPL-2.0
3 * device.h - generic, centralized driver model
5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org>
6 * Copyright (c) 2004-2009 Greg Kroah-Hartman <gregkh@suse.de>
7 * Copyright (c) 2008-2009 Novell Inc.
9 * See Documentation/driver-api/driver-model/ for more information.
50 * struct subsys_interface - interfaces to device functions
82 * This identifies the device type and carries type-specific
207 /* managed devm_k.alloc/kfree for device drivers */
270 * devm_alloc_percpu - Resource-managed alloc_percpu
[all …]
/Linux-v5.10/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.10/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.10/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.10/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.10/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.10/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 …]
Dphy-bindings.txt2 information about PHY subsystem refer to Documentation/driver-api/phy/phy.rst
8 #phy-cells: Number of cells in a PHY specifier; The meaning of all those
14 phy-supply: Phandle to a regulator that provides power to the PHY. This
15 regulator will be managed during the PHY power on/off sequence.
24 #phy-cells = <1>;
38 confused with the Ethernet specific 'phy' and 'phy-handle' properties,
40 phy-names : the names of the PHY corresponding to the PHYs present in the
50 phy-names = "usb2phy", "usb3phy";
65 phy-names = "usbphy";
/Linux-v5.10/Documentation/devicetree/bindings/soc/ti/
Dsci-pm-domain.txt1 Texas Instruments TI-SCI Generic Power Domain
2 ---------------------------------------------
7 controller happens through a protocol known as TI-SCI [1].
13 The PM domain node represents the global PM domain managed by the PMMC, which
15 bindings in Documentation/devicetree/bindings/power/power-domain.yaml. Because
20 --------------------
21 - compatible: should be "ti,sci-pm-domain"
22 - #power-domain-cells: Can be one of the following:
33 -------------
35 compatible = "ti,k2g-sci";
[all …]
/Linux-v5.10/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 show_pools()
77 size -= temp; in show_pools()
81 list_for_each_entry(pool, &dev->dma_pools, pools) { in show_pools()
85 spin_lock_irq(&pool->lock); in show_pools()
86 list_for_each_entry(page, &pool->page_list, page_list) { in show_pools()
[all …]
/Linux-v5.10/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.10/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.10/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.10/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.10/Documentation/admin-guide/device-mapper/
Ddm-crypt.rst2 dm-crypt
5 Device-Mapper's "crypt" target provides transparent encryption of block devices
21 cipher[:keycount]-chainmode-ivmode[:ivopts]
25 aes-cbc-essiv:sha256
26 aes-xts-plain64
27 serpent-xts-plain64
36 capi:cipher_api_spec-ivmode[:ivopts]
40 capi:cbc(aes)-essiv:sha256
41 capi:xts(aes)-plain64
45 capi:gcm(aes)-random
[all …]
/Linux-v5.10/net/mac80211/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
66 over (possibly multi-hop) wireless links to form a single logical
134 bool "Verbose managed MLME output"
138 debugging messages for the managed-mode MLME. It
192 verbose power save mode debugging messages (when mac80211
193 is an AP and has power saving stations.)
/Linux-v5.10/drivers/opp/
Dopp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2009-2010 Texas Instruments Incorporated.
35 * |- device 1 (represents voltage domain 1)
36 * | |- opp 1 (availability, freq, voltage)
37 * | |- opp 2 ..
39 * | `- opp n ..
40 * |- device 2 (represents the next voltage domain)
42 * `- device m (represents mth voltage domain)
48 * struct dev_pm_opp - Generic OPP description structure
55 * @available: true/false - marks if this OPP as available or not
[all …]

12345678910>>...13