Home
last modified time | relevance | path

Searched refs:fb (Results 1 – 25 of 34) sorted by relevance

12

/rk3399_rockchip-uboot/drivers/video/
H A Dcoreboot.c13 static int save_vesa_mode(struct cb_framebuffer *fb, in save_vesa_mode() argument
20 if (!fb) in save_vesa_mode()
23 vesa->x_resolution = fb->x_resolution; in save_vesa_mode()
24 vesa->y_resolution = fb->y_resolution; in save_vesa_mode()
25 vesa->bits_per_pixel = fb->bits_per_pixel; in save_vesa_mode()
26 vesa->bytes_per_scanline = fb->bytes_per_line; in save_vesa_mode()
27 vesa->phys_base_ptr = fb->physical_address; in save_vesa_mode()
28 vesa->red_mask_size = fb->red_mask_size; in save_vesa_mode()
29 vesa->red_mask_pos = fb->red_mask_pos; in save_vesa_mode()
30 vesa->green_mask_size = fb->green_mask_size; in save_vesa_mode()
[all …]
H A Dvideo_bmp.c32 ushort *fb = *fbp; in draw_encoded_bitmap() local
35 *fb++ = col; in draw_encoded_bitmap()
38 *fbp = fb; in draw_encoded_bitmap()
43 uchar *fb, int x_off, int y_off) in video_display_rle8_bitmap() argument
69 fb -= (width * 2 + priv->line_length); in video_display_rle8_bitmap()
80 fb = (uchar *)(priv->fb + (y + y_off - 1) in video_display_rle8_bitmap()
95 (ushort **)&fb, in video_display_rle8_bitmap()
120 draw_encoded_bitmap((ushort **)&fb, in video_display_rle8_bitmap()
131 __weak void fb_put_byte(uchar **fb, uchar **from) in fb_put_byte() argument
133 *(*fb)++ = *(*from)++; in fb_put_byte()
[all …]
H A Dcfb_console.c1051 *fb = ((r>>5)<<5) | ((g>>5)<<2) | (b>>6); \
1052 fb ++; \
1056 *(unsigned short *)fb = \
1060 fb += 2; \
1064 *(unsigned short *)fb = \
1068 fb += 2; \
1072 *(u32 *)fb = \
1076 fb += 4; \
1081 fb[0] = b; \
1082 fb[1] = g; \
[all …]
H A Dvideo-uclass.c114 u32 *ppix = priv->fb; in video_clear()
115 u32 *end = priv->fb + priv->fb_size; in video_clear()
120 memset(priv->fb, priv->colour_bg, priv->fb_size); in video_clear()
138 flush_dcache_range((ulong)priv->fb, in video_sync()
139 ALIGN((ulong)priv->fb + priv->fb_size, in video_sync()
147 sandbox_sdl_sync(priv->fb); in video_sync()
211 priv->fb = map_sysmem(plat->base, plat->size); in video_post_probe()
H A Dconsole_rotate.c22 line = vid_priv->fb + vid_priv->line_length - in console_set_row_1()
71 dst = vid_priv->fb + vid_priv->line_length - in console_move_rows_1()
73 src = vid_priv->fb + vid_priv->line_length - in console_move_rows_1()
96 line = vid_priv->fb + (VID_TO_PIXEL(x_frac) + 1) * in console_putc_xy_1()
154 line = vid_priv->fb + vid_priv->ysize * vid_priv->line_length - in console_set_row_2()
199 end = vid_priv->fb + vid_priv->ysize * vid_priv->line_length; in console_move_rows_2()
220 line = vid_priv->fb + (vid_priv->ysize - y - 1) * in console_putc_xy_2()
281 line = vid_priv->fb + row * VIDEO_FONT_HEIGHT * pbytes; in console_set_row_3()
329 dst = vid_priv->fb + rowdst * VIDEO_FONT_HEIGHT * pbytes; in console_move_rows_3()
330 src = vid_priv->fb + rowsrc * VIDEO_FONT_HEIGHT * pbytes; in console_move_rows_3()
[all …]
H A Dmxsfb.c158 void *fb; in video_hw_init() local
203 fb = memalign(ARCH_DMA_MINALIGN, in video_hw_init()
205 if (!fb) { in video_hw_init()
211 memset(fb, 0, panel.memSize); in video_hw_init()
213 panel.frameAdrs = (u32)fb; in video_hw_init()
H A Dconsole_normal.c24 line = vid_priv->fb + row * VIDEO_FONT_HEIGHT * vid_priv->line_length; in console_normal_set_row()
67 dst = vid_priv->fb + rowdst * VIDEO_FONT_HEIGHT * vid_priv->line_length; in console_normal_move_rows()
68 src = vid_priv->fb + rowsrc * VIDEO_FONT_HEIGHT * vid_priv->line_length; in console_normal_move_rows()
81 void *line = vid_priv->fb + y * vid_priv->line_length + in console_normal_putc_xy()
H A Dconsole_truetype.c133 line = vid_priv->fb + row * priv->font_size * vid_priv->line_length; in console_truetype_set_row()
178 dst = vid_priv->fb + rowdst * priv->font_size * vid_priv->line_length; in console_truetype_move_rows()
179 src = vid_priv->fb + rowsrc * priv->font_size * vid_priv->line_length; in console_truetype_move_rows()
255 line = vid_priv->fb + y * vid_priv->line_length + in console_truetype_putc_xy()
325 line = vid_priv->fb + ystart * vid_priv->line_length; in console_truetype_erase()
H A DMakefile38 obj-$(CONFIG_VIDEO_DA8XX) += da8xx-fb.o videomodes.o
54 obj-$(CONFIG_AM335X_LCD) += am335x-fb.o
H A Datmel_lcdfb.c59 void fb_put_word(uchar **fb, uchar **from) in fb_put_word() argument
61 *(*fb)++ = (((*from)[0] & 0x1f) << 2) | ((*from)[1] & 0x03); in fb_put_word()
62 *(*fb)++ = ((*from)[0] & 0xe0) | (((*from)[1] & 0x7c) >> 2); in fb_put_word()
H A Dfsl_diu_fb.c223 unsigned int depth, char **fb) in allocate_fb() argument
245 if (fb) in allocate_fb()
246 *fb = addr.vaddr + ad_size; in allocate_fb()
/rk3399_rockchip-uboot/arch/x86/lib/
H A Dcoreboot_table.c104 struct cb_framebuffer *fb; in write_coreboot_table() local
150 fb = (struct cb_framebuffer *)cbr; in write_coreboot_table()
151 fb->tag = CB_TAG_FRAMEBUFFER; in write_coreboot_table()
152 fb->size = sizeof(struct cb_framebuffer); in write_coreboot_table()
154 fb->x_resolution = vesa->x_resolution; in write_coreboot_table()
155 fb->y_resolution = vesa->y_resolution; in write_coreboot_table()
156 fb->bits_per_pixel = vesa->bits_per_pixel; in write_coreboot_table()
157 fb->bytes_per_line = vesa->bytes_per_scanline; in write_coreboot_table()
158 fb->physical_address = vesa->phys_base_ptr; in write_coreboot_table()
159 fb->red_mask_size = vesa->red_mask_size; in write_coreboot_table()
[all …]
/rk3399_rockchip-uboot/common/
H A Dlcd.c351 uchar *fb = (uchar *)(lcd_base + y * lcd_line_length + x * bpix / 8); in lcd_logo_plot() local
363 memcpy(fb, bmap, BMP_LOGO_WIDTH); in lcd_logo_plot()
365 fb += panel_info.vl_col; in lcd_logo_plot()
370 fb16 = (ushort *)fb; in lcd_logo_plot()
429 ushort *fb = *fbp; in draw_encoded_bitmap() local
434 *fb++ = c; in draw_encoded_bitmap()
435 *fb++ = c; in draw_encoded_bitmap()
436 *fb++ = c; in draw_encoded_bitmap()
437 *fb++ = c; in draw_encoded_bitmap()
438 *fb++ = c; in draw_encoded_bitmap()
[all …]
/rk3399_rockchip-uboot/lib/efi_loader/
H A Defi_gop.c31 void *fb; member
67 void *fb; in gop_blt() local
75 fb = gopobj->fb; in gop_blt()
88 u32 *dest = fb + ((i + dy) * line_len32) + in gop_blt()
103 u16 *dest = fb + ((i + dy) * line_len16) + in gop_blt()
134 void *fb; local
148 fb_base = (uintptr_t)priv->fb;
150 fb = priv->fb;
159 fb = (void*)gd->fb_base;
208 gopobj->fb = fb;
/rk3399_rockchip-uboot/drivers/video/drm/
H A Dbmp_helper.c29 uint16_t *fb = *dst; in draw_encoded_bitmap() local
34 *fb++ = c; in draw_encoded_bitmap()
35 *fb++ = c; in draw_encoded_bitmap()
36 *fb++ = c; in draw_encoded_bitmap()
37 *fb++ = c; in draw_encoded_bitmap()
38 *fb++ = c; in draw_encoded_bitmap()
39 *fb++ = c; in draw_encoded_bitmap()
40 *fb++ = c; in draw_encoded_bitmap()
41 *fb++ = c; in draw_encoded_bitmap()
45 *fb++ = c; in draw_encoded_bitmap()
[all …]
/rk3399_rockchip-uboot/arch/x86/dts/
H A Dcoreboot_fb.dtsi2 coreboot-fb {
3 compatible = "coreboot-fb";
/rk3399_rockchip-uboot/board/htkw/mcx/
H A Dmcx.c128 void *fb; in board_video_init() local
130 fb = (void *)FB_START_ADDRESS; in board_video_init()
132 lcd_cfg.frame_buffer = fb; in board_video_init()
/rk3399_rockchip-uboot/board/teejet/mt_ventoux/
H A Dmt_ventoux.c310 void *fb; in board_video_init() local
312 fb = (void *)0x88000000; in board_video_init()
323 panel->frame_buffer = fb; in board_video_init()
/rk3399_rockchip-uboot/include/
H A Dvideo.h84 void *fb; member
/rk3399_rockchip-uboot/doc/device-tree-bindings/video/
H A Ddisplaymode.txt23 framework described here in Documentation/fb/framebuffer.txt. This
/rk3399_rockchip-uboot/arch/arm/dts/
H A Dat91sam9g45-gurnard.dts37 fb@0x00500000 {
H A Dat91sam9263ek.dts100 fb0: fb@0x00700000 {
H A Dat91sam9261ek.dts39 fb0: fb@0x00600000 {
H A Dat91sam9rlek.dts36 fb0: fb@00500000 {
H A Dat91sam9261.dtsi85 fb0: fb@0x00600000 {
553 fb {
554 pinctrl_fb: fb-0 {

12