Lines Matching refs:row
917 hpcfb_cursor(void *cookie, int on, int row, int col) in hpcfb_cursor() argument
923 dc->dc_cury = row; in hpcfb_cursor()
929 hpcfb_cursor_raw(cookie, on, row, col); in hpcfb_cursor()
933 hpcfb_cursor_raw(void *cookie, int on, int row, int col) in hpcfb_cursor_raw() argument
957 yoff = row * ri->ri_font->fontheight; in hpcfb_cursor_raw()
963 rasops_emul.cursor(ri, on, row, col); in hpcfb_cursor_raw()
983 hpcfb_tv_putchar(struct hpcfb_devconfig *dc, int row, int col, u_int uc, in hpcfb_tv_putchar() argument
987 struct hpcfb_vchar *vc = &vscn[row].col[col]; in hpcfb_tv_putchar()
995 if (row < dc->dc_min_row) in hpcfb_tv_putchar()
996 dc->dc_min_row = row; in hpcfb_tv_putchar()
997 if (row > dc->dc_max_row) in hpcfb_tv_putchar()
998 dc->dc_max_row = row; in hpcfb_tv_putchar()
1001 if (vscn[row].maxcol +1 == col) in hpcfb_tv_putchar()
1002 vscn[row].maxcol = col; in hpcfb_tv_putchar()
1003 else if (vscn[row].maxcol < col) { in hpcfb_tv_putchar()
1004 vcb = &vscn[row].col[vscn[row].maxcol+1]; in hpcfb_tv_putchar()
1006 sizeof(struct hpcfb_vchar)*(col-vscn[row].maxcol-1)); in hpcfb_tv_putchar()
1007 vscn[row].maxcol = col; in hpcfb_tv_putchar()
1018 hpcfb_putchar(void *cookie, int row, int col, u_int uc, long attr) in hpcfb_putchar() argument
1028 hpcfb_tv_putchar(dc, row, col, uc, attr); in hpcfb_putchar()
1047 yoff = row * ri->ri_font->fontheight; in hpcfb_putchar()
1055 rasops_emul.putchar(ri, row, col, uc, attr); in hpcfb_putchar()
1066 hpcfb_tv_copycols(struct hpcfb_devconfig *dc, int row, int srccol, int dstcol, in hpcfb_tv_copycols() argument
1070 struct hpcfb_vchar *svc = &vscn[row].col[srccol]; in hpcfb_tv_copycols()
1071 struct hpcfb_vchar *dvc = &vscn[row].col[dstcol]; in hpcfb_tv_copycols()
1078 if (row < dc->dc_min_row) in hpcfb_tv_copycols()
1079 dc->dc_min_row = row; in hpcfb_tv_copycols()
1080 if (row > dc->dc_max_row) in hpcfb_tv_copycols()
1081 dc->dc_max_row = row; in hpcfb_tv_copycols()
1085 if (vscn[row].maxcol < srccol+ncols-1) in hpcfb_tv_copycols()
1086 vscn[row].maxcol = srccol+ncols-1; in hpcfb_tv_copycols()
1087 if (vscn[row].maxcol < dstcol+ncols-1) in hpcfb_tv_copycols()
1088 vscn[row].maxcol = dstcol+ncols-1; in hpcfb_tv_copycols()
1096 hpcfb_copycols(void *cookie, int row, int srccol, int dstcol, int ncols) in hpcfb_copycols() argument
1105 hpcfb_tv_copycols(dc, row, srccol, dstcol, ncols); in hpcfb_copycols()
1123 srcyoff = row * ri->ri_font->fontheight; in hpcfb_copycols()
1125 dstyoff = row * ri->ri_font->fontheight; in hpcfb_copycols()
1131 rasops_emul.copycols(ri, row, srccol, dstcol, ncols); in hpcfb_copycols()
1144 int row, int startcol, int ncols, long attr) in hpcfb_tv_erasecols() argument
1153 if (row < dc->dc_min_row) in hpcfb_tv_erasecols()
1154 dc->dc_min_row = row; in hpcfb_tv_erasecols()
1155 if (row > dc->dc_max_row) in hpcfb_tv_erasecols()
1156 dc->dc_max_row = row; in hpcfb_tv_erasecols()
1159 vscn[row].maxcol = startcol-1; in hpcfb_tv_erasecols()
1160 if (vscn[row].spacecol < startcol+ncols-1) in hpcfb_tv_erasecols()
1161 vscn[row].spacecol = startcol+ncols-1; in hpcfb_tv_erasecols()
1169 hpcfb_erasecols(void *cookie, int row, int startcol, int ncols, long attr) in hpcfb_erasecols() argument
1177 hpcfb_tv_erasecols(dc, row, startcol, ncols, attr); in hpcfb_erasecols()
1195 yoff = row * ri->ri_font->fontheight; in hpcfb_erasecols()
1201 rasops_emul.erasecols(ri, row, startcol, ncols, attr); in hpcfb_erasecols()
1260 hpcfb_redraw(void *cookie, int row, int num, int all) in hpcfb_redraw() argument
1299 cols = vscn[row+i].maxcol; in hpcfb_redraw()
1305 svc = &vscn[row+i].col[j]; in hpcfb_redraw()
1306 rasops_emul.putchar(ri, row + i, j, svc->c, svc->attr); in hpcfb_redraw()
1311 cols = vscn[row+i].spacecol; in hpcfb_redraw()
1317 rasops_emul.putchar(ri, row + i, j, ' ', 0); in hpcfb_redraw()
1319 vscn[row+i].spacecol = 0; in hpcfb_redraw()
1464 int row, int nrow, long attr) in hpcfb_tv_eraserows() argument
1476 if (row < dc->dc_min_row) in hpcfb_tv_eraserows()
1477 dc->dc_min_row = row; in hpcfb_tv_eraserows()
1478 if (row + nrow > dc->dc_max_row) in hpcfb_tv_eraserows()
1479 dc->dc_max_row = row + nrow; in hpcfb_tv_eraserows()
1483 cols = vscn[row+i].maxcol; in hpcfb_tv_eraserows()
1484 if (vscn[row+i].spacecol < cols) in hpcfb_tv_eraserows()
1485 vscn[row+i].spacecol = cols; in hpcfb_tv_eraserows()
1486 vscn[row+i].maxcol = -1; in hpcfb_tv_eraserows()
1494 hpcfb_eraserows(void *cookie, int row, int nrow, long attr) in hpcfb_eraserows() argument
1503 hpcfb_tv_eraserows(dc, row, nrow, attr); in hpcfb_eraserows()
1520 yoff = row * ri->ri_font->fontheight; in hpcfb_eraserows()
1526 rasops_emul.eraserows(ri, row, nrow, attr); in hpcfb_eraserows()