Searched refs:mtk_get_port (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.c | 58 static unsigned int mtk_get_port(struct mtk_pinctrl *pctl, unsigned long pin) in mtk_get_port() function 73 reg_addr = mtk_get_port(pctl, offset) + pctl->devdata->dir_offset; in mtk_pmx_gpio_set_direction() 95 reg_addr = mtk_get_port(pctl, offset) + pctl->devdata->dout_offset; in mtk_gpio_set() 143 reg_addr = SET_ADDR(mtk_get_port(pctl, pin) + offset, pctl); in mtk_pconf_set_ies_smt() 145 reg_addr = CLR_ADDR(mtk_get_port(pctl, pin) + offset, pctl); in mtk_pconf_set_ies_smt() 333 reg_pullen = mtk_get_port(pctl, pin) + in mtk_pconf_set_pull_select() 335 reg_pullsel = mtk_get_port(pctl, pin) + 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() 355 reg_pullsel = SET_ADDR(mtk_get_port(pctl, pin) + in mtk_pconf_set_pull_select() [all …]
|