uni_wr_mask
uni_wr_mask(sc, VIASR, SR15, 0xae, 0xfe);
uni_wr_mask(sc, VIASR, SR15, 0xb6, 0xfe);
uni_wr_mask(sc, VIASR, SR15, 0x22, 0xfe);
uni_wr_mask(sc, VIACR, CR17, 0x00, BIT7);
uni_wr_mask(sc, VIACR, CR17, 0x80, BIT7);
uni_wr_mask(sc, VIASR, SR40, 0x02, BIT1);
uni_wr_mask(sc, VIASR, SR40, 0x00, BIT1);
uni_wr_mask(sc, VIASR, SR1A, 0x00, BIT0);
uni_wr_mask(sc, VIASR, SR18, 0x00, BIT7+BIT6);
uni_wr_mask(sc, VIASR, SR18, 0xc0, BIT7+BIT6);
static void uni_wr_mask(struct unichromefb_softc *, int, uint8_t,
uni_wr_mask(sc, VIASR, SR16, 0x00, BIT6);
uni_wr_mask(sc, VIACR, CR11, BIT7, BIT7);
uni_wr_mask(sc, VIACR, CR11, 0, BIT7);
uni_wr_mask(sc, VIACR, CR47, 0, BIT0);
uni_wr_mask(sc, VIACR, CR36, 0, BIT5+BIT4);
uni_wr_mask(sc, VIACR, CR36, BIT5+BIT4, BIT5+BIT4);
uni_wr_mask(sc, VIASR, SR01, 0, BIT5);
uni_wr_mask(sc, VIASR, SR01, 0x20, BIT5);
uni_wr_mask(sc, VIACR, CR48, 0x00, BIT0 + BIT1);
uni_wr_mask(sc, VIACR, CR11, 0x00, BIT4+BIT5+BIT6);
uni_wr_mask(sc, VIACR, CR17, 0x00, BIT7);
uni_wr_mask(sc, VIACR, CR17, 0x80, BIT7);
uni_wr_mask(sc, VIACR, cridx, data, regmask);
uni_wr_mask(sc, VIASR, cridx, data, regmask);
uni_wr_mask(sc, VIACR, CR03, 0x80, BIT7);
uni_wr_mask(sc, VIACR, CR07, 0x10, BIT4);
uni_wr_mask(sc, VIACR, CR09, 0x40, BIT6);
uni_wr_mask(sc, VIACR, CR35, 0x10, BIT4);
uni_wr_mask(sc, VIACR, CR33, 0x06, BIT0+BIT1+BIT2);