Home
last modified time | relevance | path

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

/drivers/video/
A Dvideo_bmp.c72 *fb++ = *bmap; in write_pix8()
91 *fb++ = 0; in write_pix8()
101 u8 *fb = *fbp; in draw_unencoded_bitmap() local
105 fb += bpix / 8; in draw_unencoded_bitmap()
108 *fbp = fb; in draw_unencoded_bitmap()
115 u8 *fb = *fbp; in draw_encoded_bitmap() local
119 fb += bpix / 8; in draw_encoded_bitmap()
122 *fbp = fb; in draw_encoded_bitmap()
164 fb = (uchar *)(priv->fb + in video_display_rle8_bitmap()
386 fb += 2; in video_bmp_display()
[all …]
A Dcoreboot.c19 if (!fb) in save_vesa_mode()
22 vesa->x_resolution = fb->x_resolution; in save_vesa_mode()
23 vesa->y_resolution = fb->y_resolution; in save_vesa_mode()
24 vesa->bits_per_pixel = fb->bits_per_pixel; in save_vesa_mode()
26 vesa->phys_base_ptr = fb->physical_address; in save_vesa_mode()
27 vesa->red_mask_size = fb->red_mask_size; in save_vesa_mode()
28 vesa->red_mask_pos = fb->red_mask_pos; in save_vesa_mode()
30 vesa->green_mask_pos = fb->green_mask_pos; in save_vesa_mode()
31 vesa->blue_mask_size = fb->blue_mask_size; in save_vesa_mode()
32 vesa->blue_mask_pos = fb->blue_mask_pos; in save_vesa_mode()
[all …]
A Dvideo-uclass.c256 if (!ho->fb || ho->size == 0) in video_reserve_from_bloblist()
259 gd->video_bottom = ho->fb; in video_reserve_from_bloblist()
260 gd->video_top = ho->fb + ho->size; in video_reserve_from_bloblist()
274 u16 *ppix = priv->fb; in video_fill()
275 u16 *end = priv->fb + priv->fb_size; in video_fill()
284 u32 *ppix = priv->fb; in video_fill()
285 u32 *end = priv->fb + priv->fb_size; in video_fill()
435 ulong fb = use_copy ? (ulong)priv->copy_fb : (ulong)priv->fb; in video_flush_dcache() local
449 flush_dcache_range(fb, ALIGN(fb + priv->fb_size, in video_flush_dcache()
520 sandbox_sdl_sync(priv->fb); in video_sync()
[all …]
A Dbochs.c38 ulong fb; in bochs_init_fb() local
43 fb = dm_pci_read_bar32(dev, 0); in bochs_init_fb()
44 if (!fb) in bochs_init_fb()
62 fb); in bochs_init_fb()
84 plat->base = fb; in bochs_init_fb()
A Defi.c186 u64 fb; in efi_video_probe() local
190 ret = save_vesa_mode(vesa, &fb); in efi_video_probe()
194 ret = vesa_setup_video_priv(vesa, fb, uc_priv, plat); in efi_video_probe()
199 vesa->bits_per_pixel, (ulong)fb); in efi_video_probe()
214 u64 fb; in efi_video_bind() local
221 ret = save_vesa_mode(&vesa, &fb); in efi_video_bind()
A Dconsole_rotate.c25 start = vid_priv->fb + vid_priv->line_length - in console_set_row_1()
55 dst = vid_priv->fb + vid_priv->line_length - in console_move_rows_1()
57 src = vid_priv->fb + vid_priv->line_length - in console_move_rows_1()
93 start = vid_priv->fb + linenum * vid_priv->line_length - x * pbytes; in console_putc_xy_1()
120 start = vid_priv->fb + vid_priv->ysize * vid_priv->line_length - in console_set_row_2()
147 end = vid_priv->fb + vid_priv->ysize * vid_priv->line_length; in console_move_rows_2()
181 start = vid_priv->fb + linenum * vid_priv->line_length + x * pbytes; in console_putc_xy_2()
206 start = vid_priv->fb + row * fontdata->height * pbytes; in console_set_row_3()
235 dst = vid_priv->fb + rowdst * fontdata->height * pbytes; in console_move_rows_3()
236 src = vid_priv->fb + rowsrc * fontdata->height * pbytes; in console_move_rows_3()
[all …]
A Dconsole_normal.c31 line = vid_priv->fb + row * fontdata->height * vid_priv->line_length; in console_set_row()
57 dst = vid_priv->fb + rowdst * fontdata->height * vid_priv->line_length; in console_move_rows()
58 src = vid_priv->fb + rowsrc * fontdata->height * vid_priv->line_length; in console_move_rows()
89 start = vid_priv->fb + linenum * vid_priv->line_length + x * pbytes; in console_putc_xy()
124 start = vid_priv->fb + y * vid_priv->line_length + x * pbytes; in console_set_cursor_visible()
A Dmxsfb.c201 int bpp, u32 fb) in mxs_probe_common() argument
204 mxs_lcd_init(dev, fb, timings, bpp); in mxs_probe_common()
232 static int mxs_remove_common(u32 fb) in mxs_remove_common() argument
237 if (!fb) in mxs_remove_common()
240 writel(fb, &regs->hw_lcdif_cur_buf_reg); in mxs_remove_common()
241 writel(fb, &regs->hw_lcdif_next_buf_reg); in mxs_remove_common()
A Dconsole_truetype.c200 line = vid_priv->fb + row * met->font_size * vid_priv->line_length; in console_truetype_set_row()
255 dst = vid_priv->fb + rowdst * met->font_size * vid_priv->line_length; in console_truetype_move_rows()
256 src = vid_priv->fb + rowsrc * met->font_size * vid_priv->line_length; in console_truetype_move_rows()
339 start = vid_priv->fb + y * vid_priv->line_length + in console_truetype_putc_xy()
956 start = vid_priv->fb + y * vid_priv->line_length + in truetype_set_cursor_visible()
A Dseps525.c231 u8 *start = uc_priv->fb; in seps525_sync()
/drivers/clk/
A Dclk_versaclock.c377 u8 fb[5]; in vc5_pll_recalc_rate() local
379 dm_i2c_read(vc->i2c, VC5_FEEDBACK_INT_DIV, fb, 5); in vc5_pll_recalc_rate()
381 div_int = (fb[0] << 4) | (fb[1] >> 4); in vc5_pll_recalc_rate()
382 div_frc = (fb[2] << 16) | (fb[3] << 8) | fb[4]; in vc5_pll_recalc_rate()
421 u8 fb[5]; in vc5_pll_set_rate() local
423 fb[0] = hwdata->div_int >> 4; in vc5_pll_set_rate()
424 fb[1] = hwdata->div_int << 4; in vc5_pll_set_rate()
425 fb[2] = hwdata->div_frc >> 16; in vc5_pll_set_rate()
426 fb[3] = hwdata->div_frc >> 8; in vc5_pll_set_rate()
427 fb[4] = hwdata->div_frc; in vc5_pll_set_rate()
[all …]
/drivers/clk/mtmips/
A Dclk-mt7621.c193 u32 bs, xtal_sel, clkcfg0, cur_clk, mempll, dividx, fb; in mt7621_get_clocks() local
217 fb = FIELD_GET(RG_MEPL_FBDIV, mempll); in mt7621_get_clocks()
219 cpu_clk = (fb + 1) * xtal_clk / xtal_div; in mt7621_get_clocks()
231 fb = FIELD_GET(RG_MEPL_FBDIV, mempll); in mt7621_get_clocks()
233 ddr_clk = fb * xtal_clk / xtal_div; in mt7621_get_clocks()
/drivers/pci/
A Dpci_rom.c337 int vesa_setup_video_priv(struct vesa_mode_info *vesa, u64 fb, in vesa_setup_video_priv() argument
361 plat->copy_base = fb; in vesa_setup_video_priv()
363 plat->base = fb; in vesa_setup_video_priv()
390 plat->base = ho->fb; in vesa_setup_video()
437 ho->fb = plat->base; in vesa_setup_video()
/drivers/ata/
A Ddwc_ahsata.c37 u32 fb; member
495 writel_with_flush(lower_32_bits(dma_addr), &port_mmio->fb); in ahci_port_start()

Completed in 44 milliseconds