Searched refs:atr_mode (Results 1 – 2 of 2) sorted by relevance
1155 unsigned char atr_mode; in vgatext_init() local1157 atr_mode = vga_get_atr(&softc->regs, VGA_ATR_MODE); in vgatext_init()1158 if (atr_mode & VGA_ATR_MODE_GRAPH) in vgatext_init()1160 atr_mode = vga_get_atr(&softc->regs, VGA_ATR_MODE); in vgatext_init()1161 atr_mode &= ~VGA_ATR_MODE_BLINK; in vgatext_init()1162 atr_mode &= ~VGA_ATR_MODE_9WIDE; in vgatext_init()1163 vga_set_atr(&softc->regs, VGA_ATR_MODE, atr_mode); in vgatext_init()
1281 unsigned char atr_mode; in vgatext_init() local1283 atr_mode = vga_get_atr(&softc->regs, VGA_ATR_MODE); in vgatext_init()1284 if (atr_mode & VGA_ATR_MODE_GRAPH) in vgatext_init()1286 atr_mode = vga_get_atr(&softc->regs, VGA_ATR_MODE); in vgatext_init()1287 atr_mode &= ~VGA_ATR_MODE_BLINK; in vgatext_init()1288 atr_mode &= ~VGA_ATR_MODE_9WIDE; in vgatext_init()1289 vga_set_atr(&softc->regs, VGA_ATR_MODE, atr_mode); in vgatext_init()