Lines Matching refs:cursor_offset
1199 uint32_t offset, fgcol, bgcol, v, cursor_offset; in vga_draw_text() local
1268 cursor_offset = ((s->cr[VGA_CRTC_CURSOR_HI] << 8) | in vga_draw_text()
1270 if (cursor_offset != s->cursor_offset || in vga_draw_text()
1275 if (s->cursor_offset < CH_ATTR_SIZE) in vga_draw_text()
1276 s->last_ch_attr[s->cursor_offset] = -1; in vga_draw_text()
1277 if (cursor_offset < CH_ATTR_SIZE) in vga_draw_text()
1278 s->last_ch_attr[cursor_offset] = -1; in vga_draw_text()
1279 s->cursor_offset = cursor_offset; in vga_draw_text()
1283 cursor_ptr = s->vram_ptr + (s->params.start_addr + cursor_offset) * 4; in vga_draw_text()
1875 s->cursor_offset = 0; in vga_common_reset()
1905 int graphic_mode, i, cursor_offset, cursor_visible; in vga_update_text() local
1986 cursor_offset = ((s->cr[VGA_CRTC_CURSOR_HI] << 8) | in vga_update_text()
1988 if (cursor_offset != s->cursor_offset || in vga_update_text()
1992 if (cursor_visible && cursor_offset < size && cursor_offset >= 0) in vga_update_text()
1994 TEXTMODE_X(cursor_offset), in vga_update_text()
1995 TEXTMODE_Y(cursor_offset)); in vga_update_text()
1998 s->cursor_offset = cursor_offset; in vga_update_text()