| /kernel/linux/linux-5.10/include/drm/ |
| D | drm_device.h | 30 * 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/bus/ |
| D | simple-pm-bus.yaml | 1 # 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 …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/bus/ |
| D | simple-pm-bus.txt | 1 Simple Power-Managed Bus 4 A Simple Power-Managed Bus is a transparent bus that doesn't need a real 9 enabled for child devices connected to the bus (either on-SoC or externally) 12 While "simple-pm-bus" follows the "simple-bus" set of properties, as specified 13 in the Devicetree Specification, it is not an extension of "simple-bus". 17 - compatible: Must contain at least "simple-pm-bus". 18 Must not contain "simple-bus". 20 vendor-specific compatible values. 21 - #address-cells, #size-cells, ranges: Must describe the mapping between 24 Optional platform-specific properties for clock or PM domain control (at least [all …]
|
| /kernel/linux/linux-4.19/drivers/bus/ |
| D | simple-pm-bus.c | 2 * 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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/ |
| D | fsl-ls1028a-kontron-kbox-a-230-ls.dts | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/base/power/ |
| D | wakeirq.c | 1 // 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 …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/sound/ |
| D | cs35l32.txt | 5 - 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | cs35l32.txt | 5 - 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 …]
|
| /kernel/linux/linux-4.19/drivers/base/power/ |
| D | wakeirq.c | 2 * wakeirq.c - Device wakeirq helper functions 21 #include "power.h" 24 * dev_pm_attach_wake_irq - Attach device interrupt as a wake IRQ 26 * @irq: Device wake-up capable interrupt 30 * dedicated wake-up interrupt as a wake IRQ. 38 return -EINVAL; in dev_pm_attach_wake_irq() 40 spin_lock_irqsave(&dev->power.lock, flags); in dev_pm_attach_wake_irq() 41 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq() 43 spin_unlock_irqrestore(&dev->power.lock, flags); in dev_pm_attach_wake_irq() 44 return -EEXIST; in dev_pm_attach_wake_irq() [all …]
|
| /kernel/linux/linux-4.19/drivers/video/backlight/ |
| D | backlight.c | 4 * Copyright (C) 2003,2004 Hewlett-Packard Company 38 * and if it is and necessary, we're switching backlight power as well ... 45 int node = evdata->info->node; in fb_notifier_callback() 53 mutex_lock(&bd->ops_lock); in fb_notifier_callback() 54 if (bd->ops) in fb_notifier_callback() 55 if (!bd->ops->check_fb || in fb_notifier_callback() 56 bd->ops->check_fb(bd, evdata->info)) { in fb_notifier_callback() 57 fb_blank = *(int *)evdata->data; in fb_notifier_callback() 59 !bd->fb_bl_on[node]) { in fb_notifier_callback() 60 bd->fb_bl_on[node] = true; in fb_notifier_callback() [all …]
|
| D | lcd.c | 4 * Copyright (C) 2003,2004 Hewlett-Packard Company 24 * and if it is, we're switching lcd power as well ... 45 if (!ld->ops) in fb_notifier_callback() 48 mutex_lock(&ld->ops_lock); in fb_notifier_callback() 49 if (!ld->ops->check_fb || ld->ops->check_fb(ld, evdata->info)) { in fb_notifier_callback() 51 if (ld->ops->set_power) in fb_notifier_callback() 52 ld->ops->set_power(ld, *(int *)evdata->data); in fb_notifier_callback() 54 if (ld->ops->early_set_power) in fb_notifier_callback() 55 ld->ops->early_set_power(ld, in fb_notifier_callback() 56 *(int *)evdata->data); in fb_notifier_callback() [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | reset.h | 1 /* 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 …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | reset.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 63 return optional ? 0 : -ENOTSUPP; in __device_reset() 71 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __of_reset_control_get() 78 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __reset_control_get() 85 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __devm_reset_control_get() 91 return optional ? NULL : ERR_PTR(-ENOTSUPP); in devm_reset_control_array_get() 97 return optional ? NULL : ERR_PTR(-ENOTSUPP); in of_reset_control_array_get() 113 * reset_control_get_exclusive - Lookup and obtain an exclusive reference 120 * return -EBUSY. 123 * reset-controls. [all …]
|
| /kernel/linux/linux-5.10/drivers/bus/ |
| D | simple-pm-bus.c | 2 * Simple Power-Managed Bus Driver 4 * Copyright (C) 2014-2015 Glider bvba 19 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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/marvell/ |
| D | armada-3720-uDPU.dts | 1 // 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 …]
|
| /kernel/linux/linux-4.19/tools/testing/selftests/cpufreq/ |
| D | cpufreq.sh | 2 # 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 …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/cpufreq/ |
| D | cpufreq.sh | 2 # 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 …]
|
| /kernel/linux/linux-5.10/drivers/video/backlight/ |
| D | lcd.c | 1 // 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 …]
|
| /kernel/linux/linux-4.19/Documentation/driver-api/ |
| D | device_link.rst | 28 In its standard or *managed* form, a device link combines *both* dependency 58 device ``->probe`` callback or a boot-time PCI quirk. 62 ``->probe`` callback while the supplier hasn't started to probe yet: Had the 66 non-presence. [Note that it is valid to create a link from the consumer's 67 ``->probe`` callback while the supplier is still probing, but the consumer must 73 is added in the ``->probe`` callback of the supplier or consumer driver, it is 74 typically deleted in its ``->remove`` callback for symmetry. That way, if the 78 to deletion. Device links managed by the driver core are deleted automatically 88 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 …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/clock/ |
| D | renesas,r8a7778-cpg-clocks.txt | 10 - compatible: Must be "renesas,r8a7778-cpg-clocks" 11 - reg: Base address and length of the memory resource used by the CPG 12 - #clock-cells: Must be 1 13 - clock-output-names: The names of the clocks. Supported clocks are 15 - #power-domain-cells: Must be 0 17 SoC devices that are part of the CPG/MSTP Clock Domain and can be power-managed 19 "power-domains" property, as documented by the generic PM domain bindings in 20 Documentation/devicetree/bindings/power/power_domain.txt. 24 -------- 26 - CPG device node: [all …]
|
| D | renesas,r8a7779-cpg-clocks.txt | 10 - compatible: Must be "renesas,r8a7779-cpg-clocks" 11 - reg: Base address and length of the memory resource used by the CPG 13 - clocks: Reference to the parent clock 14 - #clock-cells: Must be 1 15 - clock-output-names: The names of the clocks. Supported clocks are "plla", 17 - #power-domain-cells: Must be 0 19 SoC devices that are part of the CPG/MSTP Clock Domain and can be power-managed 21 "power-domains" property, as documented by the generic PM domain bindings in 22 Documentation/devicetree/bindings/power/power_domain.txt. 26 -------- [all …]
|
| /kernel/linux/linux-5.10/Documentation/driver-api/driver-model/ |
| D | devres.rst | 2 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 …]
|
| /kernel/linux/linux-4.19/Documentation/driver-model/ |
| D | devres.txt | 1 Devres - Managed Device Resource 14 6. List of managed interfaces : Currently implemented managed interfaces 18 -------- 27 sufficient bugs in ->remove and ->probe failure path. Well, yes, 40 and having half broken failure path implementation in ->probe() which 46 --------- 55 Managed interface is created for resources commonly used by device 57 using dma_alloc_coherent(). The managed version is called 59 for the DMA memory allocated using it is managed and will be 73 dma_free_coherent(dev, this->size, this->vaddr, this->dma_handle); [all …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/display/panel/ |
| D | orisetech,otm8009a.txt | 1 Orise Tech OTM8009A 3.97" 480x800 TFT LCD panel (MIPI-DSI video mode) 4 a MIPI-DSI video interface. Its backlight is managed through the DSI link. 7 - compatible: "orisetech,otm8009a" 8 - reg: the virtual channel number of a DSI peripheral 11 - reset-gpios: a GPIO spec for the reset pin (active low). 12 - power-supply: phandle of the regulator that provides the supply voltage. 20 reset-gpios = <&gpioh 7 GPIO_ACTIVE_LOW>; 21 power-supply = <&v1v8>;
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/phy/ |
| D | amlogic,meson-g12a-usb2-phy.yaml | 1 # 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 …]
|