Lines Matching refs:group
44 * struct armada_37xx_pin_group: represents group of pins of a pinmux function.
47 * @name: Name of the pin group, used to lookup the group.
49 * the group
51 * @reg_mask: Bit mask matching the group in the selection register
54 * belonging to the group
56 * @funcs: A list of pinmux functions that can be selected for this group.
57 * @pins: List of the pins included in the group
237 struct armada_37xx_pin_group *group = &info->groups[*grp];
241 for (j = 0; j < (group->npins + group->extra_npins); j++)
242 if (group->pins[j] == pin)
243 return group;
275 unsigned int group)
279 return info->groups[group].name;
348 dev_dbg(info->dev, "enable function %s group %s\n",
364 unsigned int group)
368 struct armada_37xx_pin_group *grp = &info->groups[group];
485 struct armada_37xx_pin_group *group;
490 while ((group = armada_37xx_find_next_grp_by_pin(info, offset, &grp)))
491 armada_37xx_pmx_set_by_name(pctldev, "gpio", group);
836 * increment the number of group associated to this function.
866 * armada_37xx_fill_group() - complete the group array
920 * completes the last two member of the struct for each group:
921 * - the list of the pins included in the group
922 * - the list of pinmux functions that can be selected for this group