Lines Matching defs:soc
28 struct mxs_pinctrl_soc_data *soc;
35 return d->soc->ngroups;
43 return d->soc->groups[group].name;
51 *pins = d->soc->groups[group].pins;
52 *num_pins = d->soc->groups[group].npins;
169 return d->soc->nfunctions;
177 return d->soc->functions[function].name;
187 *groups = d->soc->functions[group].groups;
188 *num_groups = d->soc->functions[group].ngroups;
207 struct mxs_group *g = &d->soc->groups[group];
216 reg = d->base + d->soc->regs->muxsel;
251 *config = d->soc->groups[group].config;
261 struct mxs_group *g = &d->soc->groups[group];
281 reg = d->base + d->soc->regs->drive;
301 reg = d->base + d->soc->regs->pull;
355 struct mxs_group *g = &d->soc->groups[idx];
407 struct mxs_pinctrl_soc_data *soc = d->soc;
427 soc->ngroups++;
433 soc->nfunctions++;
437 soc->functions = devm_kcalloc(&pdev->dev,
438 soc->nfunctions,
439 sizeof(*soc->functions),
441 if (!soc->functions)
444 soc->groups = devm_kcalloc(&pdev->dev,
445 soc->ngroups, sizeof(*soc->groups),
447 if (!soc->groups)
452 f = &soc->functions[idxf];
484 f = &soc->functions[idxf++];
507 f = &soc->functions[idxf++];
531 struct mxs_pinctrl_soc_data *soc)
542 d->soc = soc;
548 mxs_pinctrl_desc.pins = d->soc->pins;
549 mxs_pinctrl_desc.npins = d->soc->npins;