/openbsd/sys/arch/loongson/dev/ |
H A D | smfb.c | 222 printf(": %dx%d, %dbpp\n", sc->sc_fb->ri.ri_width, in smfb_attach_common() 281 wdf->width = ri->ri_width; in smfb_ioctl() 391 ri->ri_width = 800; in smfb_setup() 395 ri->ri_width = 1368; in smfb_setup() 401 ri->ri_width = 1024; in smfb_setup() 406 ri->ri_stride = (ri->ri_width * ri->ri_depth) / 8; in smfb_setup() 469 DPR_COORDS(ri->ri_width, ri->ri_width)); in smfb_setup() 471 DPR_COORDS(ri->ri_width, ri->ri_width)); in smfb_setup() 601 w = ri->ri_width; in smfb_eraserows()
|
H A D | radeonfb.c | 233 fb->ri.ri_width, fb->ri.ri_height, fb->ri.ri_depth); in radeonfb_attach() 300 radeonfb_fillrect(fb, 0, 0, ri->ri_width, in radeonfb_ioctl() 306 wdf->width = ri->ri_width; in radeonfb_ioctl() 485 w = ri->ri_width; in radeonfb_eraserows() 640 ri->ri_width = width; in radeonfb_setup() 643 ri->ri_stride = (ri->ri_width * ri->ri_depth) / 8; in radeonfb_setup()
|
H A D | sisfb.c | 233 fb->ri.ri_width, fb->ri.ri_height, fb->ri.ri_depth); in sisfb_attach() 300 wdf->width = ri->ri_width; in sisfb_ioctl() 449 ri->ri_width = width; in sisfb_setup() 452 ri->ri_stride = (ri->ri_width * ri->ri_depth) / 8; in sisfb_setup()
|
/openbsd/sys/arch/powerpc64/dev/ |
H A D | astfb.c | 130 ri->ri_width = OF_getpropint(node, "width", 0); in astfb_attach() 133 ri->ri_stride = ri->ri_width * ((ri->ri_depth + 7) / 8); in astfb_attach() 156 ri->ri_width, ri->ri_height, ri->ri_depth); in astfb_attach() 201 wdf->width = ri->ri_width; in astfb_wsioctl()
|
/openbsd/sys/dev/pcmcia/ |
H A D | cfxga.c | 163 cfxga_solid_fill(scr, 0, 0, scr->scr_ri.ri_width, \ 478 ri->ri_width = width; in cfxga_alloc_screen() 600 wdf->width = scr->scr_ri.ri_width; in cfxga_ioctl() 749 switch (scr->scr_ri.ri_width) { in cfxga_reset_video() 878 pos = (y * ri->ri_width + x) * ri->ri_depth / 8; in cfxga_expand_char() 894 ri->ri_width * ri->ri_depth / 16); in cfxga_expand_char() 1004 pos = (y * ri->ri_width + x) * ri->ri_depth / 8; in cfxga_solid_fill() 1016 ri->ri_width * ri->ri_depth / 16); in cfxga_solid_fill() 1039 srcpos = (sy * ri->ri_width + sx) * ri->ri_depth / 8; in cfxga_standalone_rop() 1040 dstpos = (dy * ri->ri_width + dx) * ri->ri_depth / 8; in cfxga_standalone_rop() [all …]
|
/openbsd/sys/arch/armv7/exynos/ |
H A D | exdisplay.c | 169 printf("%s: %dx%d\n", sc->sc_dev.dv_xname, ri->ri_width, ri->ri_height); in exdisplay_attach() 199 rinfo->ri_width = 1366; in exdisplay_setup_rasops() 201 rinfo->ri_stride = rinfo->ri_width * rinfo->ri_depth / 8; in exdisplay_setup_rasops()
|
/openbsd/sys/dev/fdt/ |
H A D | simplefb.c | 169 printf(": %dx%d, %dbpp\n", ri->ri_width, ri->ri_height, ri->ri_depth); in simplefb_attach() 222 ri->ri_width = OF_getpropint(node, "width", 0); in simplefb_init() 259 wdf->width = ri->ri_width; in simplefb_wsioctl()
|
H A D | rkdrm.c | 265 wdf->width = ri->ri_width; in rkdrm_wsioctl() 436 ri->ri_width = helper->fb->width; in rkdrm_attachhook() 438 ri->ri_stride = ri->ri_width * ri->ri_depth / 8; in rkdrm_attachhook() 468 ri->ri_width, ri->ri_height, ri->ri_depth); in rkdrm_attachhook()
|
H A D | ssdfb.c | 313 ri->ri_width = sc->sc_width; in ssdfb_attach() 315 ri->ri_stride = ri->ri_width * ri->ri_depth / 8; in ssdfb_attach() 340 printf(": %dx%d, %dbpp\n", ri->ri_width, ri->ri_height, ri->ri_depth); in ssdfb_attach() 633 wdf->width = ri->ri_width; in ssdfb_ioctl()
|
/openbsd/sys/arch/amd64/amd64/ |
H A D | efifb.c | 204 printf(": %dx%d, %dbpp\n", ri->ri_width, ri->ri_height, ri->ri_depth); in efifb_attach() 239 ri->ri_width = efifb_console.cb_table_fb.x_resolution; in efifb_rasops_init() 250 ri->ri_width = bios_efiinfo->fb_width; in efifb_rasops_init() 290 wdf->width = ri->ri_width; in efifb_ioctl()
|
/openbsd/sys/dev/pci/drm/apple/ |
H A D | apldrm.c | 138 wdf->width = ri->ri_width; in apldrm_wsioctl() 353 ri->ri_width = fb_helper->info->var.xres; in apldrm_attachhook() 406 ri->ri_width, ri->ri_height, ri->ri_depth); in apldrm_attachhook()
|
/openbsd/sys/arch/macppc/macppc/ |
H A D | ofw_machdep.c | 497 ri->ri_width = cons_width; in of_display_console() 530 ri->ri_width = ofwfb.ofw_ri.ri_width; in ofwconsswitch()
|
/openbsd/sys/dev/rasops/ |
H A D | rasops.h | 67 int ri_width; /* width (pels) */ member
|
H A D | rasops.c | 210 if (ri->ri_width >= 120 * 32) in rasops_init() 214 if (cookie <= 0 && ri->ri_width >= 120 * 16) in rasops_init() 218 if (cookie <= 0 && ri->ri_width > 80 * 12) in rasops_init() 358 if (ri->ri_emuwidth > ri->ri_width) in rasops_reconfig() 359 ri->ri_emuwidth = ri->ri_width; in rasops_reconfig() 402 ri->ri_bits += (((ri->ri_width * bpp >> 3) - in rasops_reconfig()
|
/openbsd/sys/dev/sbus/ |
H A D | cgsix.c | 825 FBC_WRITE(sc, CG6_FBC_CLIPMAXX, ri->ri_width - 1); in cgsix_ras_copyrows() 877 FBC_WRITE(sc, CG6_FBC_CLIPMAXX, ri->ri_width - 1); in cgsix_ras_copycols() 925 FBC_WRITE(sc, CG6_FBC_CLIPMAXX, ri->ri_width - 1); in cgsix_ras_erasecols() 964 FBC_WRITE(sc, CG6_FBC_CLIPMAXX, ri->ri_width - 1); in cgsix_ras_eraserows() 972 FBC_WRITE(sc, CG6_FBC_ARECTX, ri->ri_width - 1); in cgsix_ras_eraserows() 1002 FBC_WRITE(sc, CG6_FBC_CLIPMAXX, ri->ri_width - 1); in cgsix_ras_do_cursor()
|
H A D | zx.c | 282 ri->ri_bits += (((ri->ri_width * 4) - ri->ri_emustride) >> 1) & ~3; in zx_attach() 679 ZX_COORDS(ri->ri_width - 1, ri->ri_height - 1)); in zx_eraserows()
|
/openbsd/sys/dev/pv/ |
H A D | viogpu.c | 252 ri->ri_width = sc->sc_fb_width; in viogpu_attach() 254 ri->ri_stride = ri->ri_width * ri->ri_depth / 8; in viogpu_attach() 275 printf(": %dx%d, %dbpp\n", ri->ri_width, ri->ri_height, ri->ri_depth); in viogpu_attach() 605 wdf->width = ri->ri_width; in viogpu_wsioctl()
|
/openbsd/sys/arch/sparc64/dev/ |
H A D | radeonfb.c | 261 radeonfb_fillrect(sc, 0, 0, ri->ri_width, in radeonfb_ioctl() 519 w = ri->ri_width; in radeonfb_eraserows()
|
H A D | gfxp.c | 519 w = ri->ri_width; in gfxp_eraserows() 561 gfxp_fillrect(sc, 0, 0, ri->ri_width, ri->ri_height, in gfxp_reinit()
|
H A D | machfb.c | 341 machfb_fillrect(sc, 0, 0, ri->ri_width, ri->ri_height, in machfb_ioctl() 580 w = ri->ri_width; in machfb_eraserows()
|
H A D | fb.c | 203 ri->ri_width = sf->sf_width; in fbwscons_init()
|
/openbsd/sys/arch/armv7/omap/ |
H A D | amdisplay.c | 256 sc->sc_ro.ri_width = sc->sc_active_mode->hdisplay; in amdisplay_attach() 594 wdf->width = ri->ri_width; in amdisplay_ioctl()
|
/openbsd/sys/dev/pci/drm/radeon/ |
H A D | radeon_fbdev.c | 288 ri->ri_width = sizes->fb_width; in radeon_fbdev_fb_helper_fb_probe()
|
/openbsd/sys/dev/pci/ |
H A D | tga.c | 348 rip->ri_width = dc->dc_wid; 364 if (rip->ri_width > 80*12) 386 rip->ri_width / rip->ri_font->fontwidth);
|
/openbsd/sys/arch/macppc/pci/ |
H A D | vgafb.c | 228 wdf->width = ri->ri_width; in vgafb_ioctl()
|