Home
last modified time | relevance | path

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

123

/u-boot/drivers/video/
A Dvideo_bmp.c201 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()
280 if (bpix != 16) { in video_bmp_display()
290 byte_width = width * (bpix / 8); in video_bmp_display()
297 if (bpix == 8) { in video_bmp_display()
299 } else if (bpix == 16) { in video_bmp_display()
307 if (bpix == 24) { in video_bmp_display()
[all …]
A Dsandbox_sdl.c33 ret = sandbox_sdl_init_display(plat->xres, plat->yres, plat->bpix, in sandbox_sdl_probe()
41 uc_priv->bpix = plat->bpix; in sandbox_sdl_probe()
59 plat->bpix = dev_read_u32_default(dev, "log2-depth", VIDEO_BPP16); in sandbox_sdl_bind()
61 uc_plat->size = plat->xres * plat->yres * (1 << plat->bpix) / 8; in sandbox_sdl_bind()
A Dconsole_rotate.c17 int pbytes = VNBYTES(vid_priv->bpix); in console_set_row_1()
26 switch (vid_priv->bpix) { in console_set_row_1()
67 int pbytes = VNBYTES(vid_priv->bpix); in console_move_rows_1()
95 int pbytes = VNBYTES(vid_priv->bpix); in console_putc_xy_1()
108 switch (vid_priv->bpix) { in console_putc_xy_1()
167 switch (vid_priv->bpix) { in console_set_row_2()
229 int pbytes = VNBYTES(vid_priv->bpix); in console_putc_xy_2()
244 switch (vid_priv->bpix) { in console_putc_xy_2()
297 int pbytes = VNBYTES(vid_priv->bpix); in console_set_row_3()
304 switch (vid_priv->bpix) { in console_set_row_3()
[all …]
A Dsimplefb.c52 uc_priv->bpix = VIDEO_BPP16; in simple_video_probe()
54 uc_priv->bpix = VIDEO_BPP32; in simple_video_probe()
A Dconsole_normal.c25 switch (vid_priv->bpix) { in console_normal_set_row()
94 VID_TO_PIXEL(x_frac) * VNBYTES(vid_priv->bpix); in console_normal_putc_xy()
104 switch (vid_priv->bpix) { in console_normal_putc_xy()
A Datmel_lcdfb.c118 static void atmel_fb_init(ulong addr, struct display_timing *timing, int bpix, in atmel_fb_init() argument
139 (1 << bpix)) / 32; in atmel_fb_init()
164 value |= bpix << 5; in atmel_fb_init()
263 uc_priv->bpix = VIDEO_BPP16; in atmel_fb_lcd_probe()
A Dconsole_truetype.c135 switch (vid_priv->bpix) { in console_truetype_set_row()
266 VID_TO_PIXEL(x) * VNBYTES(vid_priv->bpix); in console_truetype_putc_xy()
278 switch (vid_priv->bpix) { in console_truetype_putc_xy()
363 start += xstart * VNBYTES(vid_priv->bpix); in console_truetype_erase()
366 switch (vid_priv->bpix) { in console_truetype_erase()
A Dbcm2835.c46 uc_priv->bpix = VIDEO_BPP32; in bcm2835_video_probe()
A Dnexell_display.c496 int bpix; in lcd_ctrl_init() local
504 bpix = LCD_COLOR16; in lcd_ctrl_init()
508 bpix = LCD_COLOR32; in lcd_ctrl_init()
519 pi->vl_bpix = bpix; in lcd_ctrl_init()
579 uc_priv->bpix = VIDEO_BPP16; in nx_display_probe()
587 uc_priv->bpix = VIDEO_BPP32; in nx_display_probe()
A Dmxsfb.c383 uc_priv->bpix = VIDEO_BPP32; in mxs_video_probe()
386 uc_priv->bpix = VIDEO_BPP16; in mxs_video_probe()
389 uc_priv->bpix = VIDEO_BPP8; in mxs_video_probe()
A Dvideo-uclass.c120 switch (priv->bpix) { in video_clear()
340 priv->line_length = priv->xsize * VNBYTES(priv->bpix); in video_post_probe()
/u-boot/common/
A Dlcd_simplefb.c22 int bpix; /* log2 of bits per pixel */ in lcd_dt_simplefb_configure_node() local
38 bpix = uc_priv->bpix; in lcd_dt_simplefb_configure_node()
43 bpix = LCD_BPP; in lcd_dt_simplefb_configure_node()
46 switch (bpix) { in lcd_dt_simplefb_configure_node()
58 xsize * (1 << bpix) / 8, name); in lcd_dt_simplefb_configure_node()
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 …]
/u-boot/include/
A Dvideo.h63 #define VNBYTES(bpix) (1 << (bpix)) / 8 argument
65 #define VNBITS(bpix) (1 << (bpix)) argument
97 enum video_log2_bpp bpix; member
/u-boot/lib/efi_loader/
A Defi_gop.c37 u32 bpix; member
228 switch (gopobj->bpix) { in gop_get_bpp()
435 u32 bpix, col, row; in efi_gop_register() local
451 bpix = priv->bpix; in efi_gop_register()
460 bpix = panel_info.vl_bpix; in efi_gop_register()
468 switch (bpix) { in efi_gop_register()
515 if (bpix == VIDEO_BPP32) in efi_gop_register()
517 if (bpix == LCD_COLOR32) in efi_gop_register()
528 gopobj->bpix = bpix; in efi_gop_register()
/u-boot/doc/device-tree-bindings/video/
A Datmel-hlcdc.txt9 - atmel,vl-bpix: Bits per pixel.
22 atmel,vl-bpix = <4>;
A Dexynos-fb.txt12 samsung,vl-bpix: Bits per pixel
86 samsung,vl-bpix = <4>;
/u-boot/include/dm/
A Dtest.h166 int bpix; member
/u-boot/arch/arm/dts/
A Dat91sam9x5dm.dtsi28 atmel,vl-bpix = <4>;
A Dsama5d3xdm.dtsi14 atmel,vl-bpix = <4>;
A Dat91-sama5d27_wlsom1_ek.dts42 atmel,vl-bpix = <4>;
/u-boot/cmd/
A Dbdinfo.c85 upriv->ysize, 1 << upriv->bpix); in show_video_info()
/u-boot/drivers/pci/
A Dpci_rom.c342 uc_priv->bpix = VIDEO_BPP32; in vbe_setup_video_priv()
345 uc_priv->bpix = VIDEO_BPP16; in vbe_setup_video_priv()
/u-boot/drivers/video/sunxi/
A Dsunxi_de2.c225 uc_priv->bpix = l2bpp; in sunxi_de2_init()
404 VNBYTES(de2_priv->bpix) * de2_priv->xsize, in sunxi_simplefb_setup()
/u-boot/drivers/video/meson/
A Dmeson_vpu.c75 uc_priv->bpix = VPU_MAX_LOG2_BPP; in meson_vpu_setup_mode()

Completed in 37 milliseconds

123