Lines Matching refs:group
50 sunxi_pinctrl_find_group_by_name(struct sunxi_pinctrl *pctl, const char *group)
57 if (!strcmp(grp->name, group))
142 unsigned group)
146 return pctl->groups[group].name;
150 unsigned group,
156 *pins = (unsigned *)&pctl->groups[group].pin;
336 const char *group;
374 of_property_for_each_string(node, pin_prop, prop, group) {
376 sunxi_pinctrl_find_group_by_name(pctl, group);
379 dev_err(pctl->dev, "unknown pin %s", group);
387 function, group);
392 (*map)[i].data.mux.group = group;
399 (*map)[i].data.configs.group_or_pin = group;
531 unsigned group,
535 struct sunxi_pinctrl_group *g = &pctl->groups[group];
537 /* We only support 1 pin per group. Chain it to the pin callback */
605 static int sunxi_pconf_group_set(struct pinctrl_dev *pctldev, unsigned group,
609 struct sunxi_pinctrl_group *g = &pctl->groups[group];
611 /* We only support 1 pin per group. Chain it to the pin callback */
730 unsigned group)
733 struct sunxi_pinctrl_group *g = pctl->groups + group;
1209 * this means that the number of pins is the maximum group
1220 struct sunxi_pinctrl_group *group = pctl->groups + pctl->ngroups;
1225 group->name = pin->pin.name;
1226 group->pin = pin->pin.number;