Home
last modified time | relevance | path

Searched refs:bpix (Results 1 – 25 of 44) sorted by relevance

12

/openbmc/u-boot/drivers/video/
H A Dvideo_bmp.c202 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 Dsandbox_sdl.c28 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 Dconsole_rotate.c17 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 Dsimplefb.c50 uc_priv->bpix = VIDEO_BPP16; in simple_video_probe()
52 uc_priv->bpix = VIDEO_BPP32; in simple_video_probe()
H A Dconsole_normal.c24 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 Datmel_lcdfb.c114 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 Dconsole_truetype.c133 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 Dbcm2835.c42 uc_priv->bpix = VIDEO_BPP32; in bcm2835_video_probe()
H A Dvideo-uclass.c93 switch (priv->bpix) { in video_clear()
230 priv->line_length = priv->xsize * VNBYTES(priv->bpix); in video_post_probe()
H A Dmvebu_lcd.c567 uc_priv->bpix = VIDEO_BPP16; /* Uses RGB555 format */ in mvebu_video_probe()
/openbmc/u-boot/common/
H A Dlcd_simplefb.c21 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 Dlcd.c348 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 Dvideo.h48 #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 Defi_gop.c35 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 Datmel-hlcdc.txt9 - atmel,vl-bpix: Bits per pixel.
22 atmel,vl-bpix = <4>;
H A Dexynos-fb.txt12 samsung,vl-bpix: Bits per pixel
86 samsung,vl-bpix = <4>;
/openbmc/u-boot/include/dm/
H A Dtest.h164 int bpix; member
/openbmc/u-boot/arch/arm/dts/
H A Dat91sam9x5dm.dtsi28 atmel,vl-bpix = <4>;
H A Dsama5d3xdm.dtsi14 atmel,vl-bpix = <4>;
H A Dexynos5420-smdk5420.dts64 samsung,vl-bpix = <4>;
H A Dat91-sama5d2_xplained.dts57 atmel,vl-bpix = <4>;
H A Dexynos4210-universal_c210.dts47 samsung,vl-bpix = <4>;
/openbmc/u-boot/drivers/pci/
H A Dpci_rom.c338 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 Dsunxi_de2.c222 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 Dmeson_vpu.c61 uc_priv->bpix = VPU_MAX_LOG2_BPP; in meson_vpu_setup_mode()

12