Home
last modified time | relevance | path

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

/linux/drivers/pinctrl/meson/
H A 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()
699 pc->reg_pullen = meson_map_resource(pc, gpio_np, "pull-enable"); in meson_pinctrl_parse_dt()
700 if (IS_ERR(pc->reg_pullen)) in meson_pinctrl_parse_dt()
701 pc->reg_pullen = NULL; in meson_pinctrl_parse_dt()
720 pc->reg_pullen = pc->reg_pull; in meson8_aobus_parse_dt_extra()
729 pc->reg_pullen = pc->reg_gpio; in meson_a1_parse_dt_extra()
H A Dpinctrl-meson.h131 struct regmap *reg_pullen; member
H A Dpinctrl-meson-g12a.c1373 pc->reg_pullen = pc->reg_gpio; in meson_g12a_aobus_parse_dt_extra()
/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.c305 unsigned int reg_pullen, reg_pullsel, r1r0; in mtk_pconf_set_pull_select() local
333 reg_pullen = mtk_get_port(pctl, pin) + in mtk_pconf_set_pull_select()
338 bit, reg_pullen, reg_pullsel, in mtk_pconf_set_pull_select()
348 reg_pullen = SET_ADDR(mtk_get_port(pctl, pin) + in mtk_pconf_set_pull_select()
351 reg_pullen = CLR_ADDR(mtk_get_port(pctl, pin) + in mtk_pconf_set_pull_select()
361 regmap_write(mtk_get_regmap(pctl, pin), reg_pullen, bit); in mtk_pconf_set_pull_select()
H A Dpinctrl-mt8365.c419 unsigned int bit, unsigned int reg_pullen, unsigned int reg_pullsel, in mt8365_set_clr_mode() argument
424 ret = regmap_update_bits(regmap, reg_pullen, BIT(bit), enable << bit); in mt8365_set_clr_mode()
H A Dpinctrl-mtk-common.h259 unsigned int bit, unsigned int reg_pullen, unsigned int reg_pullsel,