Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c201 const struct mtk_pin_drv_grp *pin_drv = in mtk_find_pin_drv_grp_by_pin() local
203 if (pin == pin_drv->pin) in mtk_find_pin_drv_grp_by_pin()
204 return pin_drv; in mtk_find_pin_drv_grp_by_pin()
213 const struct mtk_pin_drv_grp *pin_drv; in mtk_pconf_set_driving() local
221 pin_drv = mtk_find_pin_drv_grp_by_pin(pctl, pin); in mtk_pconf_set_driving()
222 if (!pin_drv || pin_drv->grp > pctl->devdata->n_grp_cls) in mtk_pconf_set_driving()
225 drv_grp = pctl->devdata->grp_desc + pin_drv->grp; in mtk_pconf_set_driving()
231 shift = pin_drv->bit + drv_grp->low_bit; in mtk_pconf_set_driving()
235 pin_drv->offset, mask, val); in mtk_pconf_set_driving()