Home | History | Annotate | Download | only in sbus

Lines Matching refs:fg

229 mgx_set_fg(struct mgx_softc *sc, uint32_t fg)
231 if (fg == sc->sc_r_fg) return;
232 sc->sc_r_fg = fg;
234 mgx_write_4(sc, ATR_FG, fg);
675 mgx_rectfill(void *cookie, int x, int y, int wi, int he, long fg)
684 col = scr->scr_ri.ri_devcmap[fg];
704 uint32_t fg, bg;
711 fg = (attr >> 24) & 0xf;
719 mgx_rectfill(sc, x, y + he - 2, wi, 1, fg);
740 mgx_rectfill(sc, x, y + he - 2, wi, 1, fg);
751 uint32_t fg, bg, scratch = ((sc->sc_stride * sc->sc_height) + 7) & ~7;
758 fg = (attr >> 24) & 0xf;
772 mgx_rectfill(sc, x, y + he - 2, wi, 1, fg);
776 mgx_set_fg(sc, ri->ri_devcmap[fg]);
821 mgx_rectfill(sc, x, y + he - 2, wi, 1, fg);