Lines Matching refs:groups
38 struct mtmips_pmx_group *groups;
71 *pins = p->groups[group].func[0].pins;
72 *num_pins = p->groups[group].func[0].pin_count;
102 const char * const **groups,
108 *groups = &p->group_names[p->func[func]->groups[0]];
110 *groups = p->group_names;
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;
196 struct mtmips_pmx_group *mux = p->groups;
212 p->group_names[i] = p->groups[i].name;
213 p->func_count += p->groups[i].func_count;
222 gpio_func.groups = devm_kcalloc(p->dev, p->group_count, sizeof(int),
224 if (!p->func || !gpio_func.groups)
230 gpio_func.groups[i] = i;
237 for (j = 0; j < p->groups[i].func_count; j++) {
238 p->func[c] = &p->groups[i].func[j];
239 p->func[c]->groups = devm_kzalloc(p->dev, sizeof(int),
241 if (!p->func[c]->groups)
243 p->func[c]->groups[0] = i;
333 p->groups = data;