| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/dsa/ |
| D | qca8k.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - John Crispin <john@phrozen.org> 13 If the QCA8K switch is connect to an SoC's external mdio-bus, each subnode 16 ID. To declare the internal mdio-bus configuration, declare an MDIO node in 18 PHY it is connected to. In this config, an internal mdio-bus is registered and 20 mdio-bus configurations are not supported by the hardware. 27 - enum: 28 - qca,qca8327 [all …]
|
| /kernel/linux/linux-6.6/drivers/regulator/ |
| D | ti-abb-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2012-2013 Texas Instruments, Inc. 27 * FAST_OPP: sets ABB LDO to Forward Body-Bias 28 * SLOW_OPP: sets ABB LDO to Reverse Body-Bias 35 * struct ti_abb_info - ABB information per voltage setting 48 * struct ti_abb_reg - Register description for ABB block 51 * @sr2_wtcnt_value_mask: setup register- sr2_wtcnt_value mask 52 * @fbb_sel_mask: setup register- FBB sel mask 53 * @rbb_sel_mask: setup register- RBB sel mask 54 * @sr2_en_mask: setup register- enable mask [all …]
|
| D | max8997-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max8997.c - Regulator driver for the Maxim 8997/8966 8 // This driver is based on max8998.c 20 #include <linux/mfd/max8997-private.h> 51 int set3 = (max8997->buck125_gpioindex) & 0x1; in max8997_set_gpio() 52 int set2 = ((max8997->buck125_gpioindex) >> 1) & 0x1; in max8997_set_gpio() 53 int set1 = ((max8997->buck125_gpioindex) >> 2) & 0x1; in max8997_set_gpio() 55 gpio_set_value(max8997->buck125_gpios[0], set1); in max8997_set_gpio() 56 gpio_set_value(max8997->buck125_gpios[1], set2); in max8997_set_gpio() 57 gpio_set_value(max8997->buck125_gpios[2], set3); in max8997_set_gpio() [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | ti-abb-regulator.c | 7 * Copyright (C) 2012-2013 Texas Instruments, Inc. 35 * FAST_OPP: sets ABB LDO to Forward Body-Bias 36 * SLOW_OPP: sets ABB LDO to Reverse Body-Bias 43 * struct ti_abb_info - ABB information per voltage setting 56 * struct ti_abb_reg - Register description for ABB block 59 * @sr2_wtcnt_value_mask: setup register- sr2_wtcnt_value mask 60 * @fbb_sel_mask: setup register- FBB sel mask 61 * @rbb_sel_mask: setup register- RBB sel mask 62 * @sr2_en_mask: setup register- enable mask 63 * @opp_change_mask: control register - mask to trigger LDOVBB change [all …]
|
| D | max8997-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // max8997.c - Regulator driver for the Maxim 8997/8966 8 // This driver is based on max8998.c 20 #include <linux/mfd/max8997-private.h> 51 int set3 = (max8997->buck125_gpioindex) & 0x1; in max8997_set_gpio() 52 int set2 = ((max8997->buck125_gpioindex) >> 1) & 0x1; in max8997_set_gpio() 53 int set1 = ((max8997->buck125_gpioindex) >> 2) & 0x1; in max8997_set_gpio() 55 gpio_set_value(max8997->buck125_gpios[0], set1); in max8997_set_gpio() 56 gpio_set_value(max8997->buck125_gpios[1], set2); in max8997_set_gpio() 57 gpio_set_value(max8997->buck125_gpios[2], set3); in max8997_set_gpio() [all …]
|
| /kernel/linux/linux-6.6/drivers/clk/bcm/ |
| D | clk-kona.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include "clk-kona.h" 12 #include <linux/clk-provider.h> 17 * "Normal", and "Turbo".) A lower policy number has lower power 27 /* Produces a mask of set bits covering a range of a 32-bit value */ 30 return ((1 << width) - 1) << shift; in bitfield_mask() 52 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value() 68 combined <<= div->u.s.frac_width; in scaled_div_build() 78 return (u64)div->u.fixed; in scaled_div_min() 89 return (u64)div->u.fixed; in scaled_div_max() [all …]
|
| /kernel/linux/linux-5.10/drivers/clk/bcm/ |
| D | clk-kona.c | 15 #include "clk-kona.h" 20 #include <linux/clk-provider.h> 25 * "Normal", and "Turbo".) A lower policy number has lower power 35 /* Produces a mask of set bits covering a range of a 32-bit value */ 38 return ((1 << width) - 1) << shift; in bitfield_mask() 60 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value() 76 combined <<= div->u.s.frac_width; in scaled_div_build() 86 return (u64)div->u.fixed; in scaled_div_min() 97 return (u64)div->u.fixed; in scaled_div_max() 99 reg_div = ((u32)1 << div->u.s.width) - 1; in scaled_div_max() [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/core/ |
| D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0 69 /* Protect struct usb_device->state and ->children members 70 * Note: Both are also protected by ->dev.sem, except that ->state can 78 /* synchronize hub-port add/remove and peering operations */ 81 /* cycle leds on hubs that aren't blinking for attention */ 84 MODULE_PARM_DESC(blinkenlights, "true to cycle leds on hubs"); 88 * 10 seconds to send reply for the initial 64-byte descriptor request. 90 /* define initial 64-byte descriptor request timeout in milliseconds */ 94 "initial 64-byte descriptor request timeout in milliseconds " 95 "(default 5000 - 5.0 seconds)"); [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/ |
| D | rk3399-gru.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2016-2017 Google, Inc 8 #include <dt-bindings/input/input.h> 10 #include "rk3399-op1-opp.dtsi" 14 stdout-path = "serial2:115200n8"; 18 * Power Tree 23 * - Rails that only connect to the EC (or devices that the EC talks to) 25 * - Rails _are_ included if the rails go to the AP even if the AP 26 * doesn't currently care about them / they are always on. The idea 34 * - The EC controls the enable and the EC always enables a rail as [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | tas5720.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tas5720.c - ALSA SoC Texas Instruments TAS5720 Mono Audio Amplifier 5 * Copyright (C)2015-2016 Texas Instruments Incorporated - https://www.ti.com 23 #include <sound/soc-dapm.h> 37 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 38 "pvdd", /* Class-D amp and analog power supply (connected). */ 57 struct snd_soc_component *component = dai->component; in tas5720_hw_params() 72 dev_err(component->dev, "unsupported sample rate: %u\n", rate); in tas5720_hw_params() 73 return -EINVAL; in tas5720_hw_params() 79 dev_err(component->dev, "error setting sample rate: %d\n", ret); in tas5720_hw_params() [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/core/ |
| D | hub.c | 1 // SPDX-License-Identifier: GPL-2.0 56 /* Protect struct usb_device->state and ->children members 57 * Note: Both are also protected by ->dev.sem, except that ->state can 65 /* synchronize hub-port add/remove and peering operations */ 68 /* cycle leds on hubs that aren't blinking for attention */ 71 MODULE_PARM_DESC(blinkenlights, "true to cycle leds on hubs"); 75 * 10 seconds to send reply for the initial 64-byte descriptor request. 77 /* define initial 64-byte descriptor request timeout in milliseconds */ 81 "initial 64-byte descriptor request timeout in milliseconds " 82 "(default 5000 - 5.0 seconds)"); [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/ |
| D | rk3399-gru.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 5 * Copyright 2016-2017 Google, Inc 8 #include <dt-bindings/input/input.h> 10 #include "rk3399-op1-opp.dtsi" 19 stdout-path = "serial2:115200n8"; 23 * Power Tree 28 * - Rails that only connect to the EC (or devices that the EC talks to) 30 * - Rails _are_ included if the rails go to the AP even if the AP 31 * doesn't currently care about them / they are always on. The idea 39 * - The EC controls the enable and the EC always enables a rail as [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| D | tas5720.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tas5720.c - ALSA SoC Texas Instruments TAS5720 Mono Audio Amplifier 5 * Copyright (C)2015-2016 Texas Instruments Incorporated - https://www.ti.com 22 #include <sound/soc-dapm.h> 37 "dvdd", /* Digital power supply. Connect to 3.3-V supply. */ 38 "pvdd", /* Class-D amp and analog power supply (connected). */ 57 struct snd_soc_component *component = dai->component; in tas5720_hw_params() 72 dev_err(component->dev, "unsupported sample rate: %u\n", rate); in tas5720_hw_params() 73 return -EINVAL; in tas5720_hw_params() 79 dev_err(component->dev, "error setting sample rate: %d\n", ret); in tas5720_hw_params() [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/qcom/ |
| D | sc7280-qcard.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 * stuffed) on it. This device tree tries to encapsulate all the things that 14 #include <dt-bindings/iio/qcom,spmi-adc7-pmk8350.h> 15 #include <dt-bindings/iio/qcom,spmi-adc7-pmr735a.h> 16 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 17 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 21 /* PMICs depend on spmi_bus label and so must come after SoC */ 34 wcd9385: audio-codec-1 { 35 compatible = "qcom,wcd9385-codec"; 36 pinctrl-names = "default", "sleep"; [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/host/ |
| D | xhci.c | 1 // SPDX-License-Identifier: GPL-2.0 20 #include <linux/dma-mapping.h> 23 #include "xhci-trace.h" 24 #include "xhci-mtk.h" 25 #include "xhci-debugfs.h" 26 #include "xhci-dbgcap.h" 33 /* Some 0.95 hardware can't handle the chain bit on a Link TRB being cleared */ 36 MODULE_PARM_DESC(link_quirk, "Don't clear the chain bit on a link TRB"); 44 struct xhci_segment *seg = ring->first_seg; in td_on_ring() 46 if (!td || !td->start_seg) in td_on_ring() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | exynos4210-i9100.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung's Exynos4210 based Galaxy S2 (GT-I9100 version) device tree 11 /dts-v1/; 13 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/linux-event-codes.h> 19 model = "Samsung Galaxy S2 (GT-I9100)"; 28 stdout-path = "serial2:115200n8"; 31 vemmc_reg: regulator-0 { 32 compatible = "regulator-fixed"; [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/host/ |
| D | xhci.c | 1 // SPDX-License-Identifier: GPL-2.0 21 #include <linux/dma-mapping.h> 24 #include "xhci-trace.h" 25 #include "xhci-debugfs.h" 26 #include "xhci-dbgcap.h" 33 /* Some 0.95 hardware can't handle the chain bit on a Link TRB being cleared */ 36 MODULE_PARM_DESC(link_quirk, "Don't clear the chain bit on a link TRB"); 44 struct xhci_segment *seg = ring->first_seg; in td_on_ring() 46 if (!td || !td->start_seg) in td_on_ring() 49 if (seg == td->start_seg) in td_on_ring() [all …]
|
| /kernel/linux/linux-5.10/drivers/media/i2c/ |
| D | tvp5150.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // tvp5150 - Texas Instruments TVP5150A/AM1 and TVP5151 video decoder driver 7 #include <dt-bindings/media/tvp5150.h> 18 #include <media/v4l2-async.h> 19 #include <media/v4l2-device.h> 20 #include <media/v4l2-event.h> 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-fwnode.h> 23 #include <media/v4l2-mc.h> 24 #include <media/v4l2-rect.h> [all …]
|
| /kernel/linux/linux-6.6/drivers/media/i2c/ |
| D | tvp5150.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // tvp5150 - Texas Instruments TVP5150A/AM1 and TVP5151 video decoder driver 7 #include <dt-bindings/media/tvp5150.h> 18 #include <media/v4l2-async.h> 19 #include <media/v4l2-device.h> 20 #include <media/v4l2-event.h> 21 #include <media/v4l2-ctrls.h> 22 #include <media/v4l2-fwnode.h> 23 #include <media/v4l2-mc.h> 24 #include <media/v4l2-rect.h> [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/samsung/ |
| D | exynos4210-i9100.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Samsung's Exynos4210 based Galaxy S2 (GT-I9100 version) device tree 11 /dts-v1/; 13 #include "exynos4412-ppmu-common.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/linux-event-codes.h> 19 model = "Samsung Galaxy S2 (GT-I9100)"; 21 chassis-type = "handset"; 35 stdout-path = "serial2:115200n8"; 38 vemmc_reg: regulator-0 { [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/dwc3/ |
| D | ep0.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ep0.c - DesignWare USB3 DRD Controller Endpoint 0 Handling 5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com 19 #include <linux/dma-mapping.h> 40 dwc = dep->dwc; in dwc3_ep0_prepare_one_trb() 41 trb = &dwc->ep0_trb[dep->trb_enqueue]; in dwc3_ep0_prepare_one_trb() 44 dep->trb_enqueue++; in dwc3_ep0_prepare_one_trb() 46 trb->bpl = lower_32_bits(buf_dma); in dwc3_ep0_prepare_one_trb() 47 trb->bph = upper_32_bits(buf_dma); in dwc3_ep0_prepare_one_trb() 48 trb->size = len; in dwc3_ep0_prepare_one_trb() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/dsa/qca/ |
| D | qca8k-8xxx.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2011-2012 Gabor Juhos <juhosg@openwrt.org> 47 ret = bus->write(bus, phy_id, regnum, lo); in qca8k_mii_write_lo() 49 dev_err_ratelimited(&bus->dev, in qca8k_mii_write_lo() 62 ret = bus->write(bus, phy_id, regnum, hi); in qca8k_mii_write_hi() 64 dev_err_ratelimited(&bus->dev, in qca8k_mii_write_hi() 75 ret = bus->read(bus, phy_id, regnum); in qca8k_mii_read_lo() 83 dev_err_ratelimited(&bus->dev, in qca8k_mii_read_lo() 95 ret = bus->read(bus, phy_id, regnum); in qca8k_mii_read_hi() 103 dev_err_ratelimited(&bus->dev, in qca8k_mii_read_hi() [all …]
|
| /kernel/linux/linux-6.6/drivers/ata/ |
| D | libata-eh.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * libata-eh.c - libata error handling 8 * as Documentation/driver-api/libata.rst 11 * http://www.sata-io.org/ 59 /* Waiting in ->prereset can never be reliable. It's 90 5000, /* covers > 99% of successes and not too boring on failures */ 97 15000, /* Some drives are slow to read log pages when waking-up */ 125 * On the retry after a command timed out, the next timeout value from 129 * ehc->cmd_timeout_idx keeps track of which timeout to use per 130 * command class, so if SET_FEATURES times out on the first try, the [all …]
|
| /kernel/linux/linux-5.10/drivers/ata/ |
| D | libata-eh.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * libata-eh.c - libata error handling 8 * as Documentation/driver-api/libata.rst 11 * http://www.sata-io.org/ 59 /* Waiting in ->prereset can never be reliable. It's 90 5000, /* covers > 99% of successes and not too boring on failures */ 97 15000, /* Some drives are slow to read log pages when waking-up */ 125 * On the retry after a command timed out, the next timeout value from 129 * ehc->cmd_timeout_idx keeps track of which timeout to use per 130 * command class, so if SET_FEATURES times out on the first try, the [all …]
|
| /kernel/linux/linux-6.6/sound/pci/hda/ |
| D | patch_ca0132.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Based on patch_ca0110.c 74 #define DESKTOP_EFX_FILE "ctefx-desktop.bin" 75 #define R3DI_EFX_FILE "ctefx-r3di.bin" 115 #define VNODES_COUNT (VNODE_END_NID - VNODE_START_NID) 126 #define OUT_EFFECTS_COUNT (OUT_EFFECT_END_NID - OUT_EFFECT_START_NID) 134 #define IN_EFFECTS_COUNT (IN_EFFECT_END_NID - IN_EFFECT_START_NID) 154 #define EFFECTS_COUNT (EFFECT_END_NID - EFFECT_START_NID) 163 * X-bass. 182 int params; /* number of default non-on/off params */ [all …]
|