Lines Matching defs:soc

28 #include <linux/soc/qcom/irq.h>
57 * @soc: Reference to soc_data of platform specific data.
80 const struct msm_pinctrl_soc_data *soc;
115 return pctrl->soc->ngroups;
123 return pctrl->soc->groups[group].grp.name;
133 *pins = pctrl->soc->groups[group].grp.pins;
134 *num_pins = pctrl->soc->groups[group].grp.npins;
158 return pctrl->soc->nfunctions;
166 return pctrl->soc->functions[function].name;
176 *groups = pctrl->soc->functions[function].groups;
177 *num_groups = pctrl->soc->functions[function].ngroups;
189 unsigned int gpio_func = pctrl->soc->gpio_func;
190 unsigned int egpio_func = pctrl->soc->egpio_func;
196 g = &pctrl->soc->groups[group];
281 const struct msm_pingroup *g = &pctrl->soc->groups[offset];
287 return msm_pinmux_set_mux(pctldev, g->funcs[pctrl->soc->gpio_func], offset);
365 g = &pctrl->soc->groups[group];
387 if (pctrl->soc->pull_no_keeper)
395 if (pctrl->soc->pull_no_keeper)
450 g = &pctrl->soc->groups[group];
469 if (pctrl->soc->pull_no_keeper)
475 if (pctrl->soc->pull_no_keeper)
573 g = &pctrl->soc->groups[offset];
593 g = &pctrl->soc->groups[offset];
619 g = &pctrl->soc->groups[offset];
633 g = &pctrl->soc->groups[offset];
646 g = &pctrl->soc->groups[offset];
694 g = &pctrl->soc->groups[offset];
703 if (pctrl->soc->egpio_func && ctl_reg & BIT(g->egpio_present))
719 if (pctrl->soc->pull_no_keeper)
746 const int *reserved = pctrl->soc->reserved_gpios;
858 g = &pctrl->soc->groups[d->hwirq];
908 g = &pctrl->soc->groups[d->hwirq];
963 const struct msm_pingroup *g = &pctrl->soc->groups[d->hwirq];
1009 g = &pctrl->soc->groups[d->hwirq];
1036 pctrl->soc->wakeirq_dual_edge_errata && d->parent_data &&
1066 g = &pctrl->soc->groups[d->hwirq];
1203 const struct msm_pingroup *g = &pctrl->soc->groups[d->hwirq];
1262 const struct msm_pingroup *g = &pctrl->soc->groups[d->hwirq];
1324 g = &pctrl->soc->groups[i];
1352 for (i = 0; i < pctrl->soc->nwakeirq_map; i++) {
1353 map = &pctrl->soc->wakeirq_map[i];
1365 if (pctrl->soc->reserved_gpios)
1396 unsigned gpio, ngpio = pctrl->soc->ngpios;
1425 for (i = 0; skip && i < pctrl->soc->nwakeirq_map; i++) {
1426 gpio = pctrl->soc->wakeirq_map[i].gpio;
1493 const struct pinfunction *func = pctrl->soc->functions;
1495 for (i = 0; i < pctrl->soc->nfunctions; i++)
1540 pctrl->soc = soc_data;
1575 pctrl->desc.pins = pctrl->soc->pins;
1576 pctrl->desc.npins = pctrl->soc->npins;