Home
last modified time | relevance | path

Searched refs:muxreg (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/axis/
Dclk-artpec6.c126 u32 muxreg; in artpec6_clkctrl_probe() local
186 muxreg = readl(clkdata->syscon_base + 0x14); in artpec6_clkctrl_probe()
187 muxreg &= ~BIT(i); in artpec6_clkctrl_probe()
188 writel(muxreg, clkdata->syscon_base + 0x14); in artpec6_clkctrl_probe()
195 muxreg = readl(clkdata->syscon_base + 0x14); in artpec6_clkctrl_probe()
196 muxreg |= BIT(i); in artpec6_clkctrl_probe()
197 writel(muxreg, clkdata->syscon_base + 0x14); in artpec6_clkctrl_probe()
/kernel/linux/linux-5.10/arch/arm/mach-davinci/
Dmux.h18 #define MUX_CFG(soc, desc, muxreg, mode_offset, mode_mask, mux_mode, dbg)\ argument
22 .mux_reg_name = "PINMUX"#muxreg, \
23 .mux_reg = PINMUX(muxreg), \
/kernel/linux/linux-5.10/drivers/pinctrl/spear/
Dpinctrl-spear.c34 struct spear_muxreg *muxreg; in muxregs_endisable() local
38 muxreg = &muxregs[j]; in muxregs_endisable()
40 val = pmx_readl(pmx, muxreg->reg); in muxregs_endisable()
41 val &= ~muxreg->mask; in muxregs_endisable()
44 temp = muxreg->val; in muxregs_endisable()
46 temp = ~muxreg->val; in muxregs_endisable()
48 val |= muxreg->mask & temp; in muxregs_endisable()
49 pmx_writel(pmx, val, muxreg->reg); in muxregs_endisable()
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-pic32.c57 u32 muxreg; member
383 .muxreg = _muxreg, \
1782 fname, functions->muxreg, functions->muxval); in pic32_pinmux_enable()
1784 writel(functions->muxval, pctl->reg_base + functions->muxreg); in pic32_pinmux_enable()