Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/pinctrl/meson/
Dpinctrl-meson.c274 ret = regmap_update_bits(pc->reg_pullen, reg, BIT(bit), 0); in meson_pinconf_disable_bias()
301 ret = regmap_update_bits(pc->reg_pullen, reg, BIT(bit), BIT(bit)); in meson_pinconf_enable_bias()
413 ret = regmap_read(pc->reg_pullen, reg, &val); in meson_pinconf_get_pull()
700 pc->reg_pullen = meson_map_resource(pc, gpio_np, "pull-enable"); in meson_pinctrl_parse_dt()
701 if (IS_ERR(pc->reg_pullen)) in meson_pinctrl_parse_dt()
702 pc->reg_pullen = NULL; in meson_pinctrl_parse_dt()
721 pc->reg_pullen = pc->reg_pull; in meson8_aobus_parse_dt_extra()
730 pc->reg_pullen = pc->reg_gpio; in meson_a1_parse_dt_extra()
Dpinctrl-meson.h129 struct regmap *reg_pullen; member
Dpinctrl-meson-g12a.c1372 pc->reg_pullen = pc->reg_gpio; in meson_g12a_aobus_parse_dt_extra()
/linux-5.19.10/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c307 unsigned int reg_pullen, reg_pullsel, r1r0; in mtk_pconf_set_pull_select() local
335 reg_pullen = SET_ADDR(mtk_get_port(pctl, pin) + in mtk_pconf_set_pull_select()
338 reg_pullen = CLR_ADDR(mtk_get_port(pctl, pin) + in mtk_pconf_set_pull_select()
348 regmap_write(mtk_get_regmap(pctl, pin), reg_pullen, bit); in mtk_pconf_set_pull_select()