Lines Matching refs:group
39 unsigned group)
43 return d->soc->groups[group].name;
46 static int mxs_get_group_pins(struct pinctrl_dev *pctldev, unsigned group,
51 *pins = d->soc->groups[group].pins;
52 *num_pins = d->soc->groups[group].npins;
68 char *group = NULL;
91 /* Check for group node which has both mux and config settings */
103 /* Compose group name */
104 group = kzalloc(length, GFP_KERNEL);
105 if (!group) {
109 snprintf(group, length, "%s.%d", np->name, reg);
110 new_map[i].data.mux.group = group;
123 group;
135 kfree(group);
148 kfree(map[i].data.mux.group);
181 unsigned group,
187 *groups = d->soc->functions[group].groups;
188 *num_groups = d->soc->functions[group].ngroups;
204 unsigned group)
207 struct mxs_group *g = &d->soc->groups[group];
247 unsigned group, unsigned long *config)
251 *config = d->soc->groups[group].config;
257 unsigned group, unsigned long *configs,
261 struct mxs_group *g = &d->soc->groups[group];
326 struct seq_file *s, unsigned group)
330 if (!mxs_pinconf_group_get(pctldev, group, &config))
358 char *group;
362 group = devm_kzalloc(&pdev->dev, length, GFP_KERNEL);
363 if (!group)
366 snprintf(group, length, "%s", np->name);
368 snprintf(group, length, "%s.%d", np->name, val);
369 g->name = group;
413 dev_err(&pdev->dev, "no group is defined\n");