Home
last modified time | relevance | path

Searched +full:reg +full:- +full:names (Results 5601 – 5625 of 6027) sorted by relevance

1...<<221222223224225226227228229230>>...242

/linux-6.15/drivers/media/platform/mediatek/vcodec/decoder/
Dmtk_vcodec_dec_drv.c1 // SPDX-License-Identifier: GPL-2.0
19 #include <media/v4l2-event.h>
20 #include <media/v4l2-mem2mem.h>
21 #include <media/videobuf2-dma-contig.h>
22 #include <media/v4l2-device.h>
31 switch (dev->vdec_pdata->hw_arch) { in mtk_vcodec_get_hw_count()
37 mtk_v4l2_vdec_err(ctx, "hw arch %d not supported", dev->vdec_pdata->hw_arch); in mtk_vcodec_get_hw_count()
46 if (dev->vdecsys_regmap) in mtk_vcodec_is_hw_active()
47 return !regmap_test_bits(dev->vdecsys_regmap, VDEC_HW_ACTIVE_ADDR, in mtk_vcodec_is_hw_active()
50 cg_status = readl(dev->reg_base[VDEC_SYS] + VDEC_HW_ACTIVE_ADDR); in mtk_vcodec_is_hw_active()
[all …]
/linux-6.15/drivers/phy/qualcomm/
Dphy-qcom-qmp-pcie-msm8996.c1 // SPDX-License-Identifier: GPL-2.0
7 #include <linux/clk-provider.h>
22 #include "phy-qcom-qmp-common.h"
24 #include "phy-qcom-qmp.h"
36 /* set of registers with offsets different per-PHY */
139 /* struct qmp_phy_cfg - per-PHY initialization config */
144 /* Init sequence for PHY blocks - serdes, tx, rx, pcs */
169 * struct qmp_phy - per-lane phy descriptor
196 * struct qcom_qmp - structure holding QMP phy block attributes
204 * @phys: array of per-lane phy descriptors
[all …]
/linux-6.15/drivers/pinctrl/sunplus/
Dsppctl.c1 // SPDX-License-Identifier: GPL-2.0
21 #include <linux/pinctrl/pinconf-generic.h>
24 #include <dt-bindings/pinctrl/sppctl-sp7021.h>
27 #include "../pinctrl-utils.h"
41 return readl(spp_gchip->first_base + SPPCTL_GPIO_OFF_FIRST + off); in sppctl_first_readl()
46 writel(val, spp_gchip->first_base + SPPCTL_GPIO_OFF_FIRST + off); in sppctl_first_writel()
51 return readl(spp_gchip->gpioxt_base + SPPCTL_GPIO_OFF_MASTER + off); in sppctl_gpio_master_readl()
57 writel(val, spp_gchip->gpioxt_base + SPPCTL_GPIO_OFF_MASTER + off); in sppctl_gpio_master_writel()
62 return readl(spp_gchip->gpioxt_base + SPPCTL_GPIO_OFF_OE + off); in sppctl_gpio_oe_readl()
67 writel(val, spp_gchip->gpioxt_base + SPPCTL_GPIO_OFF_OE + off); in sppctl_gpio_oe_writel()
[all …]
/linux-6.15/Documentation/devicetree/bindings/regulator/
Drohm,bd71847-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/regulator/rohm,bd71847-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Matti Vaittinen <mazziesaccount@gmail.com>
15 Documentation/devicetree/bindings/mfd/rohm,bd71847-pmic.yaml
21 regulator-boot-on at least for BUCK5. LDO6 is supplied by it and it must
25 # The valid names for BD71847 regulator nodes are:
30 "^LDO[1-6]$":
37 regulator-name:
[all …]
/linux-6.15/Documentation/devicetree/bindings/pinctrl/
Dimg,pistachio-pinctrl.txt8 each. The GPIO banks are represented as sub-nodes of the pad controller node.
10 Please refer to pinctrl-bindings.txt, ../gpio/gpio.txt, and
11 ../interrupt-controller/interrupts.txt for generic information regarding
15 --------------------------------------------
16 - compatible: "img,pistachio-system-pinctrl".
17 - reg: Address range of the pinctrl registers.
19 Required properties for GPIO bank sub-nodes:
20 --------------------------------------------
21 - interrupts: Interrupt line for the GPIO bank.
22 - gpio-controller: Indicates the device is a GPIO controller.
[all …]
/linux-6.15/arch/arm/boot/dts/nvidia/
Dtegra124-apalis-v1.2-eval.dts1 // SPDX-License-Identifier: GPL-2.0 OR MIT
3 * Copyright 2016-2018 Toradex AG
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
9 #include "tegra124-apalis-v1.2.dtsi"
13 compatible = "toradex,apalis-tk1-v1.2-eval", "toradex,apalis-tk1-eval",
14 "toradex,apalis-tk1-v1.2", "toradex,apalis-tk1",
28 stdout-path = "serial0:115200n8";
40 hdmi-supply = <&reg_5v0>;
46 pex-perst-n-hog {
[all …]
Dtegra124-apalis-eval.dts1 // SPDX-License-Identifier: GPL-2.0 OR X11
3 * Copyright 2016-2019 Toradex AG
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
9 #include "tegra124-apalis.dtsi"
13 compatible = "toradex,apalis-tk1-eval", "toradex,apalis-tk1",
27 stdout-path = "serial0:115200n8";
39 hdmi-supply = <&reg_5v0>;
45 pex-perst-n-hog {
46 gpio-hog;
[all …]
/linux-6.15/drivers/soc/fsl/qbman/
Dbman_portal.c1 /* Copyright 2008 - 2016 Freescale Semiconductor, Inc.
11 * names of its contributors may be used to endorse or promote products
44 dev_crit(pcfg->dev, "%s: Portal failure on cpu %d\n", in init_pcfg()
45 __func__, pcfg->cpu); in init_pcfg()
50 affine_bportals[pcfg->cpu] = p; in init_pcfg()
52 dev_info(pcfg->dev, "Portal initialised, cpu %d\n", pcfg->cpu); in init_pcfg()
71 irq_set_affinity(pcfg->irq, cpumask_of(cpu)); in bman_offline_cpu()
87 irq_set_affinity(pcfg->irq, cpumask_of(cpu)); in bman_online_cpu()
99 struct device *dev = &pdev->dev; in bman_portal_probe()
100 struct device_node *node = dev->of_node; in bman_portal_probe()
[all …]
/linux-6.15/arch/sparc/kernel/
Dpci.c1 // SPDX-License-Identifier: GPL-2.0
42 volatile int pci_poke_cpu = -1;
63 pci_poke_cpu = -1; in pci_config_read8()
85 pci_poke_cpu = -1; in pci_config_read16()
107 pci_poke_cpu = -1; in pci_config_read32()
128 pci_poke_cpu = -1; in pci_config_write8()
147 pci_poke_cpu = -1; in pci_config_write16()
166 pci_poke_cpu = -1; in pci_config_write32()
202 /* The of_device layer has translated all of the assigned-address properties
214 addrs = of_get_property(node, "assigned-addresses", &proplen); in pci_parse_of_addrs()
[all …]
/linux-6.15/arch/arm64/boot/dts/amlogic/
Dmeson-g12b-gsking-x.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "meson-g12b-w400.dtsi"
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
15 compatible = "azw,gsking-x", "amlogic,s922x", "amlogic,g12b";
16 model = "Beelink GS-King X";
23 gpio_fan: gpio-fan {
24 compatible = "gpio-fan";
27 gpio-fan,speed-map = <0 0>, <1 1>;
[all …]
/linux-6.15/arch/arm64/boot/dts/allwinner/
Dsun50i-h618-longanpi-3h.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "sun50i-h618-longan-module-3h.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
12 #include <dt-bindings/leds/common.h>
16 compatible = "sipeed,longan-pi-3h", "sipeed,longan-module-3h", "allwinner,sun50i-h618";
24 stdout-path = "serial0:115200n8";
28 compatible = "gpio-leds";
30 led-0 {
[all …]
/linux-6.15/arch/mips/include/asm/
Dregdef.h8 * Copyright (C) 1990 - 1992, 1999 Silicon Graphics, Inc.
10 * written by Ralf Baechle <ralf@linux-mips.org>
67 #define GPR_V0 2 /* return value - caller saved */
73 #define GPR_A4 8 /* arg reg 64 bit; caller saved in 32 bit */
98 #define GPR_GP 28 /* global pointer - caller saved for PIC */
110 * Symbolic register names for 32 bit ABI
113 #define AT $1 /* assembler temp - uppercase because of ".set at" */
156 #define AT $at /* assembler temp - uppercase because of ".set at" */
157 #define v0 $2 /* return value - caller saved */
163 #define a4 $8 /* arg reg 64 bit; caller saved in 32 bit */
[all …]
/linux-6.15/drivers/phy/ti/
Dphy-tusb1210.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * tusb1210.c - TUSB1210 USB ULPI PHY driver
75 static int tusb1210_ulpi_write(struct tusb1210 *tusb, u8 reg, u8 val) in tusb1210_ulpi_write() argument
77 struct device *dev = tusb->dev; in tusb1210_ulpi_write()
80 ret = ulpi_write(to_ulpi_dev(dev), reg, val); in tusb1210_ulpi_write()
82 dev_err(dev, "error %d writing val 0x%02x to reg 0x%02x\n", ret, val, reg); in tusb1210_ulpi_write()
87 static int tusb1210_ulpi_read(struct tusb1210 *tusb, u8 reg, u8 *val) in tusb1210_ulpi_read() argument
89 struct device *dev = tusb->dev; in tusb1210_ulpi_read()
92 ret = ulpi_read(to_ulpi_dev(dev), reg); in tusb1210_ulpi_read()
97 dev_err(dev, "error %d reading reg 0x%02x\n", ret, reg); in tusb1210_ulpi_read()
[all …]
/linux-6.15/drivers/input/touchscreen/
Dchipone_icn8505.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (c) 2015-2018 Red Hat Inc.
96 buf[i] = (reg_addr >> (reg_addr_width - (i + 1) * 8)) & 0xff; in icn8505_read_xfer()
98 ret = i2c_transfer(client->adapter, msg, 2); in icn8505_read_xfer()
101 ret = -EIO; in icn8505_read_xfer()
103 dev_err(&client->dev, in icn8505_read_xfer()
104 "Error reading addr %#x reg %#x: %d\n", in icn8505_read_xfer()
116 u8 buf[3 + 32]; /* 3 bytes for 24 bit reg-addr + 32 bytes max len */ in icn8505_write_xfer()
125 return -EINVAL; in icn8505_write_xfer()
128 buf[i] = (reg_addr >> (reg_addr_width - (i + 1) * 8)) & 0xff; in icn8505_write_xfer()
[all …]
/linux-6.15/drivers/clk/
Dclk-si570.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (C) 2011 - 2021 Xilinx Inc.
14 #include <linux/clk-provider.h>
90 * si570_get_divs() - Read clock dividers from HW
103 u8 reg[6]; in si570_get_divs() local
106 err = regmap_bulk_read(data->regmap, SI570_REG_HS_N1 + data->div_offset, in si570_get_divs()
107 reg, ARRAY_SIZE(reg)); in si570_get_divs()
111 *hs_div = ((reg[0] & HS_DIV_MASK) >> HS_DIV_SHIFT) + HS_DIV_OFFSET; in si570_get_divs()
112 *n1 = ((reg[0] & N1_6_2_MASK) << 2) + ((reg[1] & N1_1_0_MASK) >> 6) + 1; in si570_get_divs()
117 tmp = reg[1] & RFREQ_37_32_MASK; in si570_get_divs()
[all …]
/linux-6.15/drivers/of/
Ddevice.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/dma-direct.h> /* for bus_dma_region */
9 #include <linux/dma-map-ops.h>
19 * of_match_device - Tell if a struct device matches an of_device_id list
29 if (!matches || !dev->of_node || dev->of_node_reused) in of_match_device()
31 return of_match_node(matches, dev->of_node); in of_match_device()
38 struct device_node *node, *of_node = dev->of_node; in of_dma_set_restricted_buffer()
44 count = of_property_count_elems_of_size(of_node, "memory-region", in of_dma_set_restricted_buffer()
47 * If dev->of_node doesn't exist or doesn't contain memory-region, try in of_dma_set_restricted_buffer()
53 of_node, "memory-region", sizeof(u32)); in of_dma_set_restricted_buffer()
[all …]
/linux-6.15/arch/powerpc/boot/dts/fsl/
Dp5020si-post.dtsi4 * Copyright 2011 - 2015 Freescale Semiconductor Inc.
14 * names of its contributors may be used to endorse or promote products
36 compatible = "fsl,bman-fbpr";
37 alloc-ranges = <0 0 0x10000 0>;
41 compatible = "fsl,qman-fqd";
42 alloc-ranges = <0 0 0x10000 0>;
46 compatible = "fsl,qman-pfdr";
47 alloc-ranges = <0 0 0x10000 0>;
51 compatible = "fsl,p5020-elbc", "fsl,elbc", "simple-bus";
53 #address-cells = <2>;
[all …]
Dp3041si-post.dtsi4 * Copyright 2011 - 2015 Freescale Semiconductor Inc.
14 * names of its contributors may be used to endorse or promote products
36 compatible = "fsl,bman-fbpr";
37 alloc-ranges = <0 0 0x10 0>;
41 compatible = "fsl,qman-fqd";
42 alloc-ranges = <0 0 0x10 0>;
46 compatible = "fsl,qman-pfdr";
47 alloc-ranges = <0 0 0x10 0>;
51 compatible = "fsl,p3041-elbc", "fsl,elbc", "simple-bus";
53 #address-cells = <2>;
[all …]
Dp2041si-post.dtsi4 * Copyright 2011 - 2015 Freescale Semiconductor Inc.
14 * names of its contributors may be used to endorse or promote products
36 compatible = "fsl,bman-fbpr";
37 alloc-ranges = <0 0 0x10 0>;
41 compatible = "fsl,qman-fqd";
42 alloc-ranges = <0 0 0x10 0>;
46 compatible = "fsl,qman-pfdr";
47 alloc-ranges = <0 0 0x10 0>;
51 compatible = "fsl,p2041-elbc", "fsl,elbc", "simple-bus";
53 #address-cells = <2>;
[all …]
Dp5040si-post.dtsi4 * Copyright 2012 - 2015 Freescale Semiconductor Inc.
14 * names of its contributors may be used to endorse or promote products
36 compatible = "fsl,bman-fbpr";
37 alloc-ranges = <0 0 0x10000 0>;
41 compatible = "fsl,qman-fqd";
42 alloc-ranges = <0 0 0x10000 0>;
46 compatible = "fsl,qman-pfdr";
47 alloc-ranges = <0 0 0x10000 0>;
51 compatible = "fsl,p5040-elbc", "fsl,elbc", "simple-bus";
53 #address-cells = <2>;
[all …]
Dt4240qds.dts4 * Copyright 2012 - 2015 Freescale Semiconductor Inc.
14 * names of its contributors may be used to endorse or promote products
35 /include/ "t4240si-pre.dtsi"
40 #address-cells = <2>;
41 #size-cells = <2>;
42 interrupt-parent = <&mpic>;
83 reg = <0xf 0xfe124000 0 0x2000>;
89 #address-cells = <1>;
90 #size-cells = <1>;
91 compatible = "cfi-flash";
[all …]
/linux-6.15/drivers/pinctrl/
Dpinctrl-rockchip.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2020-2024 Rockchip Electronics Co., Ltd.
8 * With some ideas taken from pinctrl-samsung:
14 * and pinctrl-at91:
15 * Copyright (C) 2011-2012 Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
245 * @offset: if initialized to -1 it will be autocalculated, by specifying
278 * @offset: if initialized to -1 it will be autocalculated, by specifying
354 * @reg: register offset.
360 u32 reg; member
406 int *reg, u8 *bit);
[all …]
/linux-6.15/Documentation/devicetree/bindings/mfd/
Dmaxim,max8998.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
15 sub-blocks. It is interfaced using an I2C interface. Each sub-block is
21 - maxim,max8998
22 - national,lp3974
23 - ti,lp3974
25 reg:
31 - description: Main interrupt
[all …]
/linux-6.15/arch/arm/boot/dts/aspeed/
Daspeed-bmc-facebook-cmm.dts1 // SPDX-License-Identifier: GPL-2.0+
3 /dts-v1/;
5 #include "ast2500-facebook-netbmc-common.dtsi"
9 compatible = "facebook,cmm-bmc", "aspeed,ast2500";
22 * PCA9548 (1-0077) provides 8 channels for connecting to
35 * PCA9548 (2-0071) provides 8 channels for connecting to
48 * PCA9548 (8-0077) provides 8 channels and the first 4
61 * 2 PCA9548 (18-0070 & 18-0073), 16 channels connecting
82 * 2 PCA9548 (19-0070 & 19-0073), 16 channels connecting
103 * 2 PCA9548 (20-0070 & 20-0073), 16 channels connecting
[all …]
/linux-6.15/arch/arm/boot/dts/allwinner/
Dsunxi-libretech-all-h3-it.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 // Copyright (C) 2019 Chen-Yu Tsai <wens@csie.org>
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
14 stdout-path = "serial0:115200n8";
18 compatible = "hdmi-connector";
23 remote-endpoint = <&hdmi_out_con>;
29 compatible = "gpio-leds";
38 compatible = "regulator-fixed";
39 regulator-name = "vcc3v3";
[all …]

1...<<221222223224225226227228229230>>...242