Home
last modified time | relevance | path

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

12345678910>>...32

/freebsd-src/sys/contrib/device-tree/src/arm/ti/omap/
H A 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 …]
H A 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 …]
H A Domap44xx-clocks.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
9 #clock-cells = <0>;
10 compatible = "fixed-clock";
11 clock-output-names = "extalt_clkin_ck";
12 clock-frequency = <59000000>;
16 #clock-cells = <0>;
17 compatible = "fixed-clock";
18 clock-output-names = "pad_clks_src_ck";
19 clock-frequency = <12000000>;
23 #clock-cells = <0>;
[all …]
H A Domap2420-clocks.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
10 #clock-cells = <0>;
11 compatible = "ti,composite-no-wait-gate-clock";
13 ti,bit-shift = <15>;
14 reg = <0x0070>;
18 #clock-cells = <0>;
19 compatible = "ti,composite-mux-clock";
21 ti,bit-shift = <8>;
22 reg = <0x0070>;
26 #clock-cells = <0>;
[all …]
H A Domap54xx-clocks.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
9 #clock-cells = <0>;
10 compatible = "fixed-clock";
11 clock-output-names = "pad_clks_src_ck";
12 clock-frequency = <12000000>;
16 #clock-cells = <0>;
17 compatible = "ti,gate-clock";
18 clock-output-names = "pad_clks_ck";
20 ti,bit-shift = <8>;
21 reg = <0x0108>;
[all …]
H A Domap36xx-am35xx-omap3430es2plus-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 = <3>;
17 #clock-cell
[all...]
H A 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>;
18 reg
[all...]
H A Ddra7xx-clocks.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
8 atl_clkin0_ck: clock-atl-clkin0 {
9 #clock-cells = <0>;
10 compatible = "ti,dra7-atl-clock";
11 clock-outpu
[all...]
H A Dam35xx-clocks.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
9 #clock-cells = <0>;
10 compatible = "ti,am35xx-gate-clock";
12 reg = <0x032c>;
13 ti,bit-shift
[all...]
H A 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
[all...]
H A Dam43xx-clocks.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
8 sys_clkin_ck: clock-sys-clkin-31@40 {
9 #clock-cells = <0>;
10 compatible = "ti,mux-clock";
11 clock-output-names = "sys_clkin_ck";
13 ti,bit-shift = <31>;
14 reg = <0x0040>;
17 crystal_freq_sel_ck: clock-crystal-freq-sel-29@40 {
18 #clock-cells = <0>;
19 compatible = "ti,mux-clock";
[all …]
H A Domap3430es1-clocks.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
9 #clock-cells = <0>;
10 compatible = "ti,wait-gate-clock";
12 reg = <0x0b10>;
13 ti,bit-shift
[all...]
H A Domap36xx-clocks.dtsi1 // SPDX-License-Identifier: GPL-2.0-only
9 #clock-cells = <0>;
10 compatible = "ti,omap3-dpll-per-j-type-cloc
[all...]
/freebsd-src/sys/contrib/alpine-hal/
H A Dal_hal_reg_utils.h1 /*-
10 found at http://www.gnu.org/licenses/gpl-2.0.html
53 /* *INDENT-OFF* */
57 /* *INDENT-ON* */
66 #define AL_REG_FIELD_GET(reg, mask, shift) (((reg) & (mask)) >> (shift)) argument
69 #define AL_REG_FIELD_SET(reg, mask, shift, val) \ argument
70 (reg) = \
71 (((reg) & (~(mask))) | \
72 ((((unsigned)(val)) << (shift)) & (mask)))
75 #define AL_REG_FIELD_SET_64(reg, mask, shift, val) \ argument
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/clock/ti/
H A Dgate.txt4 quite much similar to the basic gate-clock [2], however,
7 will be controlled instead and the corresponding hw-ops for
10 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
11 [2] Documentation/devicetree/bindings/clock/gpio-gate-clock.yaml
15 - compatible : shall be one of:
16 "ti,gate-clock" - basic gate clock
17 "ti,wait-gate-cloc
[all...]
H A Ddivider.txt4 register-mapped adjustable clock rate divider that does not gate and has
15 ti,index-starts-at-one - valid divisor values start at 1, not the default
22 ti,index-power-of-two - valid divisor values are powers of two. E.g:
39 Any zero value in this array means the corresponding bit-valu
[all...]
/freebsd-src/sys/contrib/device-tree/Bindings/clock/
H A Dkeystone-pll.txt9 [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
12 - #clock-cells : from common clock binding; shall be set to 0.
13 - compatible : shall be "ti,keystone,main-pll-clock" or "ti,keystone,pll-clock"
14 - clocks : parent clock phandle
15 - reg
[all...]
/freebsd-src/sys/contrib/device-tree/src/arm64/nuvoton/
H A Dnuvoton-common-npcm8xx.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 #include <dt-bindings/clock/nuvoton,npcm845-clk.h>
5 #include <dt-bindings/interrupt-controller/arm-gic.h>
6 #include <dt-bindings/interrupt-controller/irq.h>
9 #address-cells = <2>;
10 #size-cells = <2>;
11 interrupt-parent = <&gic>;
14 #address-cells = <2>;
15 #size-cells = <2>;
16 compatible = "simple-bus";
[all …]
/freebsd-src/sys/arm/freescale/vybrid/
H A Dvf_adc.c1 /*-
28 * Vybrid Family 12-bit Analog to Digital Converter (ADC)
53 #define ADC_HC0 0x00 /* Ctrl reg for hardware triggers */
54 #define ADC_HC1 0x04 /* Ctrl reg for hardware triggers */
57 #define HC_ADCH_S 0 /* Input Channel Select Shift */
61 #define ADC_R0 0x0C /* Data result reg for HW triggers */
62 #define ADC_R1 0x10 /* Data result reg for HW triggers */
66 #define CFG_AVGS_S 14 /* Hardware Average select Shift */
69 #define CFG_REFSEL_S 11 /* Voltage Reference Select Shift */
73 #define CFG_ADLPC (1 << 7) /* Low-Power Configuration */
[all …]
/freebsd-src/sys/arm64/nvidia/tegra210/
H A Dtegra210_clk_super.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
39 #include <dt-bindings/clock/tegra210-car.h>
125 super_mux_get_state(uint32_t reg) in super_mux_get_state() argument
127 reg = (reg >> SUPER_MUX_STATE_BIT_SHIFT) & SUPER_MUX_STATE_BIT_MASK; in super_mux_get_state()
128 if (reg & SUPER_MUX_STATE_BIT_FIQ) in super_mux_get_state()
130 if (reg & SUPER_MUX_STATE_BIT_IRQ) in super_mux_get_state()
132 if (reg & SUPER_MUX_STATE_BIT_RUN) in super_mux_get_state()
134 if (reg & SUPER_MUX_STATE_BIT_IDLE) in super_mux_get_state()
143 uint32_t reg; in super_mux_init() local
[all …]
/freebsd-src/sys/arm/nvidia/tegra124/
H A Dtegra124_clk_super.c1 /*-
38 #include <dt-bindings/clock/tegra124-car.h>
135 super_mux_get_state(uint32_t reg) in super_mux_get_state() argument
137 reg = (reg >> SUPER_MUX_STATE_BIT_SHIFT) & SUPER_MUX_STATE_BIT_MASK; in super_mux_get_state()
138 if (reg & SUPER_MUX_STATE_BIT_FIQ) in super_mux_get_state()
140 if (reg & SUPER_MUX_STATE_BIT_IRQ) in super_mux_get_state()
142 if (reg & SUPER_MUX_STATE_BIT_RUN) in super_mux_get_state()
144 if (reg & SUPER_MUX_STATE_BIT_IDLE) in super_mux_get_state()
153 uint32_t reg; in super_mux_init() local
154 int shift, state; in super_mux_init() local
[all …]
/freebsd-src/sys/contrib/device-tree/Bindings/regulator/
H A Danatop-regulator.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/regulator/anatop-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ying-Chun Liu (PaulLiu) <paul.liu@linaro.org>
13 - $ref: regulator.yaml#
17 const: fsl,anatop-regulator
19 regulator-name: true
21 anatop-reg-offset:
25 anatop-vol-bit-shift:
[all …]
/freebsd-src/sys/dev/clk/
H A Dclk_mux.c1 /*-
55 uint32_t shift; member
73 uint32_t reg; in clknode_mux_init() local
80 rv = RD4(clk, sc->offset, &reg); in clknode_mux_init()
85 reg = (reg >> sc->shift) & sc->mask; in clknode_mux_init()
86 clknode_init_parent_idx(clk, reg); in clknode_mux_init()
93 uint32_t reg; in clknode_mux_set_mux() local
100 rv = MD4(clk, sc->offset, sc->mask << sc->shift, in clknode_mux_set_mux()
101 (idx & sc->mask) << sc->shift); in clknode_mux_set_mux()
106 RD4(clk, sc->offset, &reg); in clknode_mux_set_mux()
[all …]
/freebsd-src/sys/contrib/device-tree/src/arm64/intel/
H A Dkeembay-soc.dtsi1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 interrupt-paren
[all...]
/freebsd-src/sys/contrib/device-tree/src/mips/netlogic/
H A Dxlp_evp.dts1 // SPDX-License-Identifier: GPL-2.0
6 /dts-v1/;
8 model = "netlogic,XLP-EVP";
10 #address-cells = <2>;
11 #size-cells = <2>;
14 #address-cells = <2>;
15 #size-cells = <1>;
16 compatible = "simple-bus";
23 reg = <0 0x30100 0xa00>;
24 reg-shift = <2>;
[all …]

12345678910>>...32