| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | fsl-ls1088a-ten64.dts | 1 // 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 …]
|
| H A D | fsl-lx2162a-clearfog.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 // Copyright 2023 Josua Mayer <josua@solid-run.com> 7 /dts-v1/; 9 #include "fsl-lx2160a.dtsi" 10 #include "fsl-lx2162a-sr-som.dtsi" 14 compatible = "solidrun,lx2162a-clearfog", "solidrun,lx2162a-som", "fsl,lx2160a"; 35 stdout-path = "serial0:115200n8"; 39 compatible = "gpio-leds"; 41 led_sfp_at: led-sfp-at { 43 default-state = "off"; [all …]
|
| 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/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/arch/arm64/boot/dts/marvell/ |
| H A D | cn9131-cf-solidwan.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2024 Josua Mayer <josua@solid-run.com> 9 /dts-v1/; 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 15 #include "cn9130-sr-som.dtsi" 29 #include "armada-cp115.dtsi" 41 compatible = "solidrun,cn9131-solidwan", 42 "solidrun,cn9130-sr-som", "marvell,cn9130"; 67 compatible = "gpio-leds"; [all …]
|
| H A D | armada-3720-uDPU.dtsi | 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" 19 stdout-path = "serial0:115200n8"; 28 compatible = "gpio-leds"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&spi_quad_pins>; 32 led-power1 { [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/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/include/linux/ |
| H A D | pm_wakeup.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * pm_wakeup.h - Power management wakeup interface 21 * struct wakeup_source - Representation of wakeup sources 79 return dev->power.can_wakeup; in device_can_wakeup() 84 return dev->power.can_wakeup && !!dev->power.wakeup; in device_may_wakeup() 89 return dev->power.wakeup_path; in device_wakeup_path() 94 dev->power.wakeup_path = true; in device_set_wakeup_path() 97 /* drivers/base/power/wakeup.c */ 120 dev->power.can_wakeup = capable; in device_set_wakeup_capable() 125 return dev->power.can_wakeup; in device_can_wakeup() [all …]
|
| H A D | scmi_protocol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2018-2021 ARM Ltd. 21 * struct scmi_revision_info - version information structure 30 * @impl_ver: A vendor-specific implementation version. 32 * @sub_vendor_id: A sub-vendor identifier(Null terminated ASCII string) 87 * struct scmi_clk_proto_ops - represents the various operations provided 133 * struct scmi_perf_proto_ops - represent 404 POWER = 0x7, global() enumerator 1112 unsigned int power; global() member [all...] |
| H A D | reset.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 * struct reset_control_bulk_data - Data used for bulk reset control operations. 34 * enum reset_control_flags - Flags that can be passed to the reset_control_get functions 151 return optional ? 0 : -ENOTSUPP; in __device_reset() 160 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __of_reset_control_get() 169 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __reset_control_get() 208 return optional ? 0 : -EOPNOTSUPP; in __reset_control_bulk_get() 222 return optional ? NULL : ERR_PTR(-ENOTSUPP); in __devm_reset_control_get() 232 return optional ? 0 : -EOPNOTSUPP; in __devm_reset_control_bulk_get() 240 return optional ? NULL : ERR_PTR(-ENOTSUPP); in devm_reset_control_array_get() [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/Documentation/devicetree/bindings/pci/ |
| H A D | qcom,pcie-sa8255p.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/qcom,pcie-sa8255p.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm SA8255p based firmware managed and ECAM compliant PCIe Root Complex 10 - Bjorn Andersson <andersson@kernel.org> 11 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 15 DesignWare PCIe IP which is managed by firmware, and configured in ECAM mode. 19 const: qcom,pcie-sa8255p 25 address corresponds to the first bus in the "bus-range" property. If [all …]
|
| /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/Documentation/driver-api/driver-model/ |
| H A 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 …]
|
| /linux/mm/ |
| H A D | dmapool.c | 1 // 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> 78 size = sysfs_emit(buf, "poolinfo - 0.1\n"); in pools_show() 81 list_for_each_entry(pool, &dev->dma_pool in pools_show() [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 …]
|
| /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 …]
|