Home | History | Annotate | Download | only in dev

Lines Matching refs:zsc

237 	struct zsc_softc *zsc = device_private(self);
240 zsc->zsc_dev = self;
241 zsc->zsc_bustag = ma->ma_bustag;
242 zsc->zsc_dmatag = ma->ma_dmatag;
243 zsc->zsc_promunit = prom_getpropint(ma->ma_node, "slave", -2);
244 zsc->zsc_node = ma->ma_node;
250 zs_attach(zsc, ma->ma_promvaddr, ma->ma_pri);
256 struct zsc_softc *zsc = device_private(self);
259 zsc->zsc_dev = self;
297 cs = &zsc->zsc_cs_store[channel];
303 zsc->zsc_bustag = sa->sa_bustag;
304 zsc->zsc_dmatag = sa->sa_dmatag;
305 zsc->zsc_promunit = prom_getpropint(sa->sa_node, "slave", -2);
306 zsc->zsc_node = sa->sa_node;
307 zs_attach(zsc, va, sa->sa_pri);
324 zsc->zsc_bustag = oba->oba_bustag;
325 zsc->zsc_dmatag = oba->oba_dmatag;
338 zsc->zsc_promunit =
343 zs_attach(zsc, (void *)bh, oba->oba_pri);
351 struct zsc_softc *zsc = device_private(self);
355 zsc->zsc_dev = self;
376 zsc->zsc_bustag = baa->ba_bustag;
377 zsc->zsc_promunit = prom_getpropint(baa->ba_node, "slave", -2);
378 zsc->zsc_node = baa->ba_node;
379 zs_attach(zsc, va, baa->ba_intr[0].oi_pri);
390 zs_attach(struct zsc_softc *zsc, struct zsdevice *zsd, int pri)
405 zsc->zsc_sicookie = softint_establish(SOFTINT_SERIAL,
406 (void (*)(void *))zsc_intr_soft, zsc);
407 if (zsc->zsc_sicookie == NULL) {
423 cs = &zsc->zsc_cs_store[channel];
424 zsc->zsc_cs[channel] = cs;
434 hwflags = zs_console_flags(zsc->zsc_promunit,
435 zsc->zsc_node,
455 if (zsc->zsc_promunit == 1) {
508 child = config_found(zsc->zsc_dev, &zsc_args, zs_print,
530 (prom_getproplen(zsc->zsc_node, "keyboard") == 0))))
566 bus_intr_establish(zsc->zsc_bustag, pri, IPL_SERIAL, zshard, zsc);
568 evcnt_attach_dynamic(&zsc->zsc_intrcnt, EVCNT_TYPE_INTR, NULL,
569 device_xname(zsc->zsc_dev), "intr");
575 cs = zsc->zsc_cs[0];
590 if (zsc->zsc_promunit == 1) {
620 struct zsc_softc *zsc = arg;
624 rr3 = zsc_intr_hard(zsc);
628 zsc->zsc_intrcnt.ev_count++;
630 if (zsc->zsc_cs[0]->cs_softreq || zsc->zsc_cs[1]->cs_softreq)
631 softint_schedule(zsc->zsc_sicookie);