/netbsd-src/sys/dev/sun/ |
H A D | fb.c | 314 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 D | bwtwo.c | 219 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 D | cgthree.c | 175 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 D | pfour_subr.c | 121 fb->fb_type.fb_width = width; in fb_setsize_pfour()
|
H A D | fbio.h | 103 int fb_width; /* in pixels */ member
|
/netbsd-src/sys/arch/sun3/dev/ |
H A D | bw2.c | 206 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 D | fb.c | 228 fb->fb_fbtype.fb_width = w; in fb_eeprom_setsize() 321 fb->fb_fbtype.fb_width = w; in fb_pfour_setsize()
|
H A D | cg2.c | 197 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 D | cgeight.c | 252 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 D | cgfourteen.c | 319 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 D | cgfour.c | 251 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 D | sunxi_debe.c | 359 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 D | epsonlcd.c | 255 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 D | sisfb.c | 82 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 D | vmwgfx_fb.c | 649 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 D | bootinfo.h | 46 short fb_width; member
|
/netbsd-src/sys/arch/hpcmips/stand/pbsdboot/ |
H A D | main.c | 528 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 D | preference.c | 159 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 D | pbsdboot.h | 78 int fb_width, fb_height, fb_linebytes; member
|
/netbsd-src/sys/arch/hpcsh/hpcsh/ |
H A D | debug.c | 67 int hline = bootinfo->fb_width; in __dbg_heart_beat()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/ |
H A D | drm_framebuffer.c | 85 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 D | drm_atomic.c | 555 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 D | drm_fb_helper.c | 1507 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 D | intel_fbdev.c | 203 (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 D | romboot.S | 128 .word 0, 0 # fb_line_bytes, fb_width, fb_height, fb_type
|