Lines Matching refs:group
45 * struct armada_37xx_pin_group: represents group of pins of a pinmux function.
48 * @name: Name of the pin group, used to lookup the group.
50 * the group
52 * @reg_mask: Bit mask matching the group in the selection register
55 * belonging to the group
57 * @funcs: A list of pinmux functions that can be selected for this group.
58 * @pins: List of the pins included in the group
241 struct armada_37xx_pin_group *group = &info->groups[*grp];
245 for (j = 0; j < (group->npins + group->extra_npins); j++)
246 if (group->pins[j] == pin)
247 return group;
279 unsigned int group)
283 return info->groups[group].name;
353 dev_dbg(dev, "enable function %s group %s\n", name, grp->name);
368 unsigned int group)
372 struct armada_37xx_pin_group *grp = &info->groups[group];
489 struct armada_37xx_pin_group *group;
495 while ((group = armada_37xx_find_next_grp_by_pin(info, offset, &grp))) {
496 ret = armada_37xx_pmx_set_by_name(pctldev, "gpio", group);
832 * increment the number of group associated to this function.
862 * armada_37xx_fill_group() - complete the group array
915 * completes the last two member of the struct for each group:
916 * - the list of the pins included in the group
917 * - the list of pinmux functions that can be selected for this group