• Home
  • Raw
  • Download

Lines Matching refs:fb

28 #define to_exynos_fb(x)	container_of(x, struct exynos_drm_fb, fb)
38 struct drm_framebuffer fb; member
69 static void exynos_drm_fb_destroy(struct drm_framebuffer *fb) in exynos_drm_fb_destroy() argument
71 struct exynos_drm_fb *exynos_fb = to_exynos_fb(fb); in exynos_drm_fb_destroy()
75 exynos_drm_crtc_complete_scanout(fb); in exynos_drm_fb_destroy()
77 drm_framebuffer_cleanup(fb); in exynos_drm_fb_destroy()
93 static int exynos_drm_fb_create_handle(struct drm_framebuffer *fb, in exynos_drm_fb_create_handle() argument
97 struct exynos_drm_fb *exynos_fb = to_exynos_fb(fb); in exynos_drm_fb_create_handle()
107 static int exynos_drm_fb_dirty(struct drm_framebuffer *fb, in exynos_drm_fb_dirty() argument
123 void exynos_drm_fb_set_buf_cnt(struct drm_framebuffer *fb, in exynos_drm_fb_set_buf_cnt() argument
128 exynos_fb = to_exynos_fb(fb); in exynos_drm_fb_set_buf_cnt()
133 unsigned int exynos_drm_fb_get_buf_cnt(struct drm_framebuffer *fb) in exynos_drm_fb_get_buf_cnt() argument
137 exynos_fb = to_exynos_fb(fb); in exynos_drm_fb_get_buf_cnt()
163 drm_helper_mode_fill_fb_struct(&exynos_fb->fb, mode_cmd); in exynos_drm_framebuffer_init()
166 ret = drm_framebuffer_init(dev, &exynos_fb->fb, &exynos_drm_fb_funcs); in exynos_drm_framebuffer_init()
173 return &exynos_fb->fb; in exynos_drm_framebuffer_init()
233 drm_helper_mode_fill_fb_struct(&exynos_fb->fb, mode_cmd); in exynos_user_fb_create()
259 ret = drm_framebuffer_init(dev, &exynos_fb->fb, &exynos_drm_fb_funcs); in exynos_user_fb_create()
265 return &exynos_fb->fb; in exynos_user_fb_create()
280 struct exynos_drm_gem_buf *exynos_drm_fb_buffer(struct drm_framebuffer *fb, in exynos_drm_fb_buffer() argument
283 struct exynos_drm_fb *exynos_fb = to_exynos_fb(fb); in exynos_drm_fb_buffer()