/openbmc/u-boot/drivers/video/ |
H A D | video_bmp.c | 202 unsigned colours, bpix, bmp_bpix; in video_bmp_display() local 222 bpix = VNBITS(priv->bpix); in video_bmp_display() 224 if (bpix != 1 && bpix != 8 && bpix != 16 && bpix != 32) { in video_bmp_display() 226 bpix, bmp_bpix); in video_bmp_display() 235 if (bpix != bmp_bpix && in video_bmp_display() 236 !(bmp_bpix == 8 && bpix == 16) && in video_bmp_display() 237 !(bmp_bpix == 24 && bpix == 16) && in video_bmp_display() 274 if (bpix != 16) { in video_bmp_display() 285 if (bpix != 16) in video_bmp_display() 293 if (bpix != 16) { in video_bmp_display() [all …]
|
H A D | sandbox_sdl.c | 28 ret = sandbox_sdl_init_display(plat->xres, plat->yres, plat->bpix); in sandbox_sdl_probe() 35 uc_priv->bpix = plat->bpix; in sandbox_sdl_probe() 53 plat->bpix = VIDEO_BPP16; in sandbox_sdl_bind() 54 uc_plat->size = plat->xres * plat->yres * (1 << plat->bpix) / 8; in sandbox_sdl_bind()
|
H A D | console_rotate.c | 17 int pbytes = VNBYTES(vid_priv->bpix); in console_set_row_1() 24 switch (vid_priv->bpix) { in console_set_row_1() 67 int pbytes = VNBYTES(vid_priv->bpix); in console_move_rows_1() 89 int pbytes = VNBYTES(vid_priv->bpix); in console_putc_xy_1() 101 switch (vid_priv->bpix) { in console_putc_xy_1() 155 switch (vid_priv->bpix) { in console_set_row_2() 227 switch (vid_priv->bpix) { in console_putc_xy_2() 276 int pbytes = VNBYTES(vid_priv->bpix); in console_set_row_3() 282 switch (vid_priv->bpix) { in console_set_row_3() 325 int pbytes = VNBYTES(vid_priv->bpix); in console_move_rows_3() [all …]
|
H A D | simplefb.c | 50 uc_priv->bpix = VIDEO_BPP16; in simple_video_probe() 52 uc_priv->bpix = VIDEO_BPP32; in simple_video_probe()
|
H A D | console_normal.c | 24 switch (vid_priv->bpix) { in console_normal_set_row() 81 VID_TO_PIXEL(x_frac) * VNBYTES(vid_priv->bpix); in console_normal_putc_xy() 89 switch (vid_priv->bpix) { in console_normal_putc_xy()
|
H A D | atmel_lcdfb.c | 114 static void atmel_fb_init(ulong addr, struct display_timing *timing, int bpix, in atmel_fb_init() argument 135 (1 << bpix)) / 32; in atmel_fb_init() 160 value |= bpix << 5; in atmel_fb_init() 259 uc_priv->bpix = VIDEO_BPP16; in atmel_fb_lcd_probe()
|
H A D | console_truetype.c | 133 switch (vid_priv->bpix) { in console_truetype_set_row() 255 VID_TO_PIXEL(x) * VNBYTES(vid_priv->bpix); in console_truetype_putc_xy() 266 switch (vid_priv->bpix) { in console_truetype_putc_xy() 325 line += xstart * VNBYTES(vid_priv->bpix); in console_truetype_erase() 327 switch (vid_priv->bpix) { in console_truetype_erase()
|
H A D | bcm2835.c | 42 uc_priv->bpix = VIDEO_BPP32; in bcm2835_video_probe()
|
H A D | video-uclass.c | 93 switch (priv->bpix) { in video_clear() 230 priv->line_length = priv->xsize * VNBYTES(priv->bpix); in video_post_probe()
|
H A D | mvebu_lcd.c | 567 uc_priv->bpix = VIDEO_BPP16; /* Uses RGB555 format */ in mvebu_video_probe()
|
/openbmc/u-boot/common/ |
H A D | lcd_simplefb.c | 21 int bpix; /* log2 of bits per pixel */ in lcd_dt_simplefb_configure_node() local 37 bpix = uc_priv->bpix; in lcd_dt_simplefb_configure_node() 42 bpix = LCD_BPP; in lcd_dt_simplefb_configure_node() 45 switch (bpix) { in lcd_dt_simplefb_configure_node() 57 xsize * (1 << bpix) / 8, name); in lcd_dt_simplefb_configure_node()
|
H A D | lcd.c | 348 if (bpix < 12) { in lcd_logo_plot() 569 unsigned colors, bpix, bmp_bpix; in lcd_display_bitmap() local 589 bpix = NBITS(panel_info.vl_bpix); in lcd_display_bitmap() 591 if (bpix != 1 && bpix != 8 && bpix != 16 && bpix != 32) { in lcd_display_bitmap() 593 bpix, bmp_bpix); in lcd_display_bitmap() 602 if (bpix != bmp_bpix && in lcd_display_bitmap() 603 !(bmp_bpix == 8 && bpix == 16) && in lcd_display_bitmap() 604 !(bmp_bpix == 24 && bpix == 32)) { in lcd_display_bitmap() 640 if (bpix != 16) { in lcd_display_bitmap() 650 if (bpix != 16) in lcd_display_bitmap() [all …]
|
/openbmc/u-boot/include/ |
H A D | video.h | 48 #define VNBYTES(bpix) (1 << (bpix)) / 8 argument 50 #define VNBITS(bpix) (1 << (bpix)) argument 79 enum video_log2_bpp bpix; member
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_gop.c | 35 u32 bpix; member 225 switch (gopobj->bpix) { in gop_get_bpp() 394 u32 bpix, col, row; in efi_gop_register() local 410 bpix = priv->bpix; in efi_gop_register() 419 bpix = panel_info.vl_bpix; in efi_gop_register() 427 switch (bpix) { in efi_gop_register() 468 if (bpix == VIDEO_BPP32) in efi_gop_register() 470 if (bpix == LCD_COLOR32) in efi_gop_register() 487 gopobj->bpix = bpix; in efi_gop_register()
|
/openbmc/u-boot/doc/device-tree-bindings/video/ |
H A D | atmel-hlcdc.txt | 9 - atmel,vl-bpix: Bits per pixel. 22 atmel,vl-bpix = <4>;
|
H A D | exynos-fb.txt | 12 samsung,vl-bpix: Bits per pixel 86 samsung,vl-bpix = <4>;
|
/openbmc/u-boot/include/dm/ |
H A D | test.h | 164 int bpix; member
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | at91sam9x5dm.dtsi | 28 atmel,vl-bpix = <4>;
|
H A D | sama5d3xdm.dtsi | 14 atmel,vl-bpix = <4>;
|
H A D | exynos5420-smdk5420.dts | 64 samsung,vl-bpix = <4>;
|
H A D | at91-sama5d2_xplained.dts | 57 atmel,vl-bpix = <4>;
|
H A D | exynos4210-universal_c210.dts | 47 samsung,vl-bpix = <4>;
|
/openbmc/u-boot/drivers/pci/ |
H A D | pci_rom.c | 338 uc_priv->bpix = VIDEO_BPP32; in vbe_setup_video_priv() 341 uc_priv->bpix = VIDEO_BPP16; in vbe_setup_video_priv()
|
/openbmc/u-boot/drivers/video/sunxi/ |
H A D | sunxi_de2.c | 222 uc_priv->bpix = l2bpp; in sunxi_de2_init() 401 VNBYTES(de2_priv->bpix) * de2_priv->xsize, in sunxi_simplefb_setup()
|
/openbmc/u-boot/drivers/video/meson/ |
H A D | meson_vpu.c | 61 uc_priv->bpix = VPU_MAX_LOG2_BPP; in meson_vpu_setup_mode()
|