/linux-6.12.1/arch/arm64/boot/dts/microchip/ |
D | sparx5_pcb135_board.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 10 gpio-restart { 11 compatible = "gpio-restart"; 16 i2c0_imux: i2c-mux { 17 compatible = "i2c-mux-pinctrl"; 18 #address-cells = <1>; 19 #size-cells = <0>; 20 i2c-parent = <&i2c0>; 24 compatible = "gpio-leds"; [all …]
|
/linux-6.12.1/drivers/interconnect/imx/ |
D | imx8mp.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <dt-bindings/interconnect/fsl,imx8mp.h> 23 .reg = 0x180, 24 .mode = IMX_NOC_MODE_FIXED, 28 .reg = 0x200, 29 .mode = IMX_NOC_MODE_FIXED, 33 .reg = 0x280, 34 .mode = IMX_NOC_MODE_FIXED, 38 .reg = 0x300, 39 .mode = IMX_NOC_MODE_FIXED, [all …]
|
/linux-6.12.1/drivers/platform/x86/ |
D | mlx-platform.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 5 * Copyright (C) 2016-2018 Mellanox Technologies 6 * Copyright (C) 2016-2018 Vadim Pasternak <vadimp@mellanox.com> 12 #include <linux/i2c-mux.h> 17 #include <linux/platform_data/i2c-mux-reg.h> 297 #define MLXPLAT_CPLD_NR_NONE -1 341 /* mlxplat_priv - platform private data 342 * @pdev_i2c - i2c controller platform device 343 * @pdev_mux - array of mux platform devices 344 * @pdev_hotplug - hotplug platform devices [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/net/dsa/ |
D | mscc,ocelot.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vladimir Oltean <vladimir.oltean@nxp.com> 11 - Claudiu Manoil <claudiu.manoil@nxp.com> 12 - Alexandre Belloni <alexandre.belloni@bootlin.com> 13 - UNGLinuxDriver@microchip.com 16 There are multiple switches which are either part of the Ocelot-1 family, or 22 Frame DMA or register-based I/O. 26 This is found in the NXP T1040, where it is a memory-mapped platform [all …]
|
D | microchip,lan937x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - UNGLinuxDriver@microchip.com 13 - $ref: dsa.yaml#/$defs/ethernet-ports 18 - microchip,lan9370 19 - microchip,lan9371 20 - microchip,lan9372 21 - microchip,lan9373 22 - microchip,lan9374 [all …]
|
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 …]
|
/linux-6.12.1/arch/arm/mach-omap1/ |
D | mux.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * Copyright (C) 2004 - 2008 Texas Instruments Inc. 7 * Copyright (C) 2003 - 2008 Nokia Corporation 13 * - W8 = ball 14 * - 1610 = 1510 or 1610, none if common for both 1510 and 1610 15 * - MMC2_DAT0 = function 21 #include <linux/soc/ti/omap1-mux.h> 23 #define PU_PD_SEL_NA 0 /* No pu_pd reg available */ 24 #define PULL_DWN_CTRL_NA 0 /* No pull-down control needed */ 27 #define MUX_REG(reg, mode_offset, mode) .mux_reg_name = "FUNC_MUX_CTRL_"#reg, \ argument [all …]
|
/linux-6.12.1/arch/arm64/boot/dts/freescale/ |
D | fsl-lx2160a-bluebox3.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 // Copyright 2020-2021 NXP 7 /dts-v1/; 9 #include "fsl-lx2160a.dtsi" 13 compatible = "fsl,lx2160a-bluebox3", "fsl,lx2160a"; 23 stdout-path = "serial0:115200n8"; 26 sb_3v3: regulator-sb3v3 { 27 compatible = "regulator-fixed"; 28 regulator-name = "MC34717-3.3VSB"; 29 regulator-min-microvolt = <3300000>; [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/dac/ |
D | adi,ad5592r.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michael Hennerich <michael.hennerich@analog.com> 15 - adi,ad5592r 16 - adi,ad5593r 18 reg: 21 spi-max-frequency: 24 spi-cpol: true 26 "#address-cells": [all …]
|
/linux-6.12.1/arch/arm/boot/dts/microchip/ |
D | lan966x-pcb8290.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * lan966x-pcb8290.dts - Device Tree file for LAN966X-PCB8290 board 9 /dts-v1/; 11 #include "dt-bindings/phy/phy-lan966x-serdes.h" 15 compatible = "microchip,lan9668-pcb8290", "microchip,lan9668", "microchip,lan966"; 17 gpio-restart { 18 compatible = "gpio-restart"; 29 miim_a_pins: mdio-pins { 35 pps_out_pins: pps-out-pins { 41 ptp_ext_pins: ptp-ext-pins { [all …]
|
/linux-6.12.1/drivers/iio/adc/ |
D | hi8435.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Holt Integrated Circuits HI-8435 threshold detector driver 24 /* Register offsets for HI-8435 */ 50 unsigned threshold_lo[2]; /* GND-Open and Supply-Open thresholds */ 51 unsigned threshold_hi[2]; /* GND-Open and Supply-Open thresholds */ 55 static int hi8435_readb(struct hi8435_priv *priv, u8 reg, u8 *val) in hi8435_readb() argument 57 reg |= HI8435_READ_OPCODE; in hi8435_readb() 58 return spi_write_then_read(priv->spi, ®, 1, val, 1); in hi8435_readb() 61 static int hi8435_readw(struct hi8435_priv *priv, u8 reg, u16 *val) in hi8435_readw() argument 66 reg |= HI8435_READ_OPCODE; in hi8435_readw() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/remoteproc/ |
D | xlnx,zynqmp-r5fss.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/remoteproc/xlnx,zynqmp-r5fss.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ben Levinsky <ben.levinsky@amd.com> 11 - Tanmay Shah <tanmay.shah@amd.com> 14 The Xilinx platforms include a pair of Cortex-R5F processors (RPU) for 15 real-time processing based on the Cortex-R5F processor core from ARM. 16 The Cortex-R5F processor implements the Arm v7-R architecture and includes a 17 floating-point unit that implements the Arm VFPv3 instruction set. [all …]
|
/linux-6.12.1/drivers/net/dsa/mv88e6xxx/ |
D | port.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2016-2017 Savoir-faire Linux Inc. 21 int mv88e6xxx_port_read(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_read() argument 24 int addr = chip->info->port_base_addr + port; in mv88e6xxx_port_read() 26 return mv88e6xxx_read(chip, addr, reg, val); in mv88e6xxx_port_read() 29 int mv88e6xxx_port_wait_bit(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_wait_bit() argument 32 int addr = chip->info->port_base_addr + port; in mv88e6xxx_port_wait_bit() 34 return mv88e6xxx_wait_bit(chip, addr, reg, bit, val); in mv88e6xxx_port_wait_bit() 37 int mv88e6xxx_port_write(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_write() argument 40 int addr = chip->info->port_base_addr + port; in mv88e6xxx_port_write() [all …]
|
/linux-6.12.1/drivers/regulator/ |
D | mcp16502.c | 1 // SPDX-License-Identifier: GPL-2.0 9 // Inspired from tps65086-regulator.c 30 * Performance, Active, Low-power, Hibernate. 33 * Each regulator has a register for each power mode. To access a register 34 * for a specific regulator and mode BASE_* and OFFSET_* need to be added. 41 * a low-power state while the PMIC is in Active mode. They are supposed to be 42 * configured at startup and then simply transition to/from a global low-power 45 * This driver keeps the PMIC in Active mode, Low-power state is set for the 46 * regulators by enabling/disabling operating mode (FPWM or Auto PFM). 48 * The PMIC's Low-power and Hibernate modes are used during standby/suspend. [all …]
|
/linux-6.12.1/drivers/gpu/drm/hisilicon/hibmc/ |
D | hibmc_drm_de.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 60 struct drm_framebuffer *fb = new_plane_state->fb; in hibmc_plane_atomic_check() 61 struct drm_crtc *crtc = new_plane_state->crtc; in hibmc_plane_atomic_check() 63 u32 src_w = new_plane_state->src_w >> 16; in hibmc_plane_atomic_check() 64 u32 src_h = new_plane_state->src_h >> 16; in hibmc_plane_atomic_check() 73 if (src_w != new_plane_state->crtc_w || src_h != new_plane_state->crtc_h) { in hibmc_plane_atomic_check() 74 drm_dbg_atomic(plane->dev, "scale not support\n"); in hibmc_plane_atomic_check() 75 return -EINVAL; in hibmc_plane_atomic_check() 78 if (new_plane_state->crtc_x < 0 || new_plane_state->crtc_y < 0) { in hibmc_plane_atomic_check() 79 drm_dbg_atomic(plane->dev, "crtc_x/y of drm_plane state is invalid\n"); in hibmc_plane_atomic_check() [all …]
|
/linux-6.12.1/drivers/mmc/host/ |
D | sdhci-xenon-phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Date: 2016-8-24 17 #include "sdhci-pltfm.h" 18 #include "sdhci-xenon.h" 156 void __iomem *reg; member 209 params = devm_kzalloc(mmc_dev(host->mmc), sizeof(*params), GFP_KERNEL); in xenon_alloc_emmc_phy() 211 return -ENOMEM; in xenon_alloc_emmc_phy() 213 priv->phy_params = params; in xenon_alloc_emmc_phy() 214 if (priv->phy_type == EMMC_5_0_PHY) in xenon_alloc_emmc_phy() 215 priv->emmc_phy_regs = &xenon_emmc_5_0_phy_regs; in xenon_alloc_emmc_phy() [all …]
|
/linux-6.12.1/drivers/net/ethernet/ti/ |
D | cpsw-phy-sel.c | 1 // SPDX-License-Identifier: GPL-2.0 42 u32 reg; in cpsw_gmii_sel_am3352() local 44 u32 mode = 0; in cpsw_gmii_sel_am3352() local 47 reg = readl(priv->gmii_sel); in cpsw_gmii_sel_am3352() 51 mode = AM33XX_GMII_SEL_MODE_RMII; in cpsw_gmii_sel_am3352() 55 mode = AM33XX_GMII_SEL_MODE_RGMII; in cpsw_gmii_sel_am3352() 61 mode = AM33XX_GMII_SEL_MODE_RGMII; in cpsw_gmii_sel_am3352() 66 dev_warn(priv->dev, in cpsw_gmii_sel_am3352() 67 "Unsupported PHY mode: \"%s\". Defaulting to MII.\n", in cpsw_gmii_sel_am3352() 71 mode = AM33XX_GMII_SEL_MODE_MII; in cpsw_gmii_sel_am3352() [all …]
|
/linux-6.12.1/drivers/media/platform/samsung/s5p-g2d/ |
D | g2d-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Samsung S5P G2D - 2D Graphics Accelerator Driver 10 #define SOFT_RESET_REG 0x0000 /* Software reset reg */ 11 #define INTEN_REG 0x0004 /* Interrupt Enable reg */ 12 #define INTC_PEND_REG 0x000C /* Interrupt Control Pending reg */ 13 #define FIFO_STAT_REG 0x0010 /* Command FIFO Status reg */ 14 #define AXI_ID_MODE_REG 0x0014 /* AXI Read ID Mode reg */ 15 #define CACHECTL_REG 0x0018 /* Cache & Buffer clear reg */ 16 #define AXI_MODE_REG 0x001C /* AXI Mode reg */ 19 #define BITBLT_START_REG 0x0100 /* BitBLT Start reg */ [all …]
|
/linux-6.12.1/drivers/gpu/ipu-v3/ |
D | ipu-di.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2005-2009 Freescale Semiconductor, Inc. 14 #include <video/imx-ipu-v3.h> 15 #include "ipu-prv.h" 76 #define DI_SW_GEN0(gen) (0x000c + 4 * ((gen) - 1)) 77 #define DI_SW_GEN1(gen) (0x0030 + 4 * ((gen) - 1)) 78 #define DI_STP_REP(gen) (0x0148 + 4 * (((gen) - 1)/2)) 125 return readl(di->base + offset); in ipu_di_read() 130 writel(value, di->base + offset); in ipu_di_write() 137 u32 reg; in ipu_di_data_wave_config() local [all …]
|
/linux-6.12.1/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet_wol.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Broadcom GENET (Gigabit Ethernet) Wake-on-LAN support 5 * Copyright (c) 2014-2024 Broadcom 37 /* ethtool function - get WOL (Wake on LAN) settings, Only Magic Packet 43 struct device *kdev = &priv->pdev->dev; in bcmgenet_get_wol() 45 if (dev->phydev) in bcmgenet_get_wol() 46 phy_ethtool_get_wol(dev->phydev, wol); in bcmgenet_get_wol() 48 /* MAC is not wake-up capable, return what the PHY does */ in bcmgenet_get_wol() 53 wol->supported |= WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER; in bcmgenet_get_wol() 54 wol->wolopts = priv->wolopts; in bcmgenet_get_wol() [all …]
|
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-phy-v1.c | 125 #include "xgbe-common.h" 127 #define XGBE_BLWC_PROPERTY "amd,serdes-blwc" 128 #define XGBE_CDR_RATE_PROPERTY "amd,serdes-cdr-rate" 129 #define XGBE_PQ_SKEW_PROPERTY "amd,serdes-pq-skew" 130 #define XGBE_TX_AMP_PROPERTY "amd,serdes-tx-amp" 131 #define XGBE_DFE_CFG_PROPERTY "amd,serdes-dfe-tap-config" 132 #define XGBE_DFE_ENA_PROPERTY "amd,serdes-dfe-tap-enable" 165 /* Rate-change complete wait/retry count */ 234 struct ethtool_link_ksettings *lks = &pdata->phy.lks; in xgbe_phy_an_outcome() 235 struct xgbe_phy_data *phy_data = pdata->phy_data; in xgbe_phy_an_outcome() [all …]
|
/linux-6.12.1/sound/firewire/dice/ |
D | dice-extension.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * dice-extension.c - a part of driver for DICE based devices 53 return snd_fw_transaction(dice->unit, in read_transaction() 61 unsigned int mode, in read_stream_entries() argument 66 __be32 reg[2]; in read_stream_entries() local 74 reg, sizeof(reg)); in read_stream_entries() 77 pcm_channels[i][mode] = be32_to_cpu(reg[0]); in read_stream_entries() 78 midi_ports[i] = max(midi_ports[i], be32_to_cpu(reg[1])); in read_stream_entries() 87 __be32 reg[2]; in detect_stream_formats() local 89 int mode; in detect_stream_formats() local [all …]
|
/linux-6.12.1/drivers/phy/rockchip/ |
D | phy-rockchip-snps-pcie3.c | 1 // SPDX-License-Identifier: GPL-2.0 29 #define SRAM_INIT_DONE(reg) (reg & BIT(14)) argument 42 #define RK3588_SRAM_INIT_DONE(reg) (reg & BIT(0)) argument 57 /* mode: RC, EP */ 58 int mode; member 76 static int rockchip_p3phy_set_mode(struct phy *phy, enum phy_mode mode, int submode) in rockchip_p3phy_set_mode() argument 80 /* Actually We don't care EP/RC mode, but just record it */ in rockchip_p3phy_set_mode() 83 priv->mode = PHY_MODE_PCIE_RC; in rockchip_p3phy_set_mode() 86 priv->mode = PHY_MODE_PCIE_EP; in rockchip_p3phy_set_mode() 89 dev_err(&phy->dev, "%s, invalid mode\n", __func__); in rockchip_p3phy_set_mode() [all …]
|
/linux-6.12.1/arch/arm/boot/dts/nxp/vf/ |
D | vf610-zii-scu4-aib.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 // Copyright (C) 2016-2018 Zodiac Inflight Innovations 5 /dts-v1/; 10 compatible = "zii,vf610scu4-aib", "zii,vf610dev", "fsl,vf610"; 13 stdout-path = &uart0; 18 reg = <0x80000000 0x20000000>; 21 gpio-leds { 22 compatible = "gpio-leds"; 23 pinctrl-0 = <&pinctrl_leds_debug>; 24 pinctrl-names = "default"; [all …]
|
/linux-6.12.1/drivers/gpu/drm/tilcdc/ |
D | tilcdc_crtc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/dma-mapping.h> 65 struct drm_device *dev = crtc->dev; in set_scanout() 66 struct tilcdc_drm_private *priv = dev->dev_private; in set_scanout() 73 start = gem->dma_addr + fb->offsets[0] + in set_scanout() 74 crtc->y * fb->pitches[0] + in set_scanout() 75 crtc->x * fb->format->cpp[0]; in set_scanout() 77 end = start + (crtc->mode.vdisplay * fb->pitches[0]); in set_scanout() 84 if (priv->rev == 1) in set_scanout() 85 end -= 1; in set_scanout() [all …]
|