Home
last modified time | relevance | path

Searched refs:bits_per_pixel (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/u-boot/drivers/video/
H A Dcoreboot.c24 vesa->bits_per_pixel = fb->bits_per_pixel; in save_vesa_mode()
59 vesa->bits_per_pixel); in coreboot_video_probe()
H A Defi.c80 vesa->bits_per_pixel = 32; in save_vesa_mode()
95 vesa->bits_per_pixel = vesa->red_mask_size + in save_vesa_mode()
100 vesa->bits_per_pixel) / 8; in save_vesa_mode()
127 vesa->bits_per_pixel); in efi_video_probe()
H A Dmxc_ipuv3_fb.c95 debug("bpp_to_pixfmt: %d\n", fbi->var.bits_per_pixel); in bpp_to_pixfmt()
100 switch (fbi->var.bits_per_pixel) { in bpp_to_pixfmt()
124 fix->line_length = var->xres_virtual * var->bits_per_pixel / 8; in mxcfb_set_fix()
304 if ((var->bits_per_pixel != 32) && (var->bits_per_pixel != 24) && in mxcfb_check_var()
305 (var->bits_per_pixel != 16) && (var->bits_per_pixel != 8)) in mxcfb_check_var()
306 var->bits_per_pixel = default_bpp; in mxcfb_check_var()
308 switch (var->bits_per_pixel) { in mxcfb_check_var()
532 fbi->var.bits_per_pixel = 16; in mxcfb_probe()
533 fbi->fix.line_length = fbi->var.xres * (fbi->var.bits_per_pixel / 8); in mxcfb_probe()
H A Dati_radeon_fb.c623 int bits_per_pixel, i, tmp, vesa_idx = 0, videomode; in video_hw_init() local
661 bits_per_pixel = vesa_modes[i].bits_per_pixel; in video_hw_init()
665 bits_per_pixel = video_get_params (res_mode, penv); in video_hw_init()
682 res_mode->yres, bits_per_pixel, (hsynch / 1000), in video_hw_init()
690 switch (bits_per_pixel) { in video_hw_init()
744 radeon_setmode_9200(vesa_idx, bits_per_pixel); in video_hw_init()
H A Dfsl_diu_fb.c290 info.var.bits_per_pixel = 32; in fsl_diu_init()
300 info.fix.line_length = info.var.xres * info.var.bits_per_pixel / 8; in fsl_diu_init()
304 info.var.xres * info.var.yres * (info.var.bits_per_pixel / 8); in fsl_diu_init()
306 info.var.bits_per_pixel / 8, &info.screen_base); in fsl_diu_init()
H A Dmx3fb.c808 int bits_per_pixel, i, tmp, videomode; in video_hw_init() local
840 bits_per_pixel = vesa_modes[i].bits_per_pixel; in video_hw_init()
843 bits_per_pixel = video_get_params(mode, penv); in video_hw_init()
861 bits_per_pixel, (hsynch / 1000), (vsynch / 1000)); in video_hw_init()
868 switch (bits_per_pixel) { in video_hw_init()
H A Dvideomodes.h58 int bits_per_pixel; /* bpp */ member
H A Dda8xx-fb.c572 if (info->var.bits_per_pixel == 8) { in fb_setcolreg()
585 } else if ((info->var.bits_per_pixel == 16) && regno < 16) { in fb_setcolreg()
601 } else if (((info->var.bits_per_pixel == 32) && regno < 32) || in fb_setcolreg()
602 ((info->var.bits_per_pixel == 24) && regno < 24)) { in fb_setcolreg()
984 da8xx_fb_info->var.bits_per_pixel = da8xx_lcd_cfg->bpp; in video_hw_init()
994 da8xx_fb_var.bits_per_pixel = da8xx_lcd_cfg->bpp; in video_hw_init()
1004 da8xx_fb_info->fix.visual = (da8xx_fb_info->var.bits_per_pixel <= 8) ? in video_hw_init()
H A Dfsl_dcu_fb.c304 info.var.xres * info.var.yres * (info.var.bits_per_pixel / 8); in fsl_dcu_init()
410 info.var.bits_per_pixel = 32; in video_hw_init()
420 info.fix.line_length = info.var.xres * info.var.bits_per_pixel / 8; in video_hw_init()
H A Dmb862xx.c274 bpp = vesa_modes[1].bits_per_pixel; in card_init()
277 bpp = vesa_modes[i].bits_per_pixel; in card_init()
H A Dlogicore_dp_tx.c1892 u8 bits_per_pixel; in cfg_msa_recalculate() local
1953 bits_per_pixel = msa_config->bits_per_color * 2; in cfg_msa_recalculate()
1956 bits_per_pixel = msa_config->bits_per_color * 3; in cfg_msa_recalculate()
1959 words_per_line = (msa_config->h_active * bits_per_pixel); in cfg_msa_recalculate()
1980 video_bw = ((msa_config->pixel_clock_hz / 1000) * bits_per_pixel) / 8; in cfg_msa_recalculate()
/openbmc/u-boot/arch/x86/lib/fsp/
H A Dfsp_graphics.c51 vesa->bits_per_pixel = 32; in save_vesa_mode()
101 vesa->bits_per_pixel); in fsp_video_probe()
/openbmc/u-boot/arch/x86/lib/
H A Dcoreboot_table.c155 fb->bits_per_pixel = vesa->bits_per_pixel; in write_coreboot_table()
H A Dbios.c234 mode_info->vesa.bits_per_pixel); in vbe_set_graphics()
/openbmc/u-boot/drivers/pci/
H A Dpci_rom.c216 screen_info->lfb_depth = vesa->bits_per_pixel; in setup_video()
335 switch (vesa->bits_per_pixel) { in vbe_setup_video_priv()
379 mode_info.vesa.bits_per_pixel); in vbe_setup_video()
/openbmc/u-boot/include/
H A Dvbe.h62 u8 bits_per_pixel; /* 19 */ member
/openbmc/qemu/ui/
H A Dqemu-pixman.c18 bpp = pf.bits_per_pixel = PIXMAN_FORMAT_BPP(format); in qemu_pixelformat_from_pixman()
157 format = PIXMAN_FORMAT(pf->bits_per_pixel, type, in qemu_pixman_get_format()
H A Dvnc.c2273 static void set_pixel_format(VncState *vs, int bits_per_pixel, in set_pixel_format() argument
2280 bits_per_pixel = 8; in set_pixel_format()
2289 switch (bits_per_pixel) { in set_pixel_format()
2311 vs->client_pf.bits_per_pixel = bits_per_pixel; in set_pixel_format()
2312 vs->client_pf.bytes_per_pixel = bits_per_pixel / 8; in set_pixel_format()
2313 vs->client_pf.depth = bits_per_pixel == 32 ? 24 : bits_per_pixel; in set_pixel_format()
2316 vs->client_pf.bits_per_pixel, in set_pixel_format()
2351 vnc_write_u8(vs, vs->client_pf.bits_per_pixel); /* bits-per-pixel */ in pixel_format_message()
/openbmc/qemu/include/ui/
H A Dqemu-pixman.h65 uint8_t bits_per_pixel; member
/openbmc/u-boot/drivers/video/tegra124/
H A Ddp.c423 link_cfg->bits_per_pixel); in tegra_dc_dp_dump_link_cfg()
508 !link_cfg->bits_per_pixel) in tegra_dc_dp_calc_config()
511 if ((u64)timing->pixelclock.typ * link_cfg->bits_per_pixel >= in tegra_dc_dp_calc_config()
518 ratio_f = (u64)timing->pixelclock.typ * link_cfg->bits_per_pixel * f; in tegra_dc_dp_calc_config()
597 f)) + link_cfg->bits_per_pixel / 4 - 1; in tegra_dc_dp_calc_config()
599 link_cfg->bits_per_pixel) / in tegra_dc_dp_calc_config()
1489 link_cfg->bits_per_pixel = panel_bpp; in tegra_dp_enable()
H A Dsor.h847 u32 bits_per_pixel; member
/openbmc/u-boot/arch/x86/include/asm/
H A Dcoreboot_tables.h132 u8 bits_per_pixel; member
/openbmc/qemu/include/hw/xen/interface/
H A Dxen.h933 uint16_t bits_per_pixel; member
/openbmc/u-boot/include/linux/
H A Dfb.h112 __u32 bits_per_pixel; /* guess what */ member
/openbmc/u-boot/drivers/bios_emulator/
H A Datibios.c162 vm->bits_per_pixel, vm->memory_model, in atibios_debug_mode()

12