| /Linux-v5.15/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"; 17 compatible = "gpio-leds"; 21 default-state = "off"; 26 default-state = "off"; 31 default-state = "off"; 36 default-state = "off"; 41 default-state = "off"; [all …]
|
| /Linux-v5.15/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-v5.15/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> 16 #include <linux/platform_data/i2c-mux-reg.h> 171 #define MLXPLAT_CPLD_NR_NONE -1 193 /* mlxplat_priv - platform private data 194 * @pdev_i2c - i2c controller platform device 195 * @pdev_mux - array of mux platform devices 196 * @pdev_hotplug - hotplug platform devices [all …]
|
| /Linux-v5.15/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-v5.15/drivers/mmc/host/ |
| D | sdhci-xenon-phy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Date: 2016-8-24 16 #include "sdhci-pltfm.h" 17 #include "sdhci-xenon.h" 153 void __iomem *reg; member 206 params = devm_kzalloc(mmc_dev(host->mmc), sizeof(*params), GFP_KERNEL); in xenon_alloc_emmc_phy() 208 return -ENOMEM; in xenon_alloc_emmc_phy() 210 priv->phy_params = params; in xenon_alloc_emmc_phy() 211 if (priv->phy_type == EMMC_5_0_PHY) in xenon_alloc_emmc_phy() 212 priv->emmc_phy_regs = &xenon_emmc_5_0_phy_regs; in xenon_alloc_emmc_phy() [all …]
|
| /Linux-v5.15/drivers/regulator/ |
| D | mcp16502.c | 1 // SPDX-License-Identifier: GPL-2.0 9 // Inspired from tps65086-regulator.c 31 * Performance, Active, Low-power, Hibernate. 34 * Each regulator has a register for each power mode. To access a register 35 * for a specific regulator and mode BASE_* and OFFSET_* need to be added. 42 * a low-power state while the PMIC is in Active mode. They are supposed to be 43 * configured at startup and then simply transition to/from a global low-power 46 * This driver keeps the PMIC in Active mode, Low-power state is set for the 47 * regulators by enabling/disabling operating mode (FPWM or Auto PFM). 49 * The PMIC's Low-power and Hibernate modes are used during standby/suspend. [all …]
|
| /Linux-v5.15/Documentation/devicetree/bindings/net/dsa/ |
| D | mt7530.txt | 6 - compatible: may be compatible = "mediatek,mt7530" 9 - #address-cells: Must be 1. 10 - #size-cells: Must be 0. 11 - mediatek,mcm: Boolean; if defined, indicates that either MT7530 is the part 12 on multi-chip module belong to MT7623A has or the remotely standalone 17 - core-supply: Phandle to the regulator node necessary for the core power. 18 - io-supply: Phandle to the regulator node necessary for the I/O power. 19 See Documentation/devicetree/bindings/regulator/mt6323-regulator.txt 24 - reset-gpios: Should be a gpio specifier for a reset line. 28 - resets : Phandle pointing to the system reset controller with [all …]
|
| D | qca8k.txt | 5 - compatible: should be one of: 10 - #size-cells: must be 0 11 - #address-cells: must be 1 15 - reset-gpios: GPIO to be used to reset the whole device 21 mdio-bus each subnode describing a port needs to have a valid phandle 24 To declare the internal mdio-bus configuration, declare a mdio node in the 26 PHY is connected to. In this config a internal mdio-bus is registered and 29 Don't use mixed external and internal mdio-bus configurations, as this is 36 - fixed-link : Fixed-link subnode describing a link to a non-MDIO 38 Documentation/devicetree/bindings/net/fixed-link.txt [all …]
|
| /Linux-v5.15/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-2020 Broadcom 37 /* ethtool function - get WOL (Wake on LAN) settings, Only Magic Packet 44 wol->supported = WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER; in bcmgenet_get_wol() 45 wol->wolopts = priv->wolopts; in bcmgenet_get_wol() 46 memset(wol->sopass, 0, sizeof(wol->sopass)); in bcmgenet_get_wol() 48 if (wol->wolopts & WAKE_MAGICSECURE) in bcmgenet_get_wol() 49 memcpy(wol->sopass, priv->sopass, sizeof(priv->sopass)); in bcmgenet_get_wol() 52 /* ethtool function - set WOL (Wake on LAN) settings. [all …]
|
| /Linux-v5.15/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-v5.15/arch/arm/mach-omap1/include/mach/ |
| D | mux.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * arch/arm/plat-omap/include/mach/mux.h 8 * Copyright (C) 2004 - 2008 Texas Instruments Inc. 9 * Copyright (C) 2003 - 2008 Nokia Corporation 15 * - W8 = ball 16 * - 1610 = 1510 or 1610, none if common for both 1510 and 1610 17 * - MMC2_DAT0 = function 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-v5.15/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-v5.15/drivers/net/ethernet/ti/ |
| D | cpsw-phy-sel.c | 1 // SPDX-License-Identifier: GPL-2.0 43 u32 reg; in cpsw_gmii_sel_am3352() local 45 u32 mode = 0; in cpsw_gmii_sel_am3352() local 48 reg = readl(priv->gmii_sel); in cpsw_gmii_sel_am3352() 52 mode = AM33XX_GMII_SEL_MODE_RMII; in cpsw_gmii_sel_am3352() 56 mode = AM33XX_GMII_SEL_MODE_RGMII; in cpsw_gmii_sel_am3352() 62 mode = AM33XX_GMII_SEL_MODE_RGMII; in cpsw_gmii_sel_am3352() 67 dev_warn(priv->dev, in cpsw_gmii_sel_am3352() 68 "Unsupported PHY mode: \"%s\". Defaulting to MII.\n", in cpsw_gmii_sel_am3352() 72 mode = AM33XX_GMII_SEL_MODE_MII; in cpsw_gmii_sel_am3352() [all …]
|
| /Linux-v5.15/drivers/media/platform/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-v5.15/arch/arm64/boot/dts/freescale/ |
| D | imx8mm-venice-gw700x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/net/ti-dp83867.h> 13 reg = <0x0 0x40000000 0 0x80000000>; 16 gpio-keys { 17 compatible = "gpio-keys"; 19 user-pb { 25 user-pb1x { 28 interrupt-parent = <&gsc>; [all …]
|
| /Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/ |
| D | dcn20_dpp_cm.c | 36 #define REG(reg)\ macro 37 dpp->tf_regs->reg 43 dpp->base.ctx 47 dpp->tf_shift->field_name, dpp->tf_mask->field_name 56 //Temp, put CM in bypass mode in dpp2_enable_cm_block() 57 if (dpp_base->ctx->dc->debug.cm_in_bypass) in dpp2_enable_cm_block() 130 dpp2_program_degamma_lut(dpp_base, params->rgb_resulted, params->hw_points_num, !is_ram_a); in dpp2_set_degamma_pwl() 136 enum ipp_degamma_mode mode) in dpp2_set_degamma() argument 141 switch (mode) { in dpp2_set_degamma() 183 /* value stored in dbg reg will be 1 greater than mode we want */ in program_gamut_remap() [all …]
|
| /Linux-v5.15/arch/arc/include/asm/ |
| D | entry-compact.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) 4 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) 8 * if we are NOT in user mode, stack is switched to kernel mode. 10 * it's prologue including stack switching from user mode 13 * -Zero Overhead Loop Context shd be cleared when entering IRQ/EXcp/Trap 20 * -Modified CALLEE_REG save/restore macros to handle the fact that 22 * - Defined Stack Switching Macro to be reused in all intr/excp hdlrs 23 * - Shaved off 11 instructions from RESTORE_ALL_INT1 by using the 32 #include <asm/asm-offsets.h> [all …]
|
| /Linux-v5.15/arch/arm/include/asm/ |
| D | assembler.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 1996-2000 Russell King 10 * Do not include any C declarations in this file - it is included by 21 #include <asm/opcodes-virt.h> 22 #include <asm/asm-offsets.h> 25 #include <asm/uaccess-asm.h> 56 /* Select code for any configuration running in BE8 mode */ 76 * set to write-allocate (this would need further testing on XScale when WA 79 * On Feroceon there is much to gain however, regardless of cache mode. 113 stmdb sp!, {r0-r3, ip, lr} [all …]
|
| /Linux-v5.15/arch/arm/boot/dts/ |
| 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 …]
|
| D | imx6qdl-gw5907.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 21 stdout-path = &uart2; 24 gpio-keys { 25 compatible = "gpio-keys"; 27 user-pb { 33 user-pb1x { 36 interrupt-parent = <&gsc>; [all …]
|
| /Linux-v5.15/drivers/gpu/drm/tilcdc/ |
| D | tilcdc_crtc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/dma-mapping.h> 64 struct drm_device *dev = crtc->dev; in set_scanout() 65 struct tilcdc_drm_private *priv = dev->dev_private; in set_scanout() 72 start = gem->paddr + fb->offsets[0] + in set_scanout() 73 crtc->y * fb->pitches[0] + in set_scanout() 74 crtc->x * fb->format->cpp[0]; in set_scanout() 76 end = start + (crtc->mode.vdisplay * fb->pitches[0]); in set_scanout() 83 if (priv->rev == 1) in set_scanout() 84 end -= 1; in set_scanout() [all …]
|
| /Linux-v5.15/drivers/pinctrl/spear/ |
| D | pinctrl-spear300.c | 16 #include "pinctrl-spear3xx.h" 18 #define DRIVER_NAME "spear300-pinmux" 41 .mode = NAND_MODE, 42 .reg = MODE_CONFIG_REG, 49 .mode = NOR_MODE, 50 .reg = MODE_CONFIG_REG, 56 .name = "photo frame mode", 57 .mode = PHOTO_FRAME_MODE, 58 .reg = MODE_CONFIG_REG, 64 .name = "lend ip phone mode", [all …]
|