Lines Matching defs:sc_conf
215 const struct rkpmic_config *sc_conf;
437 val = I2C_READ(sc, sc->sc_conf->poweroff_reg);
438 val |= sc->sc_conf->poweroff_mask;
439 I2C_WRITE(sc, sc->sc_conf->poweroff_reg, val);
476 sc->sc_conf = entry->data;
485 sc->sc_conf->name);
515 sc->sc_conf->poweroff_mask != 0)
523 for (n = 0; n < sc->sc_conf->nctrl; n++) {
524 child = of_find_firstchild_byname(regulators, sc->sc_conf->ctrl[n].name);
527 raa.reg_ctrl = &sc->sc_conf->ctrl[n];