Lines Matching refs:fb
153 int versatile_clcd_setup_dma(struct clcd_fb *fb, unsigned long framesize) in versatile_clcd_setup_dma() argument
157 fb->fb.screen_base = dma_alloc_writecombine(&fb->dev->dev, framesize, in versatile_clcd_setup_dma()
159 if (!fb->fb.screen_base) { in versatile_clcd_setup_dma()
164 fb->fb.fix.smem_start = dma; in versatile_clcd_setup_dma()
165 fb->fb.fix.smem_len = framesize; in versatile_clcd_setup_dma()
170 int versatile_clcd_mmap_dma(struct clcd_fb *fb, struct vm_area_struct *vma) in versatile_clcd_mmap_dma() argument
172 return dma_mmap_writecombine(&fb->dev->dev, vma, in versatile_clcd_mmap_dma()
173 fb->fb.screen_base, in versatile_clcd_mmap_dma()
174 fb->fb.fix.smem_start, in versatile_clcd_mmap_dma()
175 fb->fb.fix.smem_len); in versatile_clcd_mmap_dma()
178 void versatile_clcd_remove_dma(struct clcd_fb *fb) in versatile_clcd_remove_dma() argument
180 dma_free_writecombine(&fb->dev->dev, fb->fb.fix.smem_len, in versatile_clcd_remove_dma()
181 fb->fb.screen_base, fb->fb.fix.smem_start); in versatile_clcd_remove_dma()