/freebsd/sys/dev/vt/hw/vbefb/ |
H A D | vbefb.c | 121 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 D | ofwfb.c | 170 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 D | fbio.h | 108 #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 D | efifb.c | 150 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 D | metadata.h | 67 uint32_t fb_bpp; member
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_fbd.c | 126 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 D | hvm.c | 242 _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 D | simplefb.c | 199 sc->fb_depth = sc->fb_bpp = simplefb_formats[i].depth; in vt_simplefb_init()
|
/freebsd/sys/powerpc/ps3/ |
H A D | ps3_syscons.c | 214 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 D | vt_early_fb.c | 284 info->fb_bpp = info->fb_stride / info->fb_width * 8; in vt_efb_init()
|
H A D | vt_fb.c | 523 vd->vd_transpose += margin * (info->fb_bpp / NBBY);
|
/freebsd/stand/common/ |
H A D | gfx_fb.h | 201 uint32_t fb_bpp; member
|
H A D | gfx_fb.c | 287 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 D | vbe.c | 712 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 D | vidconsole.c | 915 snprintf(env, sizeof (env), "%d", gfx_state.tg_fb.fb_bpp); in cons_update_mode()
|
/freebsd/sys/dev/virtio/gpu/ |
H A D | virtio_gpu.c | 512 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 D | tegra_fb.c | 175 info->fb_bpp = sizes->surface_bpp; in tegra_fb_probe()
|
/freebsd/sys/arm/freescale/vybrid/ |
H A D | vf_dcu4.c | 413 sc->sc_info.fb_bpp = sc->sc_info.fb_depth = 24; in dcu_attach()
|
/freebsd/sys/powerpc/mpc85xx/ |
H A D | fsl_diu.c | 404 sc->sc_info.fb_bpp = sc->sc_info.fb_depth = 32; in diu_attach()
|
/freebsd/stand/efi/loader/ |
H A D | framebuffer.c | 660 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 D | am335x_lcd.c | 816 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 D | efi_console.c | 1024 gfx_state.tg_fb.fb_bpp); in cons_update_mode()
|
/freebsd/sys/dev/usb/video/ |
H A D | udl.c | 416 sc->sc_fb_info.fb_bpp = 16; in udl_attach()
|
/freebsd/sys/arm/freescale/imx/ |
H A D | imx6_ipu.c | 1043 sc->sc_fb_info.fb_bpp = sc->sc_fb_info.fb_depth = MODE_BPP; in ipu_init()
|