Home | History | Annotate | Download | only in s3c2xx0

Lines Matching defs:ssextio_softc

69 struct ssextio_softc {
85 static struct ssextio_softc *ssextio_softc = NULL;
103 bus_space_write_4(ssextio_softc->sc_iot, ssextio_softc->sc_ioh,
104 GPIO_EINTMASK, ssextio_softc->sc_mask | ssextio_softc->sc_pending);
109 CFATTACH_DECL_NEW(ssextio, sizeof(struct ssextio_softc), ssextio_match, ssextio_attach,
131 if (ssextio_softc != NULL)
141 struct ssextio_softc *sc = device_private(self);
146 ssextio_softc = sc;
170 struct ssextio_softc *sc = device_private(parent);
212 ssextio_softc->sc_handler[idx].func = func;
213 ssextio_softc->sc_handler[idx].arg = arg;
214 ssextio_softc->sc_handler[idx].level = ipl;
216 ssextio_softc->sc_handler[idx].sh = softint_establish(soft_level,
217 ssextio_softintr, &ssextio_softc->sc_handler[idx]);
221 bus_space_write_4(ssextio_softc->sc_iot, ssextio_softc->sc_ioh,
223 ssextio_softc->sc_mask &= ~(1U << extint);
227 return &ssextio_softc->sc_handler[idx];
236 bus_space_tag_t iot = ssextio_softc->sc_iot;
237 bus_space_handle_t ioh = ssextio_softc->sc_ioh;
258 pending &= ~ssextio_softc->sc_mask;
259 ssextio_softc->sc_pending |= pending;
266 assert(ssextio_softc->sc_handler[i-EXTINT_CASCADE_MIN].sh != NULL);
269 ssextio_softc->sc_handler[i-EXTINT_CASCADE_MIN].sh);
281 int extint = EXTINT_CASCADE_MIN + h - ssextio_softc->sc_handler;
286 bus_space_write_4(ssextio_softc->sc_iot, ssextio_softc->sc_ioh,
288 ssextio_softc->sc_pending &= ~(1<<extint);