Home
last modified time | relevance | path

Searched refs:nrows (Results 1 – 25 of 41) sorted by relevance

12

/openbsd-src/sys/dev/wscons/
H A Dwsemul_dumb.c70 u_int nrows, ncols, crow, ccol; member
87 edp->nrows = type->nrows; in wsemul_dumb_cnattach()
114 edp->nrows = type->nrows; in wsemul_dumb_attach()
209 (edp->emulcookie, 0, edp->nrows, edp->defattr)); in wsemul_dumb_output()
240 if (edp->crow < edp->nrows - 1) { in wsemul_dumb_output()
246 (edp->emulcookie, n, 0, edp->nrows - n)); in wsemul_dumb_output()
249 (edp->emulcookie, edp->nrows - n, n, in wsemul_dumb_output()
315 (*edp->emulops->eraserows)(edp->emulcookie, 0, edp->nrows, in wsemul_dumb_resetop()
H A Dwsemul_sun.c104 u_int nrows, ncols, crow, ccol; member
159 #define ROWS_LEFT (edp->nrows - 1 - edp->crow)
169 edp->nrows = type->nrows; in wsemul_sun_init()
307 (edp->emulcookie, 0, edp->nrows, edp->bkgdattr)); in wsemul_sun_output_lowchars()
447 edp->crow = min(NORMALIZE(ARG(0,2)), edp->nrows) - 1; in wsemul_sun_control()
470 if (dst < edp->nrows) { in wsemul_sun_control()
472 (edp->emulcookie, src, dst, edp->nrows - dst)); in wsemul_sun_control()
484 if (src < edp->nrows) { in wsemul_sun_control()
486 (edp->emulcookie, src, dst, edp->nrows - src)); in wsemul_sun_control()
491 (edp->emulcookie, dst + edp->nrows - src, n, in wsemul_sun_control()
[all …]
H A Dwsdisplayvar.h81 int (*copyrows)(void *c, int srcrow, int dstrow, int nrows);
82 int (*eraserows)(void *c, int row, int nrows, uint32_t attr);
108 int ncols, nrows; member
H A Dwsemul_vt100_subr.c136 n = edp->nrows - edp->crow - 1; in wsemul_vt100_ed()
168 (edp->emulcookie, 0, edp->nrows, edp->bkgdattr)); in wsemul_vt100_ed()
173 memset(&edp->dblwid[0], 0, edp->nrows); in wsemul_vt100_ed()
488 edp->crow = min(DEF1_ARG(0), edp->nrows) - 1; in wsemul_vt100_handle_csi()
567 edp->crow = min(DEF1_ARG(0), edp->nrows) - 1; in wsemul_vt100_handle_csi()
729 help = min(DEF1_ARG(0), edp->nrows) - 1; in wsemul_vt100_handle_csi()
730 n = min(DEFx_ARG(1, edp->nrows), edp->nrows) - help; in wsemul_vt100_handle_csi()
H A Dwsemul_vt100.c143 edp->nrows = type->nrows; in wsemul_vt100_init()
221 edp->dblwid = malloc(edp->nrows, M_DEVBUF, M_NOWAIT | M_ZERO); in wsemul_vt100_attach()
295 edp->scrreg_nrows = edp->nrows; in wsemul_vt100_reset()
334 if ((edp->crow+1) < edp->nrows) in wsemul_vt100_nextline()
1027 for (i = 0; i < edp->nrows; i++) in wsemul_vt100_output_esc_hash()
H A Dwsmoused.h77 #define N_ROWS(dconf) ((dconf)->scrdata->nrows)
H A Dwsemul_vt100var.h37 u_int nrows, ncols, crow, ccol; member
H A Dwsdisplay.c807 KASSERT(type->nrows > 0); in wsdisplay_common_attach()
809 KASSERT(crow < type->nrows); in wsdisplay_common_attach()
837 db_resize(type->ncols, type->nrows); in wsdisplay_cnattach()
892 tp->t_winsize.ws_row = scr->scr_dconf->scrdata->nrows; in wsdisplayopen()
1272 d->nrows = sc->sc_scrdata->screens[d->idx]->nrows; in wsdisplay_internal_ioctl()
2307 lines = sc->sc_focus->scr_dconf->scrdata->nrows - 1; in wsdisplay_suspend_device()
3467 if ((current->ncols + 1) * current->nrows > size) in mouse_paste()
3468 size = (current->ncols + 1) * current->nrows; in mouse_paste()
H A Dwsconsio.h639 int ncols, nrows;
648 int ncols, nrows; global() member
/openbsd-src/games/boggle/boggle/
H A Dprtable.c68 int a, b, cols, loc, maxlen, nrows, z; in prtable() local
80 nrows = (num - 1) / cols + 1; in prtable()
81 for (a = 1; a <= nrows; a++) { in prtable()
92 b += nrows; in prtable()
107 if (row + 1 == lastline && a != nrows) { in prtable()
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D991214-2.c8 extern int nrows;
23 for(i=0; i<nrows; i++){ in cmd_connection_statistics()
/openbsd-src/sys/dev/ic/
H A Dpcdisplay_subr.c249 pcdisplay_copyrows(void *id, int srcrow, int dstrow, int nrows) in pcdisplay_copyrows() argument
266 nrows * ncols); in pcdisplay_copyrows()
269 nrows * ncols * 2); in pcdisplay_copyrows()
276 pcdisplay_eraserows(void *id, int startrow, int nrows, uint32_t fillattr) in pcdisplay_eraserows() argument
286 count = nrows * scr->type->ncols; in pcdisplay_eraserows()
H A Dvga.c409 scr->maxdispoffset = 0x8000 - type->nrows * type->ncols * 2; in vga_init_screen()
416 if (cpos < 0 || cpos >= type->nrows * type->ncols) in vga_init_screen()
684 scr->pcs.type->nrows * 2, M_DEVBUF, M_WAITOK); in vga_alloc_screen()
696 type->nrows * 2, M_DEVBUF, M_WAITOK); in vga_alloc_screen()
697 pcdisplay_eraserows(&scr->pcs, 0, type->nrows, *defattrp); in vga_alloc_screen()
815 oldtype->ncols * oldtype->nrows); in vga_doswitch()
835 type->ncols * type->nrows); in vga_doswitch()
964 scr->pcs.type->nrows * 2); in vga_scrollback()
1041 vga_copyrows(void *id, int srcrow, int dstrow, int nrows) in vga_copyrows() argument
1055 if (dstrow == 0 && (srcrow + nrows == scr->pcs.type->nrows)) { in vga_copyrows()
[all …]
H A Dvga_subr.c128 vga_6845_write(vh, vde, type->fontheight * type->nrows - 1); in vga_setscreentype()
H A Dsti.c681 scr->scr_wsd.nrows = inq.height / scr->scr_curfont.height; in sti_screen_setup()
838 0, scr->scr_wsd.nrows - 1, defattr); in sti_fetchfonts()
1472 sti_copyrows(void *v, int srcrow, int dstrow, int nrows) in ngle_default_putcmap()
1478 nrows * fp->height, scr->scr_cfg.scr_width, bmf_copy);
1484 sti_eraserows(void *v, int srcrow, int nrows, uint32_t attr)
1490 nrows * fp->height, scr->scr_cfg.scr_width, bmf_clear); in ngle_artist_setupfb()
1413 sti_copyrows(void * v,int srcrow,int dstrow,int nrows) sti_copyrows() argument
1425 sti_eraserows(void * v,int srcrow,int nrows,uint32_t attr) sti_eraserows() argument
/openbsd-src/sys/dev/pci/
H A Dvga_pci.c386 scr->pcs.type->ncols * scr->pcs.type->nrows); in vga_save_state()
452 scr->pcs.type->ncols * scr->pcs.type->nrows); in vga_restore_state()
H A Dtga.c398 tga_stdscreen.nrows = rip->ri_rows;
1066 tga_copyrows(id, srcrow, dstrow, nrows)
1068 int srcrow, dstrow, nrows; in tga_copyrows()
1075 ny = ri->ri_font->fontheight * nrows;
1067 tga_copyrows(id,srcrow,dstrow,nrows) tga_copyrows() argument
/openbsd-src/sys/dev/fdt/
H A Dsimplefb.c176 sc->sc_wsd.nrows = ri->ri_rows; in simplefb_attach()
364 simplefb_wsd.nrows = ri->ri_rows; in simplefb_init_cons()
/openbsd-src/sys/dev/pcmcia/
H A Dcfxga.c493 if (type->nrows == 0) /* first screen creation */ in cfxga_alloc_screen()
496 rasops_init(ri, type->nrows, type->ncols); in cfxga_alloc_screen()
522 if (type->nrows == 0) { in cfxga_alloc_screen()
525 wsd->nrows = ri->ri_rows; in cfxga_alloc_screen()
/openbsd-src/sys/arch/armv7/omap/
H A Domdisplay.c1129 if (descr->c.nrows == 0) { in omdisplay_setup_rasops()
1134 rasops_init(rinfo, descr->c.ncols, descr->c.nrows); in omdisplay_setup_rasops()
1136 rasops_init(rinfo, descr->c.nrows, descr->c.ncols); in omdisplay_setup_rasops()
1139 descr->c.nrows = rinfo->ri_rows; in omdisplay_setup_rasops()
/openbsd-src/sys/arch/amd64/amd64/
H A Defifb.c196 efifb_std_descr.nrows = ri->ri_rows; in efifb_attach()
388 efifb_std_descr.nrows = ri->ri_rows; in efifb_cnattach_common()
/openbsd-src/sys/arch/powerpc64/dev/
H A Dastfb.c163 sc->sc_wsd.nrows = ri->ri_rows; in astfb_attach()
/openbsd-src/sys/arch/armv7/exynos/
H A Dexdisplay.c221 descr->nrows = rinfo->ri_rows; in exdisplay_setup_rasops()
/openbsd-src/sys/dev/isa/
H A Dpcdisplay.c200 if (cpos < 0 || cpos >= pcdisplay_scr.nrows * pcdisplay_scr.ncols) in pcdisplay_init()
/openbsd-src/sys/arch/sparc64/dev/
H A Dfb.c177 sf->sf_wsd.nrows = sf->sf_ro.ri_rows; in fb_initwsd()

12