Home
last modified time | relevance | path

Searched refs:ri_width (Results 1 – 25 of 84) sorted by relevance

1234

/netbsd-src/sys/dev/sbus/
H A Dtcx.c745 wdf->width = ms->scr_ri.ri_width; in tcx_ioctl()
756 *ret = sc->sc_8bit ? ms->scr_ri.ri_width : in tcx_ioctl()
757 ms->scr_ri.ri_width << 2; in tcx_ioctl()
863 ri->ri_width = sc->sc_fb.fb_type.fb_width; in tcx_init_screen()
873 ri->ri_width / ri->ri_font->fontwidth); in tcx_init_screen()
910 i = ri->ri_width * ri->ri_font->fontheight * nrows; in tcx_copyrows()
915 first = ri->ri_width * in tcx_copyrows()
918 dest = ri->ri_width * in tcx_copyrows()
931 first = ri->ri_width * in tcx_copyrows()
933 dest = ri->ri_width * in tcx_copyrows()
[all …]
/netbsd-src/sys/arch/prep/pci/
H A Dgten.c175 gt->gt_ri->ri_width, gt->gt_ri->ri_height, in gten_attach()
190 memset(ri->ri_bits + j + ri->ri_width - 64 + i, 0, 64 - i); in gten_attach()
191 memset(ri->ri_bits + j + ri->ri_width - 64, 255, i); in gten_attach()
196 memset(ri->ri_bits + k + ri->ri_width - 64 + i, 0, 64 - i); in gten_attach()
197 memset(ri->ri_bits + k + ri->ri_width - 64, 255, i); in gten_attach()
221 ri->ri_width = 640; in gten_common_init()
256 wdf->width = gt->gt_ri->ri_width; in gten_ioctl()
/netbsd-src/sys/arch/x86/x86/
H A Dgenfb_machdep.c146 ri->ri_width = fbinfo->width; in x86_genfb_init()
164 rasops_init(ri, ri->ri_height / 8, ri->ri_width / 8); in x86_genfb_init()
167 ri->ri_width / ri->ri_font->fontwidth); in x86_genfb_init()
/netbsd-src/sys/arch/evbmips/gdium/
H A Dgdium_genfb.c74 ri->ri_width = 1024; in gdium_cnattach()
92 ri->ri_width / ri->ri_font->fontwidth); in gdium_cnattach()
/netbsd-src/sys/dev/ic/
H A Digsfb.c433 ri->ri_width = dc->dc_width; in igsfb_init_wsdisplay()
472 ri->ri_width / ri->ri_font->fontwidth); in igsfb_init_wsdisplay()
844 if (x >= ri->ri_width) in igsfb_set_curpos()
845 x = ri->ri_width - 1; in igsfb_set_curpos()
958 if (pos.x >= ri->ri_width) in igsfb_set_cursor()
959 pos.x = ri->ri_width - 1; in igsfb_set_cursor()
1218 toend = dc->dc_vd.active->scr_ri.ri_width * (height - 1) + (width - 1); in igsfb_accel_copy()
1281 + ri->ri_width * (ri->ri_yorigin in igsfb_accel_copyrows()
1284 + ri->ri_width * (ri->ri_yorigin in igsfb_accel_copyrows()
1304 + ri->ri_width * (ri->ri_yorigin in igsfb_accel_copycols()
[all …]
/netbsd-src/sys/dev/pci/
H A Dlynxfb.c422 wdf->width = ms->scr_ri.ri_width; in lynxfb_ioctl()
511 ri->ri_width = fb->width; in lynxfb_init_screen()
561 ri->ri_width = fb->width; in lynxfb_setup()
584 ri->ri_width / ri->ri_font->fontwidth); in lynxfb_setup()
603 DPR_COORDS(ri->ri_width, ri->ri_width)); in lynxfb_setup()
605 DPR_COORDS(ri->ri_width, ri->ri_width)); in lynxfb_setup()
735 w = ri->ri_width; in lynxfb_eraserows1()
H A Dsisfb.c286 fb->vcs.scr_ri.ri_width, fb->vcs.scr_ri.ri_height, in sisfb_attach()
395 wdf->width = ri->ri_width; in sisfb_ioctl()
512 ri->ri_width = fb->fb_width; in sisfb_init_screen()
609 fb->fb_width = ri->ri_width = width; in sisfb_setup()
612 fb->fb_stride = ri->ri_stride = (ri->ri_width * ri->ri_depth) / 8; in sisfb_setup()
651 ri->ri_width / ri->ri_font->fontwidth); in sisfb_setup()
/netbsd-src/sys/arch/zaurus/dev/
H A Dw100.c262 rinfo->ri_width = sc->display_width; in w100_setup_rasops()
264 rinfo->ri_stride = rinfo->ri_width * rinfo->ri_depth / 8; in w100_setup_rasops()
365 rinfo.ri_width = width;
411 scr->rinfo.ri_width = sc->display_width; in w100_alloc_screen()
413 scr->rinfo.ri_stride = scr->rinfo.ri_width * scr->rinfo.ri_depth / 8; in w100_alloc_screen()
/netbsd-src/sys/arch/evbppc/virtex/dev/
H A Dtft.c116 sc->sc_sp_info.si_width = ri->ri_width; in tft_attach()
151 ri->ri_width = sc->sc_width; in tft_init_screen()
165 rasops_init(ri, ri->ri_height / 16, ri->ri_width / 8); in tft_init_screen()
/netbsd-src/sys/dev/tc/
H A Dmfb.c245 printf(": %dx%d, 1bpp\n", ri->ri_width, ri->ri_height); in mfbattach()
283 ri->ri_width = 1280; in mfb_common_init()
338 wsd_fbip->width = ri->ri_width; in mfbioctl()
678 else if (x > ri->ri_width) in set_curpos()
679 x = ri->ri_width; in set_curpos()
H A Dxcfb.c233 printf(": %dx%d, %dbpp\n", ri->ri_width, ri->ri_height, ri->ri_depth); in xcfbattach()
279 ri->ri_width = 1024; in xcfb_common_init()
407 wsd_fbip->width = ri->ri_width; in xcfbioctl()
670 else if (x > ri->ri_width) in set_curpos()
671 x = ri->ri_width; in set_curpos()
H A Dcfb.c266 printf(": %dx%d, %dbpp\n", ri->ri_width, ri->ri_height, ri->ri_depth); in cfbattach()
319 ri->ri_width = 1024; in cfb_common_init()
374 wsd_fbip->width = ri->ri_width; in cfbioctl()
790 else if (x > ri->ri_width) in set_curpos()
791 x = ri->ri_width; in set_curpos()
H A Dtfb.c300 printf(": %dx%d, 8,24bpp\n", ri->ri_width, ri->ri_height); in tfbattach()
337 ri->ri_width = 1280; in tfb_common_init()
408 wsd_fbip->width = ri->ri_width; in tfbioctl()
848 else if (x > ri->ri_width) in set_curpos()
849 x = ri->ri_width; in set_curpos()
/netbsd-src/sys/arch/arm/xscale/
H A Dpxa2x0_lcd.c649 rinfo->ri_width = geom->panel_width; in pxa2x0_lcd_setup_rasops()
651 rinfo->ri_stride = rinfo->ri_width * rinfo->ri_depth / 8; in pxa2x0_lcd_setup_rasops()
754 rinfo.ri_width = width; in pxa2x0_lcd_setup_wsscreen()
812 scr->rinfo.ri_width = sc->geometry->panel_width; in pxa2x0_lcd_alloc_screen()
814 scr->rinfo.ri_stride = scr->rinfo.ri_width * scr->rinfo.ri_depth / 8; in pxa2x0_lcd_alloc_screen()
817 scr->rinfo.ri_stride = scr->rinfo.ri_width * 4; in pxa2x0_lcd_alloc_screen()
/netbsd-src/sys/arch/pmax/ibus/
H A Dpm.c186 printf(": %dx%d, %dbpp\n", ri->ri_width, ri->ri_height, ri->ri_depth); in pm_attach()
277 ri->ri_width = 1024; in pm_common_init()
436 wsd_fbip->width = ri->ri_width; in pm_ioctl()
802 else if (x > ri->ri_width) in pm_set_curpos()
803 x = ri->ri_width; in pm_set_curpos()
/netbsd-src/sys/arch/newsmips/apbus/
H A Dxafb.c183 ri->ri_width, ri->ri_height, ri->ri_depth); in xafb_attach()
215 ri->ri_width = 1280; in xafb_common_init()
267 wdf->width = dc->dc_ri.ri_width; in xafb_ioctl()
/netbsd-src/sys/arch/powerpc/oea/
H A Dofw_rascons.c113 if (ri->ri_width >= 1024 && ri->ri_height >= 768) { in rascons_cnattach()
255 ri->ri_width = width; in rascons_init_rasops()
/netbsd-src/sys/arch/hp300/dev/
H A Dgendiofb.c168 ri->ri_width = fb->dwidth; in gendiofb_reset()
209 wdf->width = fb->ri.ri_width; in gendiofb_ioctl()
/netbsd-src/sys/arch/arm/fdt/
H A Darm_simplefb.c127 ri->ri_width = sc->sc_width; in arm_simplefb_init_screen()
151 rasops_init(ri, ri->ri_height / 8, ri->ri_width / 8); in arm_simplefb_init_screen()
/netbsd-src/sys/arch/evbmips/loongson/
H A Dgdium_machdep.c349 ri->ri_width = 1024; in gdium_cnattach()
367 ri->ri_width / ri->ri_font->fontwidth); in gdium_cnattach()
/netbsd-src/sys/arch/arm/clps711x/
H A Dclpslcd.c165 ri->ri_width = width; in clpslcd_attach()
220 wsdisp_info->width = sc->sc_ri.ri_width; in clpslcd_ioctl()
/netbsd-src/sys/arch/newsmips/dev/
H A Dfb.c228 ri->ri_width, ri->ri_height, ri->ri_depth); in fb_attach()
322 ri->ri_width = width; in fb_common_init()
376 wdf->width = dc->dc_ri.ri_width; in fb_ioctl()
/netbsd-src/sys/arch/epoc32/windermere/
H A Dwmlcd.c193 ri->ri_width = width; in wmlcd_attach()
248 wsdisp_info->width = sc->sc_ri.ri_width; in wmlcd_ioctl()
/netbsd-src/sys/arch/usermode/dev/
H A Dvncfb.c294 ri->ri_width = sc->sc_width; in vncfb_init_screen()
409 w = ri->ri_width; in vncfb_copyrows()
432 w = ri->ri_width; in vncfb_eraserows()
478 wdf->width = ms->scr_ri.ri_width; in vncfb_ioctl()
/netbsd-src/sys/dev/sun/
H A Dbwtwo.c414 wdf->width = ri->ri_width; in bwtwo_ioctl()
471 ri->ri_width = sc->sc_width; in bwtwo_init_screen()

1234