/Linux-v6.1/drivers/clk/uniphier/ |
D | clk-uniphier-mux.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include <linux/clk-provider.h> 11 #include "clk-uniphier.h" 16 unsigned int reg; member 17 const unsigned int *masks; member 25 struct uniphier_clk_mux *mux = to_uniphier_clk_mux(hw); in uniphier_clk_mux_set_parent() local 27 return regmap_write_bits(mux->regmap, mux->reg, mux->masks[index], in uniphier_clk_mux_set_parent() 28 mux->vals[index]); in uniphier_clk_mux_set_parent() 33 struct uniphier_clk_mux *mux = to_uniphier_clk_mux(hw); in uniphier_clk_mux_get_parent() local 39 ret = regmap_read(mux->regmap, mux->reg, &val); in uniphier_clk_mux_get_parent() [all …]
|
D | clk-uniphier.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 44 unsigned int reg; member 51 unsigned int reg; member 52 unsigned int masks[UNIPHIER_CLK_MUX_MAX_PARENTS]; member 65 struct uniphier_clk_mux_data mux; member 102 .reg = (_reg), \ 108 UNIPHIER_CLK_FACTOR(parent "/" #div, -1, parent, 1, div)
|
D | clk-uniphier-mio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 #include "clk-uniphier.h" 12 UNIPHIER_CLK_FACTOR("sd-44m", -1, "sd-133m", 1, 3), \ 13 UNIPHIER_CLK_FACTOR("sd-33m", -1, "sd-200m", 1, 6), \ 14 UNIPHIER_CLK_FACTOR("sd-50m", -1, "sd-200m", 1, 4), \ 15 UNIPHIER_CLK_FACTOR("sd-67m", -1, "sd-200m", 1, 3), \ 16 UNIPHIER_CLK_FACTOR("sd-100m", -1, "sd-200m", 1, 2), \ 17 UNIPHIER_CLK_FACTOR("sd-40m", -1, "sd-200m", 1, 5), \ 18 UNIPHIER_CLK_FACTOR("sd-25m", -1, "sd-200m", 1, 8), \ 19 UNIPHIER_CLK_FACTOR("sd-22m", -1, "sd-133m", 1, 6) [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mux/ |
D | reg-mux.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mux/reg-mux.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic register bitfield-based multiplexer controller bindings 10 - Peter Rosin <peda@axentia.se> 19 - reg-mux # parent device of mux controller is not syscon device 20 - mmio-mux # parent device of mux controller is syscon device 22 reg: true 24 '#mux-control-cells': [all …]
|
/Linux-v6.1/drivers/mux/ |
D | mmio.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * MMIO register bitfield-controlled multiplexer driver 12 #include <linux/mux/driver.h> 18 static int mux_mmio_set(struct mux_control *mux, int state) in mux_mmio_set() argument 20 struct regmap_field **fields = mux_chip_priv(mux->chip); in mux_mmio_set() 22 return regmap_field_write(fields[mux_control_get_index(mux)], state); in mux_mmio_set() 30 { .compatible = "mmio-mux", }, 31 { .compatible = "reg-mux", }, 38 struct device *dev = &pdev->dev; in mux_mmio_probe() 39 struct device_node *np = dev->of_node; in mux_mmio_probe() [all …]
|
/Linux-v6.1/sound/ppc/ |
D | awacs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 25 unsigned byteswap; /* Data is little-endian if 1 */ 29 /* Audio Bit Masks */ 32 /* Audio Control Reg Bit Masks */ 33 /* ----- ------- --- --- ----- */ 43 /* Audio Codec Control Reg Bit Masks */ 44 /* ----- ----- ------- --- --- ----- */ 45 #define MASK_NEWECMD (0x1 << 24) /* Lock: don't write to reg when 1 */ 47 #define MASK_EXMODEADDR (0x3ff << 12) /* Extended Mode Address -- 10 bits */ 48 #define MASK_EXMODEDATA (0xfff) /* Extended Mode Data -- 12 bits */ [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/net/ |
D | mdio-mux-multiplexer.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/mdio-mux-multiplexer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrew Lunn <andrew@lunn.ch> 13 This is a special case of MDIO mux when MDIO mux is defined as a consumer 14 of a mux producer device. The mux producer can be of any type like mmio mux 15 producer, gpio mux producer or generic register based mux producer. 19 - $ref: /schemas/net/mdio-mux.yaml# 23 const: mdio-mux-multiplexer [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/arm/npcm/ |
D | nuvoton,gcr.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jonathan Neuschäfer <j.neuschaefer@gmx.net> 11 - Tomer Maimon <tmaimon77@gmail.com> 21 - enum: 22 - nuvoton,wpcm450-gcr 23 - nuvoton,npcm750-gcr 24 - nuvoton,npcm845-gcr 25 - const: syscon [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
D | ti,j721e-system-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com/ 4 --- 5 $id: http://devicetree.org/schemas/mfd/ti,j721e-system-controller.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 represent as any specific type of device. The typical use-case is 15 for some other node's driver, or platform-specific code, to acquire 22 - Kishon Vijay Abraham I <kishon@ti.com> 23 - Roger Quadros <rogerq@kernel.org> 28 - enum: [all …]
|
D | palmas.txt | 3 The TI palmas family current members :- 12 - compatible : Should be from the list 23 - interrupt-controller : palmas has its own internal IRQs 24 - #interrupt-cells : should be set to 2 for IRQ number and flags 26 The second cell is the flags, encoded as the trigger masks from 27 Documentation/devicetree/bindings/interrupt-controller/interrupts.txt 30 ti,mux-padX : set the pad register X (1-2) to the correct muxing for the 37 reg = <0x48> 38 interrupt-parent = <&intc>; 39 interrupt-controller; [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/freescale/ |
D | fsl-lx2160a-qds.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 9 #include "fsl-lx2160a.dtsi" 13 compatible = "fsl,lx2160a-qds", "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>; 30 regulator-max-microvolt = <3300000>; [all …]
|
D | fsl-lx2162a-qds.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 9 #include "fsl-lx2160a.dtsi" 13 compatible = "fsl,lx2162a-qds", "fsl,lx2160a"; 23 stdout-path = "serial0:115200n8"; 26 sb_3v3: regulator-sb3v3 { 27 compatible = "regulator-fixed"; 28 regulator-name = "LTM4619-3.3VSB"; 29 regulator-min-microvolt = <3300000>; 30 regulator-max-microvolt = <3300000>; [all …]
|
D | fsl-ls1028a-qds.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 11 /dts-v1/; 13 #include "fsl-ls1028a.dtsi" 17 compatible = "fsl,ls1028a-qds", "fsl,ls1028a"; 32 stdout-path = "serial0:115200n8"; 37 reg = <0x0 0x80000000 0x1 0x00000000>; 40 sys_mclk: clock-mclk { 41 compatible = "fixed-clock"; 42 #clock-cells = <0>; 43 clock-frequency = <25000000>; [all …]
|
/Linux-v6.1/drivers/hwmon/ |
D | ads7871.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * ads7871 - driver for TI ADS7871 A/D converter 22 #define REG_GAIN_MUX 4 /*Gain/Mux Register*/ 34 /*Instruction Bit masks*/ 40 /*bit masks for Rev/Oscillator Control Register*/ 44 #define MUX_G_BV 4 /*allows for reg = (gain << MUX_G_BV) | ...*/ 47 /*bit masks for Rev/Oscillator Control Register*/ 59 #include <linux/hwmon-sysfs.h> 69 static int ads7871_read_reg8(struct spi_device *spi, int reg) in ads7871_read_reg8() argument 72 reg = reg | INST_READ_BM; in ads7871_read_reg8() [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | nuvoton-npcm730-gbs.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 /dts-v1/; 5 #include "nuvoton-npcm730.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 10 compatible = "quanta,gbs-bmc","nuvoton,npcm730"; 71 stdout-path = &serial0; 75 reg = <0 0x40000000>; 78 gpio-keys { 79 compatible = "gpio-keys"; 80 sas-cable0 { [all …]
|
D | imx6dl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/interrupt-controller/irq.h> 6 #include "imx6dl-pinfunc.h" 15 #address-cells = <1>; 16 #size-cells = <0>; 19 compatible = "arm,cortex-a9"; 21 reg = <0>; 22 next-level-cache = <&L2>; 23 operating-points = < 29 fsl,soc-operating-points = < [all …]
|
D | imx6q.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <dt-bindings/interrupt-controller/irq.h> 6 #include "imx6q-pinfunc.h" 16 #address-cells = <1>; 17 #size-cells = <0>; 20 compatible = "arm,cortex-a9"; 22 reg = <0>; 23 next-level-cache = <&L2>; 24 operating-points = < 32 fsl,soc-operating-points = < [all …]
|
D | nuvoton-npcm730-kudo.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 /dts-v1/; 5 #include "nuvoton-npcm730.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 41 stdout-path = &serial3; 45 reg = <0 0x40000000>; 48 iio-hwmon { 49 compatible = "iio-hwmon"; 50 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, 55 compatible = "nuvoton,npcm750-jtag-master"; [all …]
|
D | nuvoton-npcm750-runbmc-olympus.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 /dts-v1/; 6 #include "nuvoton-npcm750.dtsi" 7 #include "nuvoton-npcm750-runbmc-olympus-pincfg.dtsi" 9 #include <dt-bindings/i2c/i2c.h> 10 #include <dt-bindings/gpio/gpio.h> 43 stdout-path = &serial3; 47 reg = <0 0x40000000>; 50 iio-hwmon { 51 compatible = "iio-hwmon"; [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_mpc.c | 33 #define REG(reg)\ macro 34 mpc30->mpc_regs->reg 37 mpc30->base.ctx 41 mpc30->mpc_shift->field_name, mpc30->mpc_mask->field_name 92 REG_UPDATE_2(MUX[opp_id], in mpc3_set_out_rate_control() 97 REG_UPDATE_2(MUX[opp_id], in mpc3_set_out_rate_control() 98 MPC_OUT_FLOW_CONTROL_MODE, flow_control->flow_ctrl_mode, in mpc3_set_out_rate_control() 99 MPC_OUT_FLOW_CONTROL_COUNT, flow_control->flow_ctrl_cnt1); in mpc3_set_out_rate_control() 155 /* Wait for memory to be powered on - we won't be able to write to it otherwise. */ in mpc3_power_on_ogam_lut() 175 struct dcn3_xfer_func_reg *reg) in mpc3_ogam_get_reg_field() argument [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/display/dc/gpio/ |
D | hw_generic.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 40 generic->shifts->field_name, generic->masks->field_name 43 generic->base.base.ctx 44 #define REG(reg)\ macro 45 (generic->regs->reg) 52 dal_hw_gpio_destruct(&pin->base); in dal_hw_generic_destruct() 76 REG_UPDATE_2(mux, in set_config() 77 GENERIC_EN, config_data->config.generic_mux.enable_output_from_mux, in set_config() 78 GENERIC_SEL, config_data->config.generic_mux.mux_select); in set_config() 99 dal_hw_gpio_construct(&pin->base, id, en, ctx); in dal_hw_generic_construct() [all …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | cs35l36.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // cs35l36.c -- CS35L36 ALSA SoC audio driver 27 #include <sound/soc-dapm.h> 247 static bool cs35l36_readable_reg(struct device *dev, unsigned int reg) in cs35l36_readable_reg() argument 249 switch (reg) { in cs35l36_readable_reg() 389 if (reg >= CS35L36_PAC_PMEM_WORD0 && in cs35l36_readable_reg() 390 reg <= CS35L36_PAC_PMEM_WORD1023) in cs35l36_readable_reg() 397 static bool cs35l36_precious_reg(struct device *dev, unsigned int reg) in cs35l36_precious_reg() argument 399 switch (reg) { in cs35l36_precious_reg() 409 static bool cs35l36_volatile_reg(struct device *dev, unsigned int reg) in cs35l36_volatile_reg() argument [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/microchip/ |
D | sparx5.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 8 #include <dt-bindings/clock/microchip,sparx5.h> 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <1>; 23 stdout-path = "serial0:115200n8"; 27 #address-cells = <2>; 28 #size-cells = <0>; [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/ti/ |
D | k3-j7200-mcu-wakeup.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ 9 dmsc: system-controller@44083000 { 10 compatible = "ti,k2g-sci"; 11 ti,host-id = <12>; 13 mbox-names = "rx", "tx"; 18 reg-names = "debug_messages"; 19 reg = <0x00 0x44083000 0x00 0x1000>; 21 k3_pds: power-controller { 22 compatible = "ti,sci-pm-domain"; [all …]
|
D | k3-j7200-main.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ 9 serdes_refclk: serdes-refclk { 10 #clock-cells = <0>; 11 compatible = "fixed-clock"; 17 compatible = "mmio-sram"; 18 reg = <0x00 0x70000000 0x00 0x100000>; 19 #address-cells = <1>; 20 #size-cells = <1>; 23 atf-sram@0 { [all …]
|