Home
last modified time | relevance | path

Searched refs:fb_width (Results 1 – 25 of 50) sorted by relevance

12

/netbsd-src/sys/dev/sun/
H A Dfb.c314 fb->fb_type.fb_width = prom_getpropint(node, "width", def_width); in fb_setsize_obp()
317 (fb->fb_type.fb_width * depth) / 8); in fb_setsize_obp()
332 fb->fb_type.fb_width = def_width; in fb_setsize_eeprom()
342 fb->fb_type.fb_width = 1152; in fb_setsize_eeprom()
347 fb->fb_type.fb_width = 1024; in fb_setsize_eeprom()
352 fb->fb_type.fb_width = 1600; in fb_setsize_eeprom()
357 fb->fb_type.fb_width = 1440; in fb_setsize_eeprom()
371 fb->fb_linebytes = (fb->fb_type.fb_width * depth) / 8; in fb_setsize_eeprom()
H A Dbwtwo.c219 fb->fb_type.fb_width, fb->fb_type.fb_height); in bwtwoattach()
277 sc->sc_width = fb->fb_type.fb_width; in bwtwoattach()
278 sc->sc_stride = fb->fb_type.fb_width/8; in bwtwoattach()
H A Dcgthree.c175 fb->fb_type.fb_width, fb->fb_type.fb_height); in cgthreeattach()
207 sc->sc_width = fb->fb_type.fb_width; in cgthreeattach()
208 sc->sc_stride = fb->fb_type.fb_width; in cgthreeattach()
H A Dpfour_subr.c121 fb->fb_type.fb_width = width; in fb_setsize_pfour()
H A Dfbio.h103 int fb_width; /* in pixels */ member
/netbsd-src/sys/arch/sun3/dev/
H A Dbw2.c206 fbt->fb_width = 1152; /* default - see below */ in bw2attach()
277 fbt->fb_width = 1600; in bw2attach()
288 aprint_normal(" (%dx%d)\n", fbt->fb_width, fbt->fb_height); in bw2attach()
H A Dfb.c228 fb->fb_fbtype.fb_width = w; in fb_eeprom_setsize()
321 fb->fb_fbtype.fb_width = w; in fb_pfour_setsize()
H A Dcg2.c197 fbt->fb_width = 1152; in cg2attach()
201 aprint_normal(" (%dx%d)\n", fbt->fb_width, fbt->fb_height); in cg2attach()
/netbsd-src/sys/arch/sparc/dev/
H A Dcgeight.c252 fb->fb_type.fb_width, in cgeightattach()
306 sc->sc_fb.fb_type.fb_width * sc->sc_fb.fb_type.fb_height / 8); in cgeightattach()
421 #define COLOR_SIZE (sc->sc_fb.fb_type.fb_width * \ in cgeightmmap()
H A Dcgfourteen.c319 fb->fb_type.fb_width, fb->fb_type.fb_height); in cgfourteenattach()
789 (sc->sc_vramsize / sc->sc_fb.fb_type.fb_width) - in cg14_setup_wsdisplay()
791 sc->sc_fb.fb_type.fb_width, in cg14_setup_wsdisplay()
1086 ri->ri_width = sc->sc_fb.fb_type.fb_width; in cg14_init_screen()
1117 sc->sc_fb.fb_type.fb_width / ri->ri_font->fontwidth); in cg14_init_screen()
1287 int stride = sc->sc_fb.fb_type.fb_width; in cg14_rectfill()
1350 int stride = sc->sc_fb.fb_type.fb_width; in cg14_invert()
1430 int line, cnt, stride = sc->sc_fb.fb_type.fb_width; in cg14_bitblt()
1511 int line, cnt = wi, stride = sc->sc_fb.fb_type.fb_width; in cg14_bitblt_gc()
1568 int stride = sc->sc_fb.fb_type.fb_width; in cg14_putchar()
[all...]
H A Dcgfour.c251 fb->fb_type.fb_width, fb->fb_type.fb_height); in cgfourattach()
413 #define COLOR_SIZE (sc->sc_fb.fb_type.fb_width * \ in cgfourmmap()
/netbsd-src/sys/arch/arm/sunxi/
H A Dsunxi_debe.c359 const u_int fb_width = mode->hdisplay; in sunxi_debe_setup_fbdev() local
391 .afb_width = fb_width, in sunxi_debe_setup_fbdev()
399 sunxi_befb_set_videomode(sc->sc_fbdev, fb_width, fb_height); in sunxi_debe_setup_fbdev()
580 const u_int fb_width = width; in sunxi_debe_set_videomode() local
608 ((fb_height - 1) << 16) | (fb_width - 1)); in sunxi_debe_set_videomode()
610 DEBE_WRITE(sc, SUNXI_DEBE_LAYLINEWIDTH_REG, (fb_width << 5)); in sunxi_debe_set_videomode()
/netbsd-src/sys/arch/hpcarm/dev/
H A Depsonlcd.c255 vc->vc_fbdepth = (bootinfo->fb_line_bytes / bootinfo->fb_width) * NBBY; in epsonlcd_get_video_chip()
256 vc->vc_fbwidth = bootinfo->fb_width; in epsonlcd_get_video_chip()
/netbsd-src/sys/dev/pci/
H A Dsisfb.c82 int fb_width; member
512 ri->ri_width = fb->fb_width; in sisfb_init_screen()
523 rasops_init(ri, fb->fb_height / 8, fb->fb_width / 8); in sisfb_init_screen()
526 fb->fb_width / ri->ri_font->fontwidth); in sisfb_init_screen()
609 fb->fb_width = ri->ri_width = width; in sisfb_setup()
/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_fb.c649 unsigned fb_width, fb_height; in vmw_fb_init() local
657 fb_width = min(vmw_priv->fb_max_width, (unsigned)2048); in vmw_fb_init()
660 fb_pitch = fb_width * fb_bpp / 8; in vmw_fb_init()
676 par->max_width = fb_width; in vmw_fb_init()
729 info->var.xres_virtual = fb_width; in vmw_fb_init()
/netbsd-src/sys/arch/hpc/include/
H A Dbootinfo.h46 short fb_width; member
/netbsd-src/sys/arch/hpcmips/stand/pbsdboot/
H A Dmain.c528 fb_settings[0].width = pref.fb_width; in WinMain()
541 pref.fb_width = fb_settings[0].width; in WinMain()
820 bi->fb_width = fbs->width; in SetBootInfo()
829 bi->fb_width, bi->fb_height, bi->fb_line_bytes); in SetBootInfo()
1176 pref.fb_width = fb_settings[0].width; in BootKernel()
1195 bi.fb_width, bi.fb_height, in BootKernel()
H A Dpreference.c159 debug_printf(TEXT(" width: %d\n"), pref->fb_width); in pref_dump()
292 buf.fb_width = d; in pref_read()
513 wsprintf(unibuf,TEXT("fb_width:%d\r\n"),buf->fb_width); in pref_write()
H A Dpbsdboot.h78 int fb_width, fb_height, fb_linebytes; member
/netbsd-src/sys/arch/hpcsh/hpcsh/
H A Ddebug.c67 int hline = bootinfo->fb_width; in __dbg_heart_beat()
/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_framebuffer.c85 unsigned int fb_width, fb_height; in drm_framebuffer_check_src_coords() local
87 fb_width = fb->width << 16; in drm_framebuffer_check_src_coords()
91 if (src_w > fb_width || in drm_framebuffer_check_src_coords()
92 src_x > fb_width - src_w || in drm_framebuffer_check_src_coords()
H A Ddrm_atomic.c555 unsigned int fb_width, fb_height; in drm_atomic_plane_check() local
608 fb_width = fb->width << 16; in drm_atomic_plane_check()
612 if (new_plane_state->src_w > fb_width || in drm_atomic_plane_check()
613 new_plane_state->src_x > fb_width - new_plane_state->src_w || in drm_atomic_plane_check()
640 clips->x2 > fb_width || in drm_atomic_plane_check()
H A Ddrm_fb_helper.c1507 sizes.fb_width = (u32)-1; in drm_fb_helper_single_fb_probe()
1635 sizes.fb_width = min_t(u32, desired_mode->hdisplay + x, sizes.fb_width); in drm_fb_helper_single_fb_probe()
1641 if (crtc_count == 0 || sizes.fb_width == -1 || sizes.fb_height == -1) { in drm_fb_helper_single_fb_probe()
1683 uint32_t fb_width, uint32_t fb_height) in drm_fb_helper_fill_var() argument
1700 info->var.xres = fb_width; in drm_fb_helper_fill_var()
1725 sizes->fb_width, sizes->fb_height); in drm_fb_helper_fill_info()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_fbdev.c203 (sizes->fb_width > intel_fb->base.width || in intelfb_create()
208 sizes->fb_width, sizes->fb_height); in intelfb_create()
221 sizes->fb_width = intel_fb->base.width; in intelfb_create()
/netbsd-src/sys/arch/hpcmips/stand/romboot/
H A Dromboot.S128 .word 0, 0 # fb_line_bytes, fb_width, fb_height, fb_type

12