Home
last modified time | relevance | path

Searched refs:reg_mux (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/pinctrl/meson/
H A Dpinctrl-amlogic-a4.c92 struct regmap *reg_mux; member
196 if (!bank || !bank->reg_mux) in aml_pctl_set_function()
202 return regmap_update_bits(bank->reg_mux, reg, in aml_pctl_set_function()
208 if (!bank->reg_mux) in aml_pctl_set_function()
212 return regmap_update_bits(bank->reg_mux, reg, in aml_pctl_set_function()
1012 bank->reg_mux = aml_map_resource(dev, bank->bank_id, np, "mux"); in aml_gpiolib_register_bank()
1013 if (IS_ERR_OR_NULL(bank->reg_mux)) { in aml_gpiolib_register_bank()
1016 bank->reg_mux = NULL; in aml_gpiolib_register_bank()
1018 return dev_err_probe(dev, bank->reg_mux ? PTR_ERR(bank->reg_mux) : -ENOENT, in aml_gpiolib_register_bank()
H A Dpinctrl-meson8-pmx.c48 regmap_update_bits(pc->reg_mux, in meson8_pmx_disable_other_groups()
78 ret = regmap_update_bits(pc->reg_mux, pmx_data->reg * 4, in meson8_pmx_set_mux()
H A Dpinctrl-meson.c683 pc->reg_mux = meson_map_resource(pc, gpio_np, "mux"); in meson_pinctrl_parse_dt()
684 if (IS_ERR_OR_NULL(pc->reg_mux)) { in meson_pinctrl_parse_dt()
686 return pc->reg_mux ? PTR_ERR(pc->reg_mux) : -ENOENT; in meson_pinctrl_parse_dt()
H A Dpinctrl-meson-axg-pmx.c73 ret = regmap_update_bits(pc->reg_mux, reg << 2, in meson_axg_pmx_update_function()
H A Dpinctrl-meson.h130 struct regmap *reg_mux; member
/linux/drivers/clk/mvebu/
H A Darmada-37xx-periph.c81 void __iomem *reg_mux; member
171 .reg_mux = (void *)TBG_SEL, \
437 val = readl(pm_cpu->reg_mux) >> pm_cpu->shift_mux; in clk_pm_cpu_get_parent()
676 pmcpu_clk->reg_mux = reg + (u64)pmcpu_clk->reg_mux; in armada_3700_add_composite_clk()
/linux/drivers/pinctrl/sophgo/
H A Dpinctrl-cv18xx.c210 void __iomem *reg_mux; in cv1800_set_pinmux_config() local
215 reg_mux = cv1800_pinctrl_get_component_addr(priv, &pin->mux); in cv1800_set_pinmux_config()
220 writel_relaxed(mux, reg_mux); in cv1800_set_pinmux_config()