Home | History | Annotate | Download | only in ep93xx

Lines Matching refs:sc

63 	struct epled_softc *sc = device_private(self);
66 sc->sc_port = ga->ga_port;
67 sc->sc_green = ga->ga_bit1;
68 sc->sc_red = ga->ga_bit2;
69 sc->sc_gpio = (struct epgpio_softc *)parent;
73 the_epled_sc = sc;
79 epgpio_out(sc->sc_gpio, sc->sc_port, sc->sc_green);
80 epgpio_out(sc->sc_gpio, sc->sc_port, sc->sc_red);
86 struct epled_softc *sc = the_epled_sc;
89 if (!sc) {
94 epgpio_set(sc->sc_gpio, sc->sc_port, sc->sc_red);
101 struct epled_softc *sc = the_epled_sc;
104 if (!sc) {
109 epgpio_clear(sc->sc_gpio, sc->sc_port, sc->sc_red);
116 struct epled_softc *sc = the_epled_sc;
119 if (!sc) {
124 epgpio_set(sc->sc_gpio, sc->sc_port, sc->sc_green);
131 struct epled_softc *sc = the_epled_sc;
134 if (!sc) {
139 epgpio_clear(sc->sc_gpio, sc->sc_port, sc->sc_green);