Lines Matching defs:regr
350 static inline uint32_t regr(struct machfb_softc *, uint32_t);
357 regr(struct machfb_softc *sc, uint32_t index)
401 while ((regr(sc, FIFO_STAT) & 0xffff) > (0x8000 >> v))
410 while ((regr(sc, GUI_STAT) & 1) != 0)
532 if ((regr(sc, CONFIG_CHIP_ID) & 0xffff) != sc->sc_chip_id)
586 sc->sc_memtype = regr(sc, CONFIG_STAT0) & 0x07;
820 crtc_gen_cntl = (regr(sc, CRTC_GEN_CNTL) | CRTC_EXT_DISP_EN | CRTC_EN) &
1121 if ((regr(sc, GEN_TEST_CNTL) & CRTC_DBL_SCAN_EN) != 0)
1378 regr(sc, GEN_TEST_CNTL) | HWCURSOR_ENABLE);
1381 regr(sc, GEN_TEST_CNTL) &~ HWCURSOR_ENABLE);
1425 tmp = regr(sc, MEM_CNTL);
1448 regw(sc, GEN_TEST_CNTL, regr(sc, GEN_TEST_CNTL) & ~GUI_ENGINE_ENABLE);
1451 regw(sc, GEN_TEST_CNTL, regr(sc, GEN_TEST_CNTL) | GUI_ENGINE_ENABLE);
1457 regw(sc, BUS_CNTL, regr(sc, BUS_CNTL) | BUS_HOST_ERR_ACK |
1526 regw(sc, DAC_CNTL, regr(sc, DAC_CNTL) | DAC_8BIT_EN);
1532 regw(sc, DAC_CNTL, regr(sc, DAC_CNTL) | DAC_8BIT_EN);
1538 regw(sc, CRTC_INT_CNTL, regr(sc, CRTC_INT_CNTL) & ~0x20);
1552 regw(sc, CRTC_OFF_PITCH, (regr(sc, CRTC_OFF_PITCH) & 0xfff00000) |