Lines Matching refs:fb
181 int bpp, u32 fb) in mxs_probe_common() argument
184 mxs_lcd_init(dev, fb, timings, bpp); in mxs_probe_common()
212 static int mxs_remove_common(u32 fb) in mxs_remove_common() argument
217 if (!fb) in mxs_remove_common()
220 writel(fb, ®s->hw_lcdif_cur_buf_reg); in mxs_remove_common()
221 writel(fb, ®s->hw_lcdif_next_buf_reg); in mxs_remove_common()
248 void *fb = NULL; in video_hw_init() local
293 fb = memalign(ARCH_DMA_MINALIGN, in video_hw_init()
295 if (!fb) { in video_hw_init()
301 memset(fb, 0, panel.memSize); in video_hw_init()
303 panel.frameAdrs = (u32)fb; in video_hw_init()
309 ret = mxs_probe_common(NULL, &timings, bpp, (u32)fb); in video_hw_init()
316 free(fb); in video_hw_init()