Searched refs:fb (Results 1 - 25 of 41) sorted by relevance

12

/u-boot/drivers/video/
H A Dcoreboot.c13 static int save_vesa_mode(struct cb_framebuffer *fb, argument
20 if (!fb)
23 vesa->x_resolution = fb->x_resolution;
24 vesa->y_resolution = fb->y_resolution;
25 vesa->bits_per_pixel = fb->bits_per_pixel;
26 vesa->bytes_per_scanline = fb->bytes_per_line;
27 vesa->phys_base_ptr = fb->physical_address;
28 vesa->red_mask_size = fb->red_mask_size;
29 vesa->red_mask_pos = fb->red_mask_pos;
30 vesa->green_mask_size = fb
44 struct cb_framebuffer *fb = lib_sysinfo.framebuffer; local
[all...]
H A Dvideo_bmp.c62 * @fb: Place in frame buffer to update
69 static void write_pix8(u8 *fb, uint bpix, enum video_format eformat, argument
73 *fb++ = *bmap;
75 *(u16 *)fb = get_bmp_col_16bpp(palette[*bmap]);
81 *fb++ = cte->red;
82 *fb++ = cte->green;
83 *fb++ = cte->blue;
85 *(u32 *)fb = get_bmp_col_x2r10g10b10(cte);
87 *(u32 *)fb = get_bmp_col_rgba8888(cte);
89 *fb
102 u8 *fb = *fbp; local
116 u8 *fb = *fbp; local
126 video_display_rle8_bitmap(struct udevice *dev, struct bmp_image *bmp, uint bpix, struct bmp_color_table_entry *palette, uchar *fb, int x_off, int y_off, ulong width, ulong height) argument
261 uchar *start, *fb; local
[all...]
H A Dbochs.c39 ulong fb; local
44 fb = dm_pci_read_bar32(dev, 0);
45 if (!fb)
46 return log_msg_ret("fb", -EIO);
63 fb);
84 plat->base = fb;
H A Dvideo-uclass.c158 start = priv->fb + ystart * priv->line_length;
204 if (!ho->fb || ho->size == 0)
207 gd->video_bottom = ho->fb;
208 gd->fb_base = ho->fb;
209 gd->video_top = ho->fb + ho->size;
211 __func__, (unsigned long)ho->size, (u32)ho->fb);
224 u16 *ppix = priv->fb;
225 u16 *end = priv->fb + priv->fb_size;
233 u32 *ppix = priv->fb;
234 u32 *end = priv->fb
[all...]
H A Dconsole_normal.c32 line = vid_priv->fb + row * fontdata->height * vid_priv->line_length;
57 dst = vid_priv->fb + rowdst * fontdata->height * vid_priv->line_length;
58 src = vid_priv->fb + rowsrc * fontdata->height * vid_priv->line_length;
85 start = vid_priv->fb + linenum * vid_priv->line_length + x * pbytes;
118 start = vid_priv->fb + y * vid_priv->line_length + x * pbytes;
H A Dconsole_rotate.c27 start = vid_priv->fb + vid_priv->line_length -
54 dst = vid_priv->fb + vid_priv->line_length -
56 src = vid_priv->fb + vid_priv->line_length -
89 start = vid_priv->fb + linenum * vid_priv->line_length - x * pbytes;
115 start = vid_priv->fb + vid_priv->ysize * vid_priv->line_length -
139 end = vid_priv->fb + vid_priv->ysize * vid_priv->line_length;
168 start = vid_priv->fb + linenum * vid_priv->line_length + x * pbytes;
192 start = vid_priv->fb + row * fontdata->height * pbytes;
218 dst = vid_priv->fb + rowdst * fontdata->height * pbytes;
219 src = vid_priv->fb
[all...]
H A Defi.c81 log_debug("maxmode %u, mode %u, info %p, size %lx, fb %lx, fb_size %lx\n",
95 * get_mode_from_entry() - Obtain fb info from the EFIET_GOP_MODE payload entry
187 u64 fb; local
191 ret = save_vesa_mode(vesa, &fb);
195 ret = vesa_setup_video_priv(vesa, fb, uc_priv, plat);
200 vesa->bits_per_pixel, (ulong)fb);
215 u64 fb; local
222 ret = save_vesa_mode(&vesa, &fb);
234 { .compatible = "efi-fb" },
H A Dmxsfb.c202 int bpp, u32 fb)
205 mxs_lcd_init(dev, fb, timings, bpp);
233 static int mxs_remove_common(u32 fb) argument
238 if (!fb)
241 writel(fb, &regs->hw_lcdif_cur_buf_reg);
242 writel(fb, &regs->hw_lcdif_next_buf_reg);
201 mxs_probe_common(struct udevice *dev, struct display_timing *timings, int bpp, u32 fb) argument
/u-boot/arch/x86/lib/
H A Dcoreboot_table.c106 struct cb_framebuffer *fb; local
152 fb = (struct cb_framebuffer *)cbr;
153 fb->tag = CB_TAG_FRAMEBUFFER;
154 fb->size = sizeof(struct cb_framebuffer);
156 fb->x_resolution = vesa->x_resolution;
157 fb->y_resolution = vesa->y_resolution;
158 fb->bits_per_pixel = vesa->bits_per_pixel;
159 fb->bytes_per_line = vesa->bytes_per_scanline;
160 fb->physical_address = vesa->phys_base_ptr;
161 fb
[all...]
/u-boot/arch/arm/include/asm/mach-imx/
H A Dvideo.h6 #include <linux/fb.h>
/u-boot/cmd/x86/
H A Dcbsysinfo.c246 struct cb_framebuffer *fb = info->framebuffer; local
248 print_addr64(">Phys addr", fb->physical_address);
249 print_dec(">X res", fb->x_resolution);
250 print_dec(">X res", fb->y_resolution);
251 print_hex(">Bytes / line", fb->bytes_per_line);
252 print_dec(">Bpp", fb->bits_per_pixel);
254 "pos/size", fb->red_mask_pos, fb->red_mask_size,
255 fb->green_mask_pos, fb
[all...]
/u-boot/drivers/video/exynos/
H A Dexynos_mipi_dsi_common.h9 #include <linux/fb.h>
/u-boot/arch/mips/mach-mtmips/mt7621/spl/
H A Ddram.c111 u32 div, baseval, fb; local
122 fb = CONFIG_MT7621_CPU_FREQ / div - 1;
123 if (fb > RG_MEPL_FBDIV_M)
124 fb = RG_MEPL_FBDIV_M;
126 return baseval | (fb << RG_MEPL_FBDIV_S);
/u-boot/drivers/clk/mtmips/
H A Dclk-mt7621.c193 u32 bs, xtal_sel, clkcfg0, cur_clk, mempll, dividx, fb; local
217 fb = FIELD_GET(RG_MEPL_FBDIV, mempll);
219 cpu_clk = (fb + 1) * xtal_clk / xtal_div;
231 fb = FIELD_GET(RG_MEPL_FBDIV, mempll);
233 ddr_clk = fb * xtal_clk / xtal_div;
/u-boot/include/
H A Dvideo.h87 * @fb: Frame buffer
115 void *fb; member in struct:video_priv
146 * @fb: Base address of frame buffer, 0 if not yet known
156 u64 fb; member in struct:video_handoff
354 * @from: Start/end address within the framebuffer (->fb)
H A Dipu_pixfmt.h15 #include <linux/fb.h>
H A Dvesa.h119 * @fb: Frame buffer address (since vesa->phys_base_ptr is only 32 bits)
125 int vesa_setup_video_priv(struct vesa_mode_info *vesa, u64 fb,
/u-boot/board/ge/mx53ppd/
H A Dmx53ppd_video.c16 #include <linux/fb.h>
H A Dmx53ppd.c34 #include <linux/fb.h>
/u-boot/drivers/pci/
H A Dpci_rom.c337 int vesa_setup_video_priv(struct vesa_mode_info *vesa, u64 fb, argument
360 plat->copy_base = fb;
362 plat->base = fb;
389 plat->base = ho->fb;
435 ho->fb = plat->base;
/u-boot/drivers/clk/
H A Dclk_versaclock.c378 u8 fb[5]; local
380 dm_i2c_read(vc->i2c, VC5_FEEDBACK_INT_DIV, fb, 5);
382 div_int = (fb[0] << 4) | (fb[1] >> 4);
383 div_frc = (fb[2] << 16) | (fb[3] << 8) | fb[4];
422 u8 fb[5]; local
424 fb[0] = hwdata->div_int >> 4;
425 fb[
[all...]
/u-boot/boot/
H A Dfdt_simplefb.c41 fb_base = ho->fb;
/u-boot/arch/arm/mach-exynos/include/mach/
H A Dmipi_dsim.h13 #include <linux/fb.h>
/u-boot/board/kosagi/novena/
H A Dnovena.c37 #include <linux/fb.h>
/u-boot/lib/efi_loader/
H A Defi_gop.c28 * @fb: frame buffer
37 void *fb; member in struct:efi_gop_obj
120 u32 *fb32 = gopobj->fb;
121 u16 *fb16 = gopobj->fb;
551 gopobj->fb = map_sysmem(fb_base, fb_size);

Completed in 221 milliseconds

12