Lines Matching refs:tg_tp
971 idx = p->tp_col + p->tp_row * state->tg_tp.tp_col; in gfx_fb_putchar()
972 if (idx >= state->tg_tp.tp_col * state->tg_tp.tp_row) in gfx_fb_putchar()
1015 row = &screen_buffer[p.tp_row * state->tg_tp.tp_col]; in gfx_fb_fill()
1043 if (p.tp_col >= state->tg_tp.tp_col) in gfx_fb_cursor_draw()
1044 p.tp_col = state->tg_tp.tp_col - 1; in gfx_fb_cursor_draw()
1045 if (p.tp_row >= state->tg_tp.tp_row) in gfx_fb_cursor_draw()
1046 p.tp_row = state->tg_tp.tp_row - 1; in gfx_fb_cursor_draw()
1047 idx = p.tp_col + p.tp_row * state->tg_tp.tp_col; in gfx_fb_cursor_draw()
1048 if (idx >= state->tg_tp.tp_col * state->tg_tp.tp_row) in gfx_fb_cursor_draw()
1194 soffset = s->tp_col + s->tp_row * state->tg_tp.tp_col; in gfx_fb_copy_line()
1195 doffset = d->tp_col + d->tp_row * state->tg_tp.tp_col; in gfx_fb_copy_line()
1242 if (p->tp_row + nrow > state->tg_tp.tp_row || in gfx_fb_copy()
1243 p->tp_col + ncol > state->tg_tp.tp_col) in gfx_fb_copy()
1246 soffset = r->tr_begin.tp_col + r->tr_begin.tp_row * state->tg_tp.tp_col; in gfx_fb_copy()
1247 doffset = p->tp_col + p->tp_row * state->tg_tp.tp_col; in gfx_fb_copy()
2206 teken_pos_t *tp = &state->tg_tp; in setup_font()