Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/pinctrl/meson/
Dpinctrl-meson.c273 ret = regmap_update_bits(pc->reg_pullen, reg, BIT(bit), 0); in meson_pinconf_disable_bias()
300 ret = regmap_update_bits(pc->reg_pullen, reg, BIT(bit), BIT(bit)); in meson_pinconf_enable_bias()
412 ret = regmap_read(pc->reg_pullen, reg, &val); in meson_pinconf_get_pull()
698 pc->reg_pullen = meson_map_resource(pc, gpio_np, "pull-enable"); in meson_pinctrl_parse_dt()
699 if (IS_ERR(pc->reg_pullen)) in meson_pinctrl_parse_dt()
700 pc->reg_pullen = NULL; in meson_pinctrl_parse_dt()
719 pc->reg_pullen = pc->reg_pull; in meson8_aobus_parse_dt_extra()
728 pc->reg_pullen = pc->reg_gpio; in meson_a1_parse_dt_extra()
Dpinctrl-meson.h131 struct regmap *reg_pullen; member
Dpinctrl-meson-g12a.c1373 pc->reg_pullen = pc->reg_gpio; in meson_g12a_aobus_parse_dt_extra()
/Linux-v6.6/drivers/pinctrl/mediatek/
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()
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()
Dpinctrl-mtk-common.h259 unsigned int bit, unsigned int reg_pullen, unsigned int reg_pullsel,