Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c200 const struct mtk_drv_group_desc *drv_grp; in mtk_pconf_set_driving() local
209 drv_grp = pctl->devdata->grp_desc + pin_drv->grp; in mtk_pconf_set_driving()
210 if (driving >= drv_grp->min_drv && driving <= drv_grp->max_drv in mtk_pconf_set_driving()
211 && !(driving % drv_grp->step)) { in mtk_pconf_set_driving()
212 val = driving / drv_grp->step - 1; in mtk_pconf_set_driving()
213 bits = drv_grp->high_bit - drv_grp->low_bit + 1; in mtk_pconf_set_driving()
215 shift = pin_drv->bit + drv_grp->low_bit; in mtk_pconf_set_driving()