Home | History | Annotate | Download | only in s3c2xx0

Lines Matching defs:ssextio_softc

98 struct ssextio_softc {
116 static struct ssextio_softc *ssextio_softc = NULL;
134 bus_space_write_4(ssextio_softc->sc_iot, ssextio_softc->sc_ioh,
135 GPIO_EINTMASK, ssextio_softc->sc_mask | ssextio_softc->sc_pending);
140 CFATTACH_DECL_NEW(ssextio, sizeof(struct ssextio_softc), ssextio_match, ssextio_attach,
162 if (ssextio_softc != NULL)
172 struct ssextio_softc *sc = device_private(self);
177 ssextio_softc = sc;
202 struct ssextio_softc *sc = device_private(parent);
244 ssextio_softc->sc_handler[idx].func = func;
245 ssextio_softc->sc_handler[idx].arg = arg;
246 ssextio_softc->sc_handler[idx].level = ipl;
248 ssextio_softc->sc_handler[idx].sh = softint_establish(soft_level,
249 ssextio_softintr, &ssextio_softc->sc_handler[idx]);
253 bus_space_write_4(ssextio_softc->sc_iot, ssextio_softc->sc_ioh,
255 ssextio_softc->sc_mask &= ~(1U << extint);
259 return &ssextio_softc->sc_handler[idx];
268 bus_space_tag_t iot = ssextio_softc->sc_iot;
269 bus_space_handle_t ioh = ssextio_softc->sc_ioh;
290 pending &= ~ssextio_softc->sc_mask;
291 ssextio_softc->sc_pending |= pending;
298 assert(ssextio_softc->sc_handler[i-EXTINT_CASCADE_MIN].sh != NULL);
301 ssextio_softc->sc_handler[i-EXTINT_CASCADE_MIN].sh);
313 int extint = EXTINT_CASCADE_MIN + h - ssextio_softc->sc_handler;
318 bus_space_write_4(ssextio_softc->sc_iot, ssextio_softc->sc_ioh,
320 ssextio_softc->sc_pending &= ~(1<<extint);