Home
last modified time | relevance | path

Searched refs:reg_pullsel (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mt8365.c419 unsigned int bit, unsigned int reg_pullen, unsigned int reg_pullsel, in mt8365_set_clr_mode() argument
428 ret = regmap_update_bits(regmap, reg_pullsel, BIT(bit), isup << bit); in mt8365_set_clr_mode()
H A Dpinctrl-mtk-common.c305 unsigned int reg_pullen, reg_pullsel, r1r0; in mtk_pconf_set_pull_select() local
335 reg_pullsel = mtk_get_port(pctl, pin) + in mtk_pconf_set_pull_select()
338 bit, reg_pullen, reg_pullsel, in mtk_pconf_set_pull_select()
355 reg_pullsel = SET_ADDR(mtk_get_port(pctl, pin) + in mtk_pconf_set_pull_select()
358 reg_pullsel = CLR_ADDR(mtk_get_port(pctl, pin) + in mtk_pconf_set_pull_select()
362 regmap_write(mtk_get_regmap(pctl, pin), reg_pullsel, bit); in mtk_pconf_set_pull_select()
H A Dpinctrl-mtk-common.h259 unsigned int bit, unsigned int reg_pullen, unsigned int reg_pullsel,