| /linux/include/drm/ |
| H A D | drm_device.h | 29 * Recovery methods for wedged device in order of less to more side-effects. 33 * Refer to "Device Wedging" chapter in Documentation/gpu/drm-uapi.rst for more 42 * struct drm_wedge_task_info - information about the guilty task of a wedge dev 52 * enum switch_power_state - power state of drm device 56 /** @DRM_SWITCH_POWER_ON: Power state is ON */ 59 /** @DRM_SWITCH_POWER_OFF: Power state is OFF */ 62 /** @DRM_SWITCH_POWER_CHANGING: Power state is changing */ 70 * struct drm_device - DRM device structure 79 /** @ref: Object ref-count */ 82 /** @dev: Device structure of bus-device */ [all …]
|
| /linux/include/linux/pse-pd/ |
| H A D | pse.h | 1 // SPDX-License-Identifier: GPL-2.0-only 15 /* Maximum current in uA according to IEEE 802.3-2022 Table 145-1 */ 17 /* Maximum power in mW according to IEEE 802.3-2022 Table 145-16 */ 46 * struct pse_irq_desc - notification sender description for IRQ based events. 59 * struct pse_control_config - PSE control/channel configuration. 62 * IEEE 802.3-2018 30.15.1.2.1 acPoDLPSEAdminControl 64 * IEEE 802.3-2022 30.9.1.2.1 acPSEAdminControl 72 * struct pse_admin_state - PSE operational state 75 * functions. IEEE 802.3-2018 30.15.1.1.2 aPoDLPSEAdminState 77 * functions. IEEE 802.3-2022 30.9.1.1.2 aPSEAdminState [all …]
|
| /linux/Documentation/devicetree/bindings/bus/ |
| H A 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 …]
|
| /linux/drivers/video/backlight/ |
| H A D | lcd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2003,2004 Hewlett-Packard Company 24 int power) in lcd_notify_blank() argument 26 guard(mutex)(&ld->ops_lock); in lcd_notify_blank() 28 if (!ld->ops || !ld->ops->set_power) in lcd_notify_blank() 30 if (ld->ops->controls_device && !ld->ops->controls_device(ld, display_dev)) in lcd_notify_blank() 33 ld->ops->set_power(ld, power); in lcd_notify_blank() 36 void lcd_notify_blank_all(struct device *display_dev, int power) in lcd_notify_blank_all() argument 43 lcd_notify_blank(ld, display_dev, power); in lcd_notify_blank_all() 50 guard(mutex)(&ld->ops_lock); in lcd_notify_mode_change() [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A 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 …]
|
| /linux/Documentation/devicetree/bindings/sound/ |
| H A 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 …]
|
| /linux/Documentation/dev-tools/kunit/api/ |
| H A D | resource.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 Most users won't need to use this API directly, power users can use it to store 10 state on a per-test basis, register custom cleanup actions, and more. 12 .. kernel-doc:: include/kunit/resource.h 15 Managed Devices 16 --------------- 18 Functions for using KUnit-managed struct device and struct device_driver. 21 .. kernel-doc:: include/kunit/device.h
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | lan966x-kontron-kswitch-d10-mmt-6g-2gs.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for the Kontron KSwitch D10 MMT 6G-2GS 6 /dts-v1/; 7 #include "lan966x-kontron-kswitch-d10-mmt.dtsi" 10 model = "Kontron KSwitch D10 MMT 6G-2GS"; 11 compatible = "kontron,kswitch-d10-mmt-6g-2gs", "kontron,s1921", 21 i2c-bus = <&i2c4>; 22 los-gpios = <&sgpio_in 1 0 GPIO_ACTIVE_HIGH>; 23 mod-def0-gpios = <&sgpio_in 1 1 GPIO_ACTIVE_LOW>; 24 maximum-power-milliwatt = <2500>; [all …]
|
| /linux/drivers/pmdomain/thead/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 4 tristate "Support TH1520 Power Domains" 9 This driver enables power domain management for the T-HEAD 10 TH-1520 SoC. On this SoC there are number of power domains, 11 which can be managed independently. For example GPU, NPU, 12 and DPU reside in their own power domains which can be
|
| /linux/tools/testing/selftests/cpufreq/ |
| H A 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 56 local rfile=$(ls -l $1/$file | awk '$1 ~ /^.*r.*/ { print $NF; }') 58 if [ ! - [all...] |
| /linux/Documentation/driver-api/ |
| H A D | device_link.rst | 27 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/sound/soc/sof/intel/ |
| H A D | icl.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 16 #include "../ipc4-priv.h" 19 #include "hda-ipc.h" 20 #include "../sof-audio.h" 32 struct sof_intel_hda_dev *hda = sdev->pdata->hw_pdata; in icl_dsp_core_stall() 33 const struct sof_intel_dsp_desc *chip = hda->desc; in icl_dsp_core_stall() 35 /* make sure core_mask in host managed cores */ in icl_dsp_core_stall() 36 core_mask &= chip->host_managed_cores_mask; in icl_dsp_core_stall() 38 dev_err(sdev->dev, "error: core_mask is not in host managed cores\n"); in icl_dsp_core_stall() 39 return -EINVAL; in icl_dsp_core_stall() [all …]
|
| /linux/Documentation/devicetree/bindings/soc/ti/ |
| H A D | sci-pm-domain.yaml | 1 # 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 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/Documentation/devicetree/bindings/phy/ |
| H A D | amlogic,g12a-usb2-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/phy/amlogic,g12a-usb2-phy.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Neil Armstrong <neil.armstrong@linaro.org> 16 - amlogic,g12a-usb2-phy 17 - amlogic,a1-usb2-phy 25 clock-names: 27 - const: xtal 32 reset-names: [all …]
|
| H A D | amlogic,g12a-usb3-pcie-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/phy/amlogic,g12a-usb3-pcie-phy.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Neil Armstrong <neil.armstrong@linaro.org> 16 - amlogic,g12a-usb3-pcie-phy 24 clock-names: 26 - const: ref_clk 31 reset-names: 33 - const: phy [all …]
|
| H A D | amlogic,meson8b-usb2-phy.yaml | 1 # 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/include/net/ |
| H A D | regulatory.h | 7 * Copyright 2008-2009 Luis R. Rodriguez <mcgrof@qca.qualcomm.com> 28 * enum environment_cap - Environment parsed from country IE 41 * struct regulatory_request - used to keep track of regulatory requests 53 * 00 - World regulatory domain 54 * 99 - built by driver but a specific alpha2 cannot be determined 55 * 98 - result of an intersection between two regulatory domains 56 * 97 - regulatory domain has not yet been configured 92 * enum ieee80211_regulatory_flags - device regulatory flags 117 * ISO3166-alpha2 country code. wiphys that use regulatory_hint() 118 * will have their wiphy->regd programmed once the regulatory [all …]
|
| /linux/Documentation/devicetree/bindings/usb/ |
| H A D | willsemi,wusb3801.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: WUSB3801 Type-C port controller 10 The Will Semiconductor WUSB3801 is a USB Type-C port controller which 12 compatible with the USB Type-C Cable and Connector Specification v1.2. 15 - Samuel Holland <samuel@sholland.org> 20 - willsemi,wusb3801 30 $ref: ../connector/usb-connector.yaml# 33 The managed USB Type-C connector. Since WUSB3801 does not support [all …]
|
| /linux/drivers/bus/ |
| H A D | simple-pm-bus.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Simple Power-Managed Bus Driver 5 * Copyright (C) 2014-2015 Glider bvba 27 const struct device *dev = &pdev->dev; in simple_pm_bus_probe() 29 struct device_node *np = dev->of_node; in simple_pm_bus_probe() 37 * of the simple-pm-bus tasks for these devices, so return early. in simple_pm_bus_probe() 39 if (device_has_driver_override(&pdev->dev)) in simple_pm_bus_probe() 42 match = of_match_device(dev->driver->of_match_table, dev); in simple_pm_bus_probe() 44 * These are transparent bus devices (not simple-pm-bus matches) that in simple_pm_bus_probe() 50 if (match && match->data) { in simple_pm_bus_probe() [all …]
|
| /linux/arch/arm64/boot/dts/marvell/ |
| H A D | armada-3720-turris-mox.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/bus/moxtet.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include "armada-372x.dtsi" 16 compatible = "cznic,turris-mox", "marvell,armada3720", 28 stdout-path = "serial0:115200n8"; 37 compatible = "gpio-leds"; 41 linux,default-trigger = "default-on"; [all …]
|
| /linux/Documentation/devicetree/bindings/net/ |
| H A D | calxeda-xgmac.yaml | 1 # 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/sound/soc/sof/ |
| H A D | pm.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 13 #include "sof-priv.h" 14 #include "sof-audio.h" 16 static int override_on_demand_boot = -1; 18 MODULE_PARM_DESC(on_demand_boot, "Force on-deman [all...] |
| /linux/drivers/firmware/arm_scmi/ |
| H A D | Kconfig | 1 # 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 80 The framework allows the definition of platform-specific code quirks 91 tristate "SCMI system power control driver" 94 This enables System Power control logic which binds system shutdown or 95 reboot actions to SCMI System Power notifications generated by SCP
|
| /linux/drivers/platform/surface/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Microsoft Surface Platform-Specific Drivers 7 bool "Microsoft Surface Platform-Specific Device Drivers" 11 Say Y here to get to see options for platform-specific device drivers 29 be called surface3-wmi. 47 on 5th- and 6th-generation Microsoft Surface devices (including 55 thermal sensor access, and real-time clock information, depending on 59 tristate "Surface System Aggregator Module User-Space Interface" 62 Provides a misc-device interface to the Surface System Aggregator 67 the SSAM controller. Said client device manages a misc-device [all …]
|
| /linux/sound/soc/sdca/ |
| H A D | sdca_functions.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 6 * https://www.mipi.org/mipi-sdca-v1-0-download 55 return -EINVAL; in patch_sdca_function_type() 95 struct device *dev = &adev->dev; in find_sdca_function() 103 if (sdca_data->num_functions >= SDCA_MAX_FUNCTION_COUNT) { in find_sdca_function() 105 return -EINVAL; in find_sdca_function() 108 ret = acpi_get_local_u64_address(adev->handle, &addr); in find_sdca_function() 114 return -ENODEV; in find_sdca_function() 122 * but the SDCA/DisCo specs defined the notion of "DC value" - a constant in find_sdca_function() 128 "mipi-sdca-control-0x5-subproperties"); in find_sdca_function() [all …]
|