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