Lines Matching defs:group
110 sunxi_pinctrl_find_group_by_name(struct sunxi_pinctrl *pctl, const char *group)
117 if (!strcmp(grp->name, group))
202 unsigned group)
206 return pctl->groups[group].name;
210 unsigned group,
216 *pins = (unsigned *)&pctl->groups[group].pin;
396 const char *group;
434 of_property_for_each_string(node, pin_prop, prop, group) {
436 sunxi_pinctrl_find_group_by_name(pctl, group);
439 dev_err(pctl->dev, "unknown pin %s", group);
447 function, group);
452 (*map)[i].data.mux.group = group;
459 (*map)[i].data.configs.group_or_pin = group;
588 unsigned group,
592 struct sunxi_pinctrl_group *g = &pctl->groups[group];
594 /* We only support 1 pin per group. Chain it to the pin callback */
660 static int sunxi_pconf_group_set(struct pinctrl_dev *pctldev, unsigned group,
664 struct sunxi_pinctrl_group *g = &pctl->groups[group];
666 /* We only support 1 pin per group. Chain it to the pin callback */
795 unsigned group)
798 struct sunxi_pinctrl_group *g = pctl->groups + group;
1279 * this means that the number of pins is the maximum group
1290 struct sunxi_pinctrl_group *group = pctl->groups + pctl->ngroups;
1295 group->name = pin->pin.name;
1296 group->pin = pin->pin.number;