| /netbsd-src/sys/arch/vax/vsa/ |
| H A D | spx.c | 303 #define QFONT_INDEX(c, line) (QCHAR(c) * spx_font.fontheight + line) 319 (row) * spx_font.fontheight * spx_xsize + \ 712 LO(row * spx_font.fontheight + CUR_YBIAS)); in spx_cursor() 714 HI(row * spx_font.fontheight + CUR_YBIAS)); in spx_cursor() 753 SPX_REG(SPX_YSTART) = (row * spx_font.fontheight) << 16; in SPX_putchar() 755 SPX_REG(SPX_YEND) = ((row + 1) * spx_font.fontheight) << 16; in SPX_putchar() 761 row * spx_font.fontheight); in SPX_putchar() 763 + (c * spx_font.fontheight * spx_font.fontwidth); in SPX_putchar() 794 SPXg_REG(SPX_YSTART) = (row * spx_font.fontheight) << 16; in SPXg_putchar() 798 SPXg_REG(SPX_YEND) = ((row + 1) * spx_font.fontheight) << 16; in SPXg_putchar() [all …]
|
| H A D | lcg.c | 204 qf2[QCHAR(c) * lcg_font.fontheight + line] : \ 205 qf[QCHAR(c) * lcg_font.fontheight + line])) 207 lcgaddr[((col) * lcg_font.fontwidth) + ((row) * lcg_font.fontheight * lcg_xsize) + \ 499 ss->ss_curx].data, lcg_font.fontheight - 1); in lcg_cursor() 515 cursor = &LCG_ADDR(row, col, lcg_font.fontheight - 1, 0); in lcg_cursor() 571 lcg_font.fontwidth, lcg_font.fontheight, dot_fg, dot_bg); in lcg_putchar() 573 for (i = 0; i < lcg_font.fontheight; i++) { in lcg_putchar() 581 char *p = &LCG_ADDR(row, col, lcg_font.fontheight - 1, 0); in lcg_putchar() 605 for (i = 0; i < lcg_font.fontheight; i++) in lcg_copycols() 612 (ncols * lcg_font.fontwidth), lcg_font.fontheight); in lcg_copycols() [all …]
|
| H A D | gpx.c | 533 dy = row * font->fontheight + ri->ri_yorigin; in gpx_putchar() 537 sy = GPX_HEIGHT - (1 + uc / ss->ss_gpr) * font->fontheight; in gpx_putchar() 563 ss->ss_adder->slow_dest_dy = font->fontheight; in gpx_putchar() 568 ss->ss_adder->source_1_dy = font->fontheight; in gpx_putchar() 572 gpx_fillrect(ss, dx, dy + font->fontheight - 2, font->fontwidth, in gpx_putchar() 588 y = ri->ri_yorigin + row * font->fontheight; in gpx_copycols() 589 h = font->fontheight; in gpx_copycols() 604 y = ri->ri_yorigin + row * font->fontheight; in gpx_erasecols() 605 dy = font->fontheight; in gpx_erasecols() 620 sy = ri->ri_yorigin + src * font->fontheight; in gpx_copyrows() [all...] |
| /netbsd-src/sys/arch/amiga/dev/ |
| H A D | amidisplaycc.c | 189 #define ADCC_SCREEN(name, width, height, depth, fontwidth, fontheight) \ argument 194 height / fontheight, \ 195 &amidisplaycc_emulops, fontwidth, fontheight, \ 304 int fontheight; member 464 amidisplaycc_screentab[0].wsdescr.fontheight; in amidisplaycc_attach() 556 for (i = scr->fontheight ; i > 0 ; i--) { in amidisplaycc_cursor_xor() 586 int fontheight; in amidisplaycc_putchar() local 630 fontheight = uimin(scr->fontheight, scr->wsfont->fontheight); in amidisplaycc_putchar() 638 fontreal += scr->wsfont->fontheight * (ch - fontlow); in amidisplaycc_putchar() 651 for (j = 0 ; j < fontheight ; j++) { in amidisplaycc_putchar() [all …]
|
| H A D | mntva.c | 284 rasops_reconfig(ri, sc->sc_height / ri->ri_font->fontheight, in mntva_init_screen() 399 ys = ri->ri_yorigin + ri->ri_font->fontheight * srcrow; in mntva_copyrows() 400 yd = ri->ri_yorigin + ri->ri_font->fontheight * dstrow; in mntva_copyrows() 402 he = ri->ri_font->fontheight * nrows; in mntva_copyrows() 426 y = ri->ri_yorigin + ri->ri_font->fontheight * row; in mntva_eraserows() 428 he = ri->ri_font->fontheight * nrows; in mntva_eraserows() 449 y = ri->ri_yorigin + ri->ri_font->fontheight * row; in mntva_copycols() 451 h = ri->ri_font->fontheight; in mntva_copycols() 471 y = ri->ri_yorigin + ri->ri_font->fontheight * row; in mntva_erasecols() 473 h = ri->ri_font->fontheight; in mntva_erasecols() [all …]
|
| /netbsd-src/sys/dev/rasops/ |
| H A D | rasops.c | 346 ri->ri_optfont.fontheight * ri->ri_optfont.numchars); in rasops_reconfig() 354 ri->ri_optfont.fontheight = ri->ri_font->fontheight; in rasops_reconfig() 356 len = ri->ri_optfont.fontheight * ri->ri_optfont.stride * in rasops_reconfig() 409 ri->ri_emuheight = ri->ri_font->fontheight * wantrows; in rasops_reconfig() 424 ri->ri_cols = ri->ri_emuheight / ri->ri_font->fontheight; in rasops_reconfig() 429 ri->ri_rows = ri->ri_emuheight / ri->ri_font->fontheight; in rasops_reconfig() 437 ri->ri_yscale = ri->ri_font->fontheight * ri->ri_stride; in rasops_reconfig() 438 ri->ri_fontscale = ri->ri_font->fontheight * ri->ri_font->stride; in rasops_reconfig() 486 height = ri->ri_font->fontheight; in rasops_reconfig() 725 num *= ri->ri_font->fontheight; in rasops_copyrows() [all …]
|
| /netbsd-src/sys/arch/sgimips/gio/ |
| H A D | light.c | 137 .fontheight = 16, 403 ((ch - font->firstchar) * font->fontheight * font->stride); in light_putchar() 405 y = row * font->fontheight; in light_putchar() 410 rex_write(dc, REX_PAGE0_SET, REX_P0REG_YENDI, y + font->fontheight - 1); in light_putchar() 424 for (i = 0; i < font->fontheight; i++) { in light_putchar() 441 from_y = row * font->fontheight; in light_copycols() 445 height = font->fontheight; in light_copycols() 459 from_y = row * font->fontheight; in light_erasecols() 461 to_y = from_y + font->fontheight - 1; in light_erasecols() 475 from_y = srcrow * font->fontheight; in light_copyrows() [all …]
|
| H A D | newport.c | 112 .fontheight = 16, 665 rasops_reconfig(ri, ri->ri_height / ri->ri_font->fontheight, in newport_cnattach() 700 rasops_reconfig(ri, dc->dc_yres / ri->ri_font->fontheight, in newport_init_screen() 727 he = ri->ri_font->fontheight; in newport_cursor() 756 font->fontheight * font->stride; in newport_putchar() 760 int y = row * font->fontheight + ri->ri_yorigin; in newport_putchar() 789 for (i = 0; i < font->fontheight; i++) { in newport_putchar() 798 for (i = 0; i < font->fontheight; i++) { in newport_putchar() 820 y = ri->ri_yorigin + ri->ri_font->fontheight * row; in newport_copycols() 822 height = ri->ri_font->fontheight; in newport_copycols() [all …]
|
| H A D | grtwo.c | 139 .fontheight = 16, 569 row * dc->dc_fontdata->fontheight); in grtwo_cursor() 603 …u_int8_t *bitmap = (u_int8_t *) font->data + (ch - font->firstchar + 1) * font->fontheight … in grtwo_putchar() 607 int y = dc->yres - ( (row + 1) * font->fontheight); in grtwo_putchar() 622 bus_space_write_4(dc->iot, dc->ioh, GR2_FIFO_DATA, font->fontheight); in grtwo_putchar() 629 for (i = 0; i < font->fontheight; i++) { in grtwo_putchar() 638 for (i = font->fontheight; i < 18; i++) in grtwo_putchar() 682 srcrow * font->fontheight, /* y1 */ in grtwo_copyrows() 684 dstrow * font->fontheight, /* y2 */ in grtwo_copyrows() 686 nrows * font->fontheight); in grtwo_copyrows() [all …]
|
| /netbsd-src/sys/arch/hp300/dev/ |
| H A D | diofb.c | 221 fb->wsd.fontheight = ri->ri_font->fontheight; in diofb_fbsetup() 369 row *= ri->ri_font->fontheight; in diofb_copycols() 373 n, ri->ri_font->fontheight, RR_COPY, 0xff); in diofb_copycols() 382 n *= ri->ri_font->fontheight; in diofb_copyrows() 383 src *= ri->ri_font->fontheight; in diofb_copyrows() 384 dst *= ri->ri_font->fontheight; in diofb_copyrows() 404 srow = row * ri->ri_font->fontheight + ri->ri_yorigin; in diofb_erasecols() 411 ri->ri_font->fontheight, RR_CLEAR, 0xff ^ bg) != 0) in diofb_erasecols() 431 srow = row * ri->ri_font->fontheight + ri->ri_yorigin; in diofb_eraserows() 432 snum = num * ri->ri_font->fontheight; in diofb_eraserows() [all …]
|
| /netbsd-src/sys/arch/usermode/dev/ |
| H A D | vncfb.c | 144 .fontheight = 16, 305 rasops_reconfig(ri, sc->sc_height / ri->ri_font->fontheight, in vncfb_init_screen() 337 y = ri->ri_yorigin + (row * ri->ri_font->fontheight); in vncfb_putchar() 339 h = ri->ri_font->fontheight; in vncfb_putchar() 355 y = ri->ri_yorigin + (row * ri->ri_font->fontheight); in vncfb_copycols() 356 h = ri->ri_font->fontheight; in vncfb_copycols() 380 y = ri->ri_yorigin + (row * ri->ri_font->fontheight); in vncfb_erasecols() 381 h = ri->ri_font->fontheight; in vncfb_erasecols() 397 int fontheight; in vncfb_copyrows() local 406 fontheight = ri->ri_font->fontheight; in vncfb_copyrows() [all …]
|
| /netbsd-src/sys/dev/pci/ |
| H A D | wcfb.c | 519 rasops_reconfig(ri, sc->sc_height / ri->ri_font->fontheight, in wcfb_init_screen() 552 int offset = (ri->ri_yorigin + row * ri->ri_font->fontheight) * in wcfb_putchar() 561 for (i = 0; i < ri->ri_font->fontheight; i++) { in wcfb_putchar() 627 int offset = (ri->ri_yorigin + row * ri->ri_font->fontheight) * in wcfb_copycols() 636 for (i = 0; i < ri->ri_font->fontheight; i++) { in wcfb_copycols() 651 int offset = (ri->ri_yorigin + row * ri->ri_font->fontheight) * in wcfb_erasecols() 660 for (i = 0; i < ri->ri_font->fontheight; i++) { in wcfb_erasecols() 676 int offset = (ri->ri_yorigin + dstrow * ri->ri_font->fontheight) * in wcfb_copyrows() 686 for (i = 0; i < ri->ri_font->fontheight * nrows; i++) { in wcfb_copyrows() 701 int offset = (ri->ri_yorigin + row * ri->ri_font->fontheight) * in wcfb_eraserows() [all …]
|
| H A D | lynxfb.c | 527 rasops_reconfig(ri, fb->height / ri->ri_font->fontheight, in lynxfb_init_screen() 583 rasops_reconfig(ri, ri->ri_height / ri->ri_font->fontheight, in lynxfb_setup() 591 fb->wsd.fontheight = ri->ri_font->fontheight; in lynxfb_setup() 685 num *= f->fontheight; in lynxfb_copyrows1() 686 src *= f->fontheight; in lynxfb_copyrows1() 687 dst *= f->fontheight; in lynxfb_copyrows1() 702 row *= f->fontheight; in lynxfb_copycols1() 705 ri->ri_xorigin + dst, ri->ri_yorigin + row, num, f->fontheight); in lynxfb_copycols1() 715 row *= f->fontheight; in lynxfb_erasecols1() 721 num, f->fontheight, bg); in lynxfb_erasecols1() [all …]
|
| /netbsd-src/usr.sbin/wsfontload/ |
| H A D | wsfontload.c | 149 f.fontheight = DEFHEIGHT; in main() 171 if (sscanf(optarg, "%d", &f.fontheight) != 1) in main() 236 len = f.fontheight * f.numchars * f.stride; in main() 261 f.fontheight = le32toh(foo); in main() 268 len = f.numchars * f.fontheight * f.stride; in main() 293 printf("fontheight: %d\n", f.fontheight); in main()
|
| /netbsd-src/sys/dev/wsfont/ |
| H A D | wsfontdev.c | 87 DPRINTF("%s %dx%d\n", f->name, f->fontwidth, f->fontheight); in fontmatchfunc() 92 fd.fd_height = f->fontheight; in fontmatchfunc() 136 buf = malloc(d->fontheight * d->stride * d->numchars, in wsfontioctl() 139 d->fontheight * d->stride * d->numchars); in wsfontioctl()
|
| H A D | wsfont.c | 390 m = p + font->stride * font->numchars * font->fontheight; in wsfont_revbit() 406 nr = font->numchars * font->fontheight; in wsfont_revbyte() 431 cb(f->name, f->fontwidth, f->fontheight, f->stride); in wsfont_enum() 459 newstride = alpha ? font->fontheight : howmany(font->fontheight, 8); in wsfont_rotate_internal() 470 (n * font->stride * font->fontheight); in wsfont_rotate_internal() 473 for (h = 0; h < font->fontheight; h++) { in wsfont_rotate_internal() 510 newfont->fontwidth = font->fontheight; in wsfont_rotate_internal() 511 newfont->fontheight = font->fontwidth; in wsfont_rotate_internal() 553 ncookie = wsfont_find(font->name, font->fontwidth, font->fontheight, in wsfont_rotate() 613 if (height != 0 && font->fontheight != height) in wsfont_matches() [all …]
|
| /netbsd-src/sys/dev/ic/ |
| H A D | ct65550.c | 265 ri->ri_font->fontheight, in chipsfb_do_attach() 280 ri->ri_font->fontheight, in chipsfb_do_attach() 414 he = ri->ri_font->fontheight; in chipsfb_cursor() 457 y = ri->ri_yorigin + ri->ri_font->fontheight * row; in chipsfb_copycols() 459 height = ri->ri_font->fontheight; in chipsfb_copycols() 475 y = ri->ri_yorigin + ri->ri_font->fontheight * row; in chipsfb_erasecols() 477 height = ri->ri_font->fontheight; in chipsfb_erasecols() 494 ys = ri->ri_yorigin + ri->ri_font->fontheight * srcrow; in chipsfb_copyrows() 495 yd = ri->ri_yorigin + ri->ri_font->fontheight * dstrow; in chipsfb_copyrows() 497 height = ri->ri_font->fontheight * nrows; in chipsfb_copyrows() [all …]
|
| /netbsd-src/sys/arch/evbppc/explora/dev/ |
| H A D | fb_elb.c | 413 row *= ri->ri_font->fontheight; in fb_eraserows() 414 nrows *= ri->ri_font->fontheight; in fb_eraserows() 425 row *= ri->ri_font->fontheight; in fb_erasecols() 429 s3_fill(fb, startcol, row, ncols, ri->ri_font->fontheight, in fb_erasecols() 439 srcrow *= ri->ri_font->fontheight; in fb_copyrows() 440 dstrow *= ri->ri_font->fontheight; in fb_copyrows() 441 nrows *= ri->ri_font->fontheight; in fb_copyrows() 452 row *= ri->ri_font->fontheight; in fb_copycols() 458 ncols, ri->ri_font->fontheight, 0x0f); in fb_copycols()
|
| /netbsd-src/sys/dev/pci/voyager/ |
| H A D | voyagerfb.c | 334 ri->ri_font->fontheight, in voyagerfb_attach() 615 rasops_reconfig(ri, sc->sc_height / ri->ri_font->fontheight, in voyagerfb_init_screen() 875 he = ri->ri_font->fontheight; in voyagerfb_cursor() 944 he = font->fontheight; in voyagerfb_putchar_mono() 1006 he = font->fontheight; in voyagerfb_putchar_aa32() 1096 he = font->fontheight; in voyagerfb_putchar_aa8() 1195 y = ri->ri_yorigin + ri->ri_font->fontheight * row; in voyagerfb_copycols() 1197 height = ri->ri_font->fontheight; in voyagerfb_copycols() 1213 y = ri->ri_yorigin + ri->ri_font->fontheight * row; in voyagerfb_erasecols() 1215 height = ri->ri_font->fontheight; in voyagerfb_erasecols() [all …]
|
| /netbsd-src/sys/arch/hppa/dev/ |
| H A D | hyperfb.c | 446 ri->ri_font->fontheight, in hyperfb_attach() 530 rasops_reconfig(ri, sc->sc_height / ri->ri_font->fontheight, 1057 he = ri->ri_font->fontheight; in hyperfb_putchar() 1074 he = ri->ri_font->fontheight; in hyperfb_copycols() 1117 he = font->fontheight; in hyperfb_copyrows() 1194 y = ri->ri_yorigin + ri->ri_font->fontheight * row; 1196 height = ri->ri_font->fontheight; 1215 y = ri->ri_yorigin + ri->ri_font->fontheight * row; 1217 height = ri->ri_font->fontheight; 1243 ys = ri->ri_yorigin + ri->ri_font->fontheight * srcro [all...] |
| /netbsd-src/sys/dev/sbus/ |
| H A D | zx.c | 891 he = ri->ri_font->fontheight; in zx_do_cursor() 925 y = ri->ri_yorigin + ri->ri_font->fontheight * row; in zx_erasecols() 927 height = ri->ri_font->fontheight; in zx_erasecols() 946 y = ri->ri_yorigin + ri->ri_font->fontheight * row; in zx_eraserows() 948 height = ri->ri_font->fontheight * nrows; in zx_eraserows() 963 ys = ri->ri_yorigin + ri->ri_font->fontheight * srcrow; in zx_copyrows() 964 yd = ri->ri_yorigin + ri->ri_font->fontheight * dstrow; in zx_copyrows() 966 height = ri->ri_font->fontheight * nrows; in zx_copyrows() 980 y = ri->ri_yorigin + ri->ri_font->fontheight * row; in zx_copycols() 982 height = ri->ri_font->fontheight; in zx_copycols() [all …]
|
| H A D | tcx.c | 872 rasops_reconfig(ri, ri->ri_height / ri->ri_font->fontheight, in tcx_init_screen() 910 i = ri->ri_width * ri->ri_font->fontheight * nrows; in tcx_copyrows() 916 (ri->ri_font->fontheight * srcrow + ri->ri_yorigin); in tcx_copyrows() 919 (ri->ri_font->fontheight * dstrow + ri->ri_yorigin) + len; in tcx_copyrows() 932 (ri->ri_font->fontheight * srcrow + ri->ri_yorigin); in tcx_copyrows() 934 (ri->ri_font->fontheight * dstrow + ri->ri_yorigin); in tcx_copyrows() 956 i = ri->ri_width * ri->ri_font->fontheight * nrows; in tcx_eraserows() 960 (ri->ri_font->fontheight * start + ri->ri_yorigin); in tcx_eraserows() 992 (ri->ri_yorigin + row * font->fontheight) * ri->ri_width; in tcx_putchar() 1015 for (i = 0; i < font->fontheight; i++) { in tcx_putchar() [all …]
|
| /netbsd-src/sys/arch/luna68k/dev/ |
| H A D | omrasops.c | 113 * This number of elements is derived from howmany(1024, fontheight = 24). 465 height = ri->ri_font->fontheight; in om_putchar() 571 y = ri->ri_font->fontheight * row; in om_erasecols() 574 height = ri->ri_font->fontheight; in om_erasecols() 612 y = ri->ri_font->fontheight * startrow; in om_eraserows() 615 height = ri->ri_font->fontheight * nrows; in om_eraserows() 1113 height = ri->ri_font->fontheight * nrows; in om1_copyrows() 1114 offset = (dstrow - srcrow) * scanspan * ri->ri_font->fontheight; in om1_copyrows() 1115 srcy = ri->ri_font->fontheight * srcrow; in om1_copyrows() 1157 rowheight = ri->ri_font->fontheight; in om4_copyrows() [all...] |
| /netbsd-src/sys/arch/playstation2/ee/ |
| H A D | gsfb.c | 244 .fontheight = 16, 396 gsfb_set_cursor_pos(buf, col, row, font->fontwidth, font->fontheight); in _gsfb_cursor() 444 TRXPOS_DXY(buf, col * font->fontwidth, row * font->fontheight); in _gsfb_putchar() 456 int y = sc->sc_font->fontheight * row; in _gsfb_copycols() 489 int h = sc->sc_font->fontheight; in _gsfb_copyrows() 600 font->fontheight * font->stride; in gsfb_font_expand_psmct32() 601 for (i = 0; i < font->fontheight; i++, bitmap++) { in gsfb_font_expand_psmct32()
|
| /netbsd-src/sys/dev/sun/ |
| H A D | cgsix.c | 349 he = ri->ri_font->fontheight; in cg6_ras_nuke_cursor() 385 n *= ri->ri_font->fontheight; in cg6_ras_copyrows() 386 src *= ri->ri_font->fontheight; in cg6_ras_copyrows() 387 dst *= ri->ri_font->fontheight; in cg6_ras_copyrows() 441 row *= ri->ri_font->fontheight; in cg6_ras_copycols() 452 ri->ri_font->fontheight - 1; in cg6_ras_copycols() 457 ri->ri_font->fontheight - 1; in cg6_ras_copycols() 489 row *= ri->ri_font->fontheight; in cg6_ras_erasecols() 499 ri->ri_font->fontheight - 1; in cg6_ras_erasecols() 535 row *= ri->ri_font->fontheight; in cg6_ras_eraserows() [all …]
|