Home
last modified time | relevance | path

Searched refs:fb_bpp (Results 1 – 24 of 24) sorted by relevance

/freebsd/sys/dev/vt/hw/vbefb/
H A Dvbefb.c121 info->fb_depth = vbefb->fb_bpp; in vt_vbefb_init()
123 info->fb_bpp = roundup2(vbefb->fb_bpp, NBBY); in vt_vbefb_init()
126 info->fb_stride = vbefb->fb_stride * (info->fb_bpp / NBBY); in vt_vbefb_init()
/freebsd/sys/dev/vt/hw/ofwfb/
H A Dofwfb.c170 line = (sc->fb_stride * y) + x * sc->fb_bpp/8; in ofwfb_bitblt_bitmap()
171 if (mask == NULL && sc->fb_bpp == 8 && (width % 8 == 0)) { in ofwfb_bitblt_bitmap()
228 switch(sc->fb_bpp) { in ofwfb_bitblt_bitmap()
425 switch (sc->fb.fb_bpp) { in ofwfb_initialize()
483 panic("Unknown color space depth %d", sc->fb.fb_bpp); in ofwfb_init()
559 sc->fb.fb_bpp = sc->fb.fb_depth = depth; in ofwfb_init()
/freebsd/sys/sys/
H A Dfbio.h108 #define FBTYPE_GET_BPP(_fb) ((_fb)->fb_bpp)
109 #define FBTYPE_GET_BYTESPP(_fb) ((_fb)->fb_bpp / 8)
156 int fb_bpp; /* bits per pixel */ member
/freebsd/sys/dev/vt/hw/efifb/
H A Defifb.c150 info->fb_bpp = roundup2(info->fb_depth, NBBY); in vt_efifb_init()
153 info->fb_stride = efifb->fb_stride * (info->fb_bpp / NBBY); in vt_efifb_init()
/freebsd/sys/x86/include/
H A Dmetadata.h67 uint32_t fb_bpp; member
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_fbd.c126 sc->info.fb_bpp = sc->info.fb_depth = fb.bpp; in bcm_fb_setup_fbd()
136 switch (sc->info.fb_bpp) { in bcm_fb_setup_fbd()
/freebsd/sys/x86/xen/
H A Dhvm.c242 _Static_assert(offsetof(struct vbe_fb, fb_bpp) == in fixup_console()
246 fb->vbe.fb_bpp = console->u.vesa_lfb.bits_per_pixel; in fixup_console()
/freebsd/sys/dev/vt/hw/simplefb/
H A Dsimplefb.c199 sc->fb_depth = sc->fb_bpp = simplefb_formats[i].depth; in vt_simplefb_init()
/freebsd/sys/powerpc/ps3/
H A Dps3_syscons.c214 sc->fb_info.fb_bpp = sc->fb_info.fb_stride / sc->fb_info.fb_width * 8; in ps3fb_init()
/freebsd/sys/dev/vt/hw/fb/
H A Dvt_early_fb.c284 info->fb_bpp = info->fb_stride / info->fb_width * 8; in vt_efb_init()
H A Dvt_fb.c523 vd->vd_transpose += margin * (info->fb_bpp / NBBY);
/freebsd/stand/common/
H A Dgfx_fb.h201 uint32_t fb_bpp; member
H A Dgfx_fb.c287 bpp = roundup2(gfx_state.tg_fb.fb_bpp, 8) >> 3; in gfx_fb_color_map()
436 if (gfx_state.tg_fb.fb_bpp == 8) { in gfxfb_blt_fill()
447 bpp = roundup2(gfx_state.tg_fb.fb_bpp, 8) >> 3; in gfxfb_blt_fill()
518 bpp = roundup2(gfx_state.tg_fb.fb_bpp, 8) >> 3; in gfxfb_blt_video_to_buffer()
618 bpp = roundup2(gfx_state.tg_fb.fb_bpp, 8) >> 3; in gfxfb_blt_buffer_to_video()
720 bpp = roundup2(gfx_state.tg_fb.fb_bpp, 8) >> 3; in gfxfb_blt_video_to_video()
/freebsd/stand/i386/libi386/
H A Dvbe.c712 gfx_state.tg_fb.fb_bpp = mi.BitsPerPixel; in vbe_set_mode()
1068 gfx_state.tg_fb.fb_bpp, in vbe_print_mode()
1070 (roundup2(gfx_state.tg_fb.fb_bpp, NBBY) / NBBY)); in vbe_print_mode()
H A Dvidconsole.c915 snprintf(env, sizeof (env), "%d", gfx_state.tg_fb.fb_bpp); in cons_update_mode()
/freebsd/sys/dev/virtio/gpu/
H A Dvirtio_gpu.c512 sc->vtgpu_fb_info.fb_bpp = 32;
657 * (sc->vtgpu_fb_info.fb_bpp / 8)); in vtgpu_transfer_to_host_2d()
/freebsd/sys/arm/nvidia/drm2/
H A Dtegra_fb.c175 info->fb_bpp = sizes->surface_bpp; in tegra_fb_probe()
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_dcu4.c413 sc->sc_info.fb_bpp = sc->sc_info.fb_depth = 24; in dcu_attach()
/freebsd/sys/powerpc/mpc85xx/
H A Dfsl_diu.c404 sc->sc_info.fb_bpp = sc->sc_info.fb_depth = 32; in diu_attach()
/freebsd/stand/efi/loader/
H A Dframebuffer.c660 gfx_state->tg_fb.fb_bpp = fls(efifb.fb_mask_red | efifb.fb_mask_green | in efi_find_framebuffer()
/freebsd/sys/arm/ti/am335x/
H A Dam335x_lcd.c816 sc->sc_fb_info.fb_bpp = sc->sc_fb_info.fb_depth = sc->sc_panel.bpp; in am335x_lcd_configure()
/freebsd/stand/efi/libefi/
H A Defi_console.c1024 gfx_state.tg_fb.fb_bpp); in cons_update_mode()
/freebsd/sys/dev/usb/video/
H A Dudl.c416 sc->sc_fb_info.fb_bpp = 16; in udl_attach()
/freebsd/sys/arm/freescale/imx/
H A Dimx6_ipu.c1043 sc->sc_fb_info.fb_bpp = sc->sc_fb_info.fb_depth = MODE_BPP; in ipu_init()