Home
last modified time | relevance | path

Searched +full:mode +full:- +full:reg (Results 1 – 25 of 1149) sorted by relevance

12345678910>>...46

/kernel/linux/linux-6.6/arch/arm64/boot/dts/microchip/
Dsparx5_pcb135_board.dtsi1 // 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 …]
/kernel/linux/linux-6.6/drivers/interconnect/imx/
Dimx8mp.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/platform/x86/
Dmlx-platform.c1 // 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 …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/dsa/
Dmscc,ocelot.yaml1 # 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 …]
Dmicrochip,lan937x.yaml1 # 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 …]
/kernel/linux/linux-6.6/arch/arm/mach-omap1/
Dmux.h1 /* 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 …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/
Dfsl-lx2160a-bluebox3.dts1 // 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/dac/
Dad5592r.txt4 - compatible: Must be "adi,ad5592r"
5 - reg: SPI chip select number for the device
6 - spi-max-frequency: Max SPI frequency to use (< 30000000)
7 - spi-cpol: The AD5592R requires inverse clock polarity (CPOL) mode
10 - compatible: Must be "adi,ad5593r"
11 - reg: I2C address of the device
14 - #address-cells: Should be 1.
15 - #size-cells: Should be 0.
16 - channel nodes:
19 * reg: Pin on which this channel is connected to.
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/iio/dac/
Dadi,ad5592r.yaml1 # 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 …]
/kernel/linux/linux-5.10/drivers/regulator/
Dmcp16502.c1 // 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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/microchip/
Dlan966x-pcb8290.dts1 // 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 …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dmlx-platform.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/iio/adc/
Dhi8435.c1 // 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, &reg, 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 …]
/kernel/linux/linux-5.10/drivers/iio/adc/
Dhi8435.c1 // 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, &reg, 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 …]
/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-xenon-phy.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/regulator/
Dmcp16502.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/
Dport.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (c) 2016-2017 Savoir-faire Linux Inc.
20 int mv88e6xxx_port_read(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_read() argument
23 int addr = chip->info->port_base_addr + port; in mv88e6xxx_port_read()
25 return mv88e6xxx_read(chip, addr, reg, val); in mv88e6xxx_port_read()
28 int mv88e6xxx_port_write(struct mv88e6xxx_chip *chip, int port, int reg, in mv88e6xxx_port_write() argument
31 int addr = chip->info->port_base_addr + port; in mv88e6xxx_port_write()
33 return mv88e6xxx_write(chip, addr, reg, val); in mv88e6xxx_port_write()
44 u16 reg; in mv88e6185_port_set_pause() local
47 err = mv88e6xxx_port_read(chip, port, MV88E6XXX_PORT_STS, &reg); in mv88e6185_port_set_pause()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/dsa/
Dmt7530.txt6 - 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 …]
/kernel/linux/linux-6.6/drivers/staging/ks7010/
Dks_wlan_net.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2005-2008 KeyStream Corp.
38 #define MIN_KEY_SIZE 5 /* 40 bits RC4 - WEP */
41 u8 key[16]; /* 40-bit and 104-bit keys */
62 struct iw_statistics *wstats = &priv->wstats; in ks_wlan_update_phy_information()
64 netdev_dbg(priv->net_dev, "in_interrupt = %ld\n", in_interrupt()); in ks_wlan_update_phy_information()
66 if (priv->dev_state < DEVICE_STATE_READY) in ks_wlan_update_phy_information()
67 return -EBUSY; /* not finished initialize */ in ks_wlan_update_phy_information()
70 return -EPERM; in ks_wlan_update_phy_information()
73 wstats->status = priv->reg.operation_mode; /* Operation mode */ in ks_wlan_update_phy_information()
[all …]
/kernel/linux/linux-6.6/drivers/net/dsa/mv88e6xxx/
Dport.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/genet/
Dbcmgenet_wol.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Broadcom GENET (Gigabit Ethernet) Wake-on-LAN support
5 * Copyright (c) 2014-2020 Broadcom
38 /* ethtool function - get WOL (Wake on LAN) settings, Only Magic Packet
44 struct device *kdev = &priv->pdev->dev; in bcmgenet_get_wol()
47 wol->supported = 0; in bcmgenet_get_wol()
48 wol->wolopts = 0; in bcmgenet_get_wol()
52 wol->supported = WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER; in bcmgenet_get_wol()
53 wol->wolopts = priv->wolopts; in bcmgenet_get_wol()
54 memset(wol->sopass, 0, sizeof(wol->sopass)); in bcmgenet_get_wol()
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap1/include/mach/
Dmux.h1 /* 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_de.c1 // SPDX-License-Identifier: GPL-2.0-or-later
55 #define PADDING(align, data) (((data) + (align) - 1) & (~((align) - 1)))
60 struct drm_framebuffer *fb = state->fb; in hibmc_plane_atomic_check()
61 struct drm_crtc *crtc = state->crtc; in hibmc_plane_atomic_check()
63 u32 src_w = state->src_w >> 16; in hibmc_plane_atomic_check()
64 u32 src_h = state->src_h >> 16; in hibmc_plane_atomic_check()
69 crtc_state = drm_atomic_get_crtc_state(state->state, crtc); in hibmc_plane_atomic_check()
73 if (src_w != state->crtc_w || src_h != 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()
[all …]
/kernel/linux/linux-6.6/drivers/mmc/host/
Dsdhci-xenon-phy.c1 // 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 …]
/kernel/linux/linux-6.6/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_de.c1 // 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 …]

12345678910>>...46