Searched refs:reg_pullen (Results 1 – 8 of 8) sorted by relevance
/openbmc/linux/drivers/pinctrl/meson/ |
H A D | pinctrl-meson.c | 273 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()
|
H A D | pinctrl-meson.h | 131 struct regmap *reg_pullen; member
|
H A D | pinctrl-meson-g12a.c | 1373 pc->reg_pullen = pc->reg_gpio; in meson_g12a_aobus_parse_dt_extra()
|
/openbmc/u-boot/drivers/pinctrl/meson/ |
H A D | pinctrl-meson.c | 185 clrsetbits_le32(priv->reg_pullen + reg, BIT(bit), 0); in meson_pinconf_bias_set() 190 clrsetbits_le32(priv->reg_pullen + reg, BIT(bit), 1); in meson_pinconf_bias_set() 326 priv->reg_pullen = priv->reg_pull; in meson_pinctrl_probe() 328 priv->reg_pullen = (void __iomem *)addr; in meson_pinctrl_probe()
|
H A D | pinctrl-meson.h | 43 void __iomem *reg_pullen; member
|
/openbmc/linux/drivers/pinctrl/mediatek/ |
H A D | pinctrl-mtk-common.c | 305 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 D | pinctrl-mt8365.c | 419 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 D | pinctrl-mtk-common.h | 259 unsigned int bit, unsigned int reg_pullen, unsigned int reg_pullsel,
|