Lines Matching defs:sc_conf
61 const struct meson_pinctrl_config *sc_conf;
114 for (n = 0; n < sc->sc_conf->ngroups; n++) {
115 group = &sc->sc_conf->groups[n];
170 for (n = 0; n < sc->sc_conf->ngroups; n++) {
171 group = &sc->sc_conf->groups[n];
235 const struct meson_pinctrl_gpio *pin_def = &sc->sc_conf->gpios[pin];
241 KASSERT(pin < sc->sc_conf->ngpios);
254 const struct meson_pinctrl_gpio *pin_def = &sc->sc_conf->gpios[pin];
259 KASSERT(pin < sc->sc_conf->ngpios);
295 const struct meson_pinctrl_gpio *pin_def = &sc->sc_conf->gpios[pin];
299 KASSERT(pin < sc->sc_conf->ngpios);
332 if (id >= sc->sc_conf->ngpios)
335 if (sc->sc_conf->gpios[id].name == NULL)
338 return &sc->sc_conf->gpios[id];
362 for (n = 0; n < sc->sc_conf->ngroups; n++) {
363 group = &sc->sc_conf->groups[n];
545 const u_int npins = sc->sc_conf->ngpios;
548 pin_def = &sc->sc_conf->gpios[pin];
589 sc->sc_conf = of_compatible_lookup(sc->sc_phandle, compat_data)->data;
596 aprint_normal(": %s\n", sc->sc_conf->name);