/u-boot/drivers/video/ |
A D | video_bmp.c | 201 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 D | sandbox_sdl.c | 33 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 D | console_rotate.c | 17 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 D | simplefb.c | 52 uc_priv->bpix = VIDEO_BPP16; in simple_video_probe() 54 uc_priv->bpix = VIDEO_BPP32; in simple_video_probe()
|
A D | console_normal.c | 25 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 D | atmel_lcdfb.c | 118 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 D | console_truetype.c | 135 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 D | bcm2835.c | 46 uc_priv->bpix = VIDEO_BPP32; in bcm2835_video_probe()
|
A D | nexell_display.c | 496 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 D | mxsfb.c | 383 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 D | video-uclass.c | 120 switch (priv->bpix) { in video_clear() 340 priv->line_length = priv->xsize * VNBYTES(priv->bpix); in video_post_probe()
|
/u-boot/common/ |
A D | lcd_simplefb.c | 22 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 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 …]
|
/u-boot/include/ |
A D | video.h | 63 #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 D | efi_gop.c | 37 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 D | atmel-hlcdc.txt | 9 - atmel,vl-bpix: Bits per pixel. 22 atmel,vl-bpix = <4>;
|
A D | exynos-fb.txt | 12 samsung,vl-bpix: Bits per pixel 86 samsung,vl-bpix = <4>;
|
/u-boot/include/dm/ |
A D | test.h | 166 int bpix; member
|
/u-boot/arch/arm/dts/ |
A D | at91sam9x5dm.dtsi | 28 atmel,vl-bpix = <4>;
|
A D | sama5d3xdm.dtsi | 14 atmel,vl-bpix = <4>;
|
A D | at91-sama5d27_wlsom1_ek.dts | 42 atmel,vl-bpix = <4>;
|
/u-boot/cmd/ |
A D | bdinfo.c | 85 upriv->ysize, 1 << upriv->bpix); in show_video_info()
|
/u-boot/drivers/pci/ |
A D | pci_rom.c | 342 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 D | sunxi_de2.c | 225 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 D | meson_vpu.c | 75 uc_priv->bpix = VPU_MAX_LOG2_BPP; in meson_vpu_setup_mode()
|