Lines Matching defs:zsc
66 #include "zsc.h" /* NZSC */
131 CFATTACH_DECL_NEW(zsc, sizeof(struct zsc_softc),
148 if (strcmp(ia->ia_name, "zsc") != 0)
175 struct zsc_softc *zsc = device_private(self);
183 zsc->zsc_dev = self;
186 zsc->zsc_addr = (void *)ia->ia_addr;
203 cs = &zsc->zsc_cs_store[channel];
204 zsc->zsc_cs[channel] = cs;
213 zc = (volatile void *)IIOV(&zsc->zsc_addr->zs_chan_a);
215 zc = (volatile void *)IIOV(&zsc->zsc_addr->zs_chan_b);
274 if (intio_intr_establish(ia->ia_intr, "zs", zshard, zsc))
276 zsc->zsc_softintr_cookie = softint_establish(SOFTINT_SERIAL,
277 (void (*)(void *))zsc_intr_soft, zsc);
284 cs = zsc->zsc_cs[0];
315 struct zsc_softc *zsc = arg;
326 rval = zsc_intr_hard(zsc);
329 if (zsc->zsc_cs[0]->cs_softreq || zsc->zsc_cs[1]->cs_softreq)
330 softint_schedule(zsc->zsc_softintr_cookie);