Home | History | Annotate | Download | only in vr

Lines Matching defs:vu

314 	const struct vrip_unit *vu;
320 vu = &sc->sc_units[unit];
323 vu->vu_clkmask, onoff);
331 const struct vrip_unit *vu;
336 vu = &sc->sc_units[unit];
337 ih = &sc->sc_intrhands[vu->vu_intr[line]];
342 ih->ih_unit = vu;
422 const struct vrip_unit *vu = ih->ih_unit;
425 if (vu->vu_mlreg) {
426 DPRINTF(("level1[%d] level2 mask:", vu->vu_intr[0]));
427 reg = bus_space_read_2(sc->sc_iot, sc->sc_ioh, vu->vu_mlreg);
428 if (vu->vu_mhreg) { /* GIU [16:31] case only */
430 vu->vu_mhreg) << 16);
444 const struct vrip_unit *vu = ih->ih_unit;
448 vu->vu_lreg);
450 vu->vu_hreg) << 16)&0xffff0000);
462 const struct vrip_unit *vu = ih->ih_unit;
470 if (vu->vu_mlreg) {
471 reg = bus_space_read_2(sc->sc_iot, sc->sc_ioh, vu->vu_mlreg);
476 bus_space_write_2(sc->sc_iot, sc->sc_ioh, vu->vu_mlreg, reg);
477 if (vu->vu_mhreg != 0) { /* GIU [16:31] case only */
479 vu->vu_mhreg);
485 vu->vu_mhreg, reg);