Home
last modified time | relevance | path

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

12345678910>>...42

/kernel/linux/linux-5.10/drivers/clk/imx/
Dclk.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 #include <linux/clk-provider.h>
70 #define clk_register_gate2(dev, name, parent_name, flags, reg, bit_idx, \ argument
72 to_clk(clk_hw_register_gate2(dev, name, parent_name, flags, reg, bit_idx, \
78 #define imx_clk_pfd(name, parent_name, reg, idx) \ argument
79 to_clk(imx_clk_hw_pfd(name, parent_name, reg, idx))
81 #define imx_clk_gate_exclusive(name, parent, reg, shift, exclusive_mask) \ argument
82 to_clk(imx_clk_hw_gate_exclusive(name, parent, reg, shift, exclusive_mask))
90 #define imx_clk_divider(name, parent, reg, shift, width) \ argument
91 to_clk(imx_clk_hw_divider(name, parent, reg, shift, width))
[all …]
/kernel/linux/linux-4.19/drivers/clk/imx/
Dclk.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <linux/clk-provider.h>
47 void __iomem *reg, u8 bit_idx, u8 cgr_val,
55 void __iomem *reg, u8 shift, u32 exclusive_mask);
58 void __iomem *reg, u8 idx);
61 void __iomem *reg, u8 shift, u8 width,
64 struct clk *imx_clk_busy_mux(const char *name, void __iomem *reg, u8 shift,
69 void __iomem *reg, u8 shift, u8 width,
72 struct clk *imx_clk_fixup_mux(const char *name, void __iomem *reg,
73 u8 shift, u8 width, const char * const *parents,
[all …]
/kernel/linux/linux-5.10/drivers/memory/tegra/
Dtegra30.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <dt-bindings/memory/tegra30-mc.h>
44 .reg = 0x228,
48 .reg = 0x2e8,
49 .shift = 0,
58 .reg = 0x228,
62 .reg = 0x2f4,
63 .shift = 0,
72 .reg = 0x228,
76 .reg = 0x2e8,
[all …]
Dtegra114.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <dt-bindings/memory/tegra114-mc.h>
23 .reg = 0x228,
27 .reg = 0x2e8,
28 .shift = 0,
37 .reg = 0x228,
41 .reg = 0x2f4,
42 .shift = 0,
51 .reg = 0x228,
55 .reg = 0x2e8,
[all …]
Dtegra210.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <dt-bindings/memory/tegra210-mc.h>
20 .reg = 0x228,
24 .reg = 0x2e8,
25 .shift = 0,
34 .reg = 0x228,
38 .reg = 0x2f4,
39 .shift = 0,
48 .reg = 0x228,
52 .reg = 0x2e8,
[all …]
Dtegra124.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <dt-bindings/memory/tegra124-mc.h>
23 .reg = 0x228,
27 .reg = 0x2e8,
28 .shift = 0,
37 .reg = 0x228,
41 .reg = 0x2f4,
42 .shift = 0,
51 .reg = 0x228,
55 .reg = 0x2e8,
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Domap24xx-clocks.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
9 #clock-cells = <0>;
10 compatible = "ti,composite-mux-clock";
12 ti,bit-shift = <2>;
13 reg = <0x4>;
17 #clock-cells = <0>;
18 compatible = "ti,composite-clock";
23 #clock-cells = <0>;
24 compatible = "ti,composite-mux-clock";
26 ti,bit-shift = <6>;
[all …]
Domap3xxx-clocks.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
9 #clock-cells = <0>;
10 compatible = "fixed-clock";
11 clock-frequency = <16800000>;
15 #clock-cells = <0>;
16 compatible = "ti,mux-clock";
18 reg = <0x0d40>;
22 #clock-cells = <0>;
23 compatible = "ti,divider-clock";
25 ti,bit-shift = <6>;
[all …]
Domap2430-clocks.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
10 #clock-cells = <0>;
11 compatible = "ti,composite-mux-clock";
13 reg = <0x78>;
17 #clock-cells = <0>;
18 compatible = "ti,composite-clock";
23 #clock-cells = <0>;
24 compatible = "ti,composite-mux-clock";
26 ti,bit-shift = <2>;
27 reg = <0x78>;
[all …]
Domap34xx-omap36xx-clocks.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
9 #clock-cells = <0>;
10 compatible = "fixed-factor-clock";
12 clock-mult = <1>;
13 clock-div = <1>;
17 #clock-cells = <0>;
18 compatible = "ti,omap3-interface-clock";
20 ti,bit-shift = <3>;
21 reg = <0x0a14>;
25 #clock-cells = <0>;
[all …]
Domap44xx-clocks.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
9 #clock-cells = <0>;
10 compatible = "fixed-clock";
11 clock-frequency = <59000000>;
15 #clock-cells = <0>;
16 compatible = "fixed-clock";
17 clock-frequency = <12000000>;
21 #clock-cells = <0>;
22 compatible = "ti,gate-clock";
24 ti,bit-shift = <8>;
[all …]
/kernel/linux/linux-4.19/arch/arm/boot/dts/
Domap24xx-clocks.dtsi12 #clock-cells = <0>;
13 compatible = "ti,composite-mux-clock";
15 ti,bit-shift = <2>;
16 reg = <0x4>;
20 #clock-cells = <0>;
21 compatible = "ti,composite-clock";
26 #clock-cells = <0>;
27 compatible = "ti,composite-mux-clock";
29 ti,bit-shift = <6>;
30 reg = <0x4>;
[all …]
Domap3xxx-clocks.dtsi12 #clock-cells = <0>;
13 compatible = "fixed-clock";
14 clock-frequency = <16800000>;
18 #clock-cells = <0>;
19 compatible = "ti,mux-clock";
21 reg = <0x0d40>;
25 #clock-cells = <0>;
26 compatible = "ti,divider-clock";
28 ti,bit-shift = <6>;
29 ti,max-div = <3>;
[all …]
Domap2430-clocks.dtsi13 #clock-cells = <0>;
14 compatible = "ti,composite-mux-clock";
16 reg = <0x78>;
20 #clock-cells = <0>;
21 compatible = "ti,composite-clock";
26 #clock-cells = <0>;
27 compatible = "ti,composite-mux-clock";
29 ti,bit-shift = <2>;
30 reg = <0x78>;
34 #clock-cells = <0>;
[all …]
Domap34xx-omap36xx-clocks.dtsi12 #clock-cells = <0>;
13 compatible = "fixed-factor-clock";
15 clock-mult = <1>;
16 clock-div = <1>;
20 #clock-cells = <0>;
21 compatible = "ti,omap3-interface-clock";
23 ti,bit-shift = <3>;
24 reg = <0x0a14>;
28 #clock-cells = <0>;
29 compatible = "ti,omap3-interface-clock";
[all …]
Domap44xx-clocks.dtsi12 #clock-cells = <0>;
13 compatible = "fixed-clock";
14 clock-frequency = <59000000>;
18 #clock-cells = <0>;
19 compatible = "fixed-clock";
20 clock-frequency = <12000000>;
24 #clock-cells = <0>;
25 compatible = "ti,gate-clock";
27 ti,bit-shift = <8>;
28 reg = <0x0108>;
[all …]
/kernel/linux/linux-4.19/drivers/memory/tegra/
Dtegra210.c9 #include <dt-bindings/memory/tegra210-mc.h>
23 .reg = 0x228,
27 .reg = 0x2e8,
28 .shift = 0,
37 .reg = 0x228,
41 .reg = 0x2f4,
42 .shift = 0,
51 .reg = 0x228,
55 .reg = 0x2e8,
56 .shift = 16,
[all …]
Dtegra30.c12 #include <dt-bindings/memory/tegra30-mc.h>
26 .reg = 0x228,
30 .reg = 0x2e8,
31 .shift = 0,
40 .reg = 0x228,
44 .reg = 0x2f4,
45 .shift = 0,
54 .reg = 0x228,
58 .reg = 0x2e8,
59 .shift = 16,
[all …]
Dtegra114.c12 #include <dt-bindings/memory/tegra114-mc.h>
26 .reg = 0x228,
30 .reg = 0x2e8,
31 .shift = 0,
40 .reg = 0x228,
44 .reg = 0x2f4,
45 .shift = 0,
54 .reg = 0x228,
58 .reg = 0x2e8,
59 .shift = 16,
[all …]
Dtegra124.c12 #include <dt-bindings/memory/tegra124-mc.h>
68 .reg = 0x228,
72 .reg = 0x2e8,
73 .shift = 0,
82 .reg = 0x228,
86 .reg = 0x2f4,
87 .shift = 0,
96 .reg = 0x228,
100 .reg = 0x2e8,
101 .shift = 16,
[all …]
/kernel/linux/linux-5.10/drivers/bus/
Dda8xx-mstpri.c1 // SPDX-License-Identifier: GPL-2.0-only
24 * some changes (as is the case for the LCD controller on da850-lcdk - the
54 int reg; member
55 int shift; member
61 .reg = DA8XX_MSTPRI0_OFFSET,
62 .shift = 0,
66 .reg = DA8XX_MSTPRI0_OFFSET,
67 .shift = 4,
71 .reg = DA8XX_MSTPRI0_OFFSET,
72 .shift = 16,
[all …]
/kernel/linux/linux-4.19/drivers/bus/
Dda8xx-mstpri.c27 * some changes (as is the case for the LCD controller on da850-lcdk - the
57 int reg; member
58 int shift; member
64 .reg = DA8XX_MSTPRI0_OFFSET,
65 .shift = 0,
69 .reg = DA8XX_MSTPRI0_OFFSET,
70 .shift = 4,
74 .reg = DA8XX_MSTPRI0_OFFSET,
75 .shift = 16,
79 .reg = DA8XX_MSTPRI0_OFFSET,
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dvp.h1 /* SPDX-License-Identifier: GPL-2.0-only */
26 * struct omap_vp_ops - per-VP operations
36 * struct omap_vp_common - register data common to all VDDs
37 * @vpconfig_erroroffset_mask: ERROROFFSET bitmask in the PRM_VP*_CONFIG reg
38 * @vpconfig_errorgain_mask: ERRORGAIN bitmask in the PRM_VP*_CONFIG reg
39 * @vpconfig_initvoltage_mask: INITVOLTAGE bitmask in the PRM_VP*_CONFIG reg
40 * @vpconfig_timeouten: TIMEOUT bitmask in the PRM_VP*_CONFIG reg
41 * @vpconfig_initvdd: INITVDD bitmask in the PRM_VP*_CONFIG reg
42 * @vpconfig_forceupdate: FORCEUPDATE bitmask in the PRM_VP*_CONFIG reg
43 * @vpconfig_vpenable: VPENABLE bitmask in the PRM_VP*_CONFIG reg
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-omap2/
Dvp.h29 * struct omap_vp_ops - per-VP operations
39 * struct omap_vp_common - register data common to all VDDs
40 * @vpconfig_erroroffset_mask: ERROROFFSET bitmask in the PRM_VP*_CONFIG reg
41 * @vpconfig_errorgain_mask: ERRORGAIN bitmask in the PRM_VP*_CONFIG reg
42 * @vpconfig_initvoltage_mask: INITVOLTAGE bitmask in the PRM_VP*_CONFIG reg
43 * @vpconfig_timeouten: TIMEOUT bitmask in the PRM_VP*_CONFIG reg
44 * @vpconfig_initvdd: INITVDD bitmask in the PRM_VP*_CONFIG reg
45 * @vpconfig_forceupdate: FORCEUPDATE bitmask in the PRM_VP*_CONFIG reg
46 * @vpconfig_vpenable: VPENABLE bitmask in the PRM_VP*_CONFIG reg
47 * @vpconfig_erroroffset_shift: ERROROFFSET field shift in PRM_VP*_CONFIG reg
[all …]
/kernel/linux/linux-5.10/drivers/regulator/
Dmax8998.c1 // SPDX-License-Identifier: GPL-2.0+
3 // max8998.c - Voltage regulator driver for the Maxim 8998
5 // Copyright (C) 2009-2010 Samsung Electronics
23 #include <linux/mfd/max8998-private.h>
41 int *reg, int *shift) in max8998_get_enable_register() argument
47 *reg = MAX8998_REG_ONOFF1; in max8998_get_enable_register()
48 *shift = 3 - (ldo - MAX8998_LDO2); in max8998_get_enable_register()
51 *reg = MAX8998_REG_ONOFF2; in max8998_get_enable_register()
52 *shift = 7 - (ldo - MAX8998_LDO6); in max8998_get_enable_register()
55 *reg = MAX8998_REG_ONOFF3; in max8998_get_enable_register()
[all …]

12345678910>>...42