Searched refs:drv_grp (Results 1 – 1 of 1) sorted by relevance
216 const struct mtk_drv_group_desc *drv_grp; in mtk_pconf_set_driving() local225 drv_grp = pctl->devdata->grp_desc + pin_drv->grp; in mtk_pconf_set_driving()226 if (driving >= drv_grp->min_drv && driving <= drv_grp->max_drv in mtk_pconf_set_driving()227 && !(driving % drv_grp->step)) { in mtk_pconf_set_driving()228 val = driving / drv_grp->step - 1; in mtk_pconf_set_driving()229 bits = drv_grp->high_bit - drv_grp->low_bit + 1; in mtk_pconf_set_driving()231 shift = pin_drv->bit + drv_grp->low_bit; in mtk_pconf_set_driving()