Home
last modified time | relevance | path

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

/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c185 const struct mtk_pin_drv_grp *pin_drv = in mtk_find_pin_drv_grp_by_pin() local
187 if (pin == pin_drv->pin) in mtk_find_pin_drv_grp_by_pin()
188 return pin_drv; in mtk_find_pin_drv_grp_by_pin()
197 const struct mtk_pin_drv_grp *pin_drv; in mtk_pconf_set_driving() local
205 pin_drv = mtk_find_pin_drv_grp_by_pin(pctl, pin); in mtk_pconf_set_driving()
206 if (!pin_drv || pin_drv->grp > pctl->devdata->n_grp_cls) in mtk_pconf_set_driving()
209 drv_grp = pctl->devdata->grp_desc + pin_drv->grp; in mtk_pconf_set_driving()
215 shift = pin_drv->bit + drv_grp->low_bit; in mtk_pconf_set_driving()
219 pin_drv->offset, mask, val); in mtk_pconf_set_driving()