Lines Matching defs:group
36 unsigned group)
40 return d->soc->groups[group].name;
43 static int mxs_get_group_pins(struct pinctrl_dev *pctldev, unsigned group,
48 *pins = d->soc->groups[group].pins;
49 *num_pins = d->soc->groups[group].npins;
65 char *group = NULL;
88 /* Check for group node which has both mux and config settings */
100 /* Compose group name */
101 group = kzalloc(length, GFP_KERNEL);
102 if (!group) {
106 snprintf(group, length, "%s.%d", np->name, reg);
107 new_map[i].data.mux.group = group;
120 group;
132 kfree(group);
145 kfree(map[i].data.mux.group);
178 unsigned group,
184 *groups = d->soc->functions[group].groups;
185 *num_groups = d->soc->functions[group].ngroups;
201 unsigned group)
204 struct mxs_group *g = &d->soc->groups[group];
244 unsigned group, unsigned long *config)
248 *config = d->soc->groups[group].config;
254 unsigned group, unsigned long *configs,
258 struct mxs_group *g = &d->soc->groups[group];
323 struct seq_file *s, unsigned group)
327 if (!mxs_pinconf_group_get(pctldev, group, &config))
355 char *group;
359 group = devm_kzalloc(&pdev->dev, length, GFP_KERNEL);
360 if (!group)
363 snprintf(group, length, "%s", np->name);
365 snprintf(group, length, "%s.%d", np->name, val);
366 g->name = group;
410 dev_err(&pdev->dev, "no group is defined\n");