Lines Matching defs:groups
115 struct sunxi_pinctrl_group *grp = pctl->groups + i;
206 return pctl->groups[group].name;
216 *pins = (unsigned *)&pctl->groups[group].pin;
592 struct sunxi_pinctrl_group *g = &pctl->groups[group];
664 struct sunxi_pinctrl_group *g = &pctl->groups[group];
763 const char * const **groups,
768 *groups = pctl->functions[function].groups;
798 struct sunxi_pinctrl_group *g = pctl->groups + group;
1272 * Allocate groups
1274 * We assume that the number of groups is the number of pins
1282 pctl->groups = devm_kcalloc(&pdev->dev,
1283 pctl->desc->npins, sizeof(*pctl->groups),
1285 if (!pctl->groups)
1290 struct sunxi_pinctrl_group *group = pctl->groups + pctl->ngroups;
1298 /* And now we count the actual number of pins / groups */
1314 /* Count functions and their associated groups */
1368 if (!func_item->groups) {
1369 func_item->groups =
1372 sizeof(*func_item->groups),
1374 if (!func_item->groups) {
1380 func_grp = func_item->groups;