Lines Matching defs:group
54 unsigned int group)
58 return (group >= p->group_count) ? NULL : p->group_names[group];
62 unsigned int group,
68 if (group >= p->group_count)
71 *pins = p->groups[group].func[0].pins;
72 *num_pins = p->groups[group].func[0].pin_count;
118 unsigned int func, unsigned int group)
127 if (p->groups[group].enabled) {
129 p->groups[group].name);
133 p->groups[group].enabled = 1;
136 shift = p->groups[group].shift;
142 mode &= ~(p->groups[group].mask << shift);
145 for (i = 0; i < p->groups[group].func[0].pin_count; i++)
146 p->gpio[p->groups[group].func[0].pins[i]] = 1;
150 mode |= p->groups[group].gpio << shift;
205 /* allocate the group names array needed by the gpio function */
219 /* allocate our function and group mapping index buffers */
227 /* add a backpointer to the function so it knows its group */