Lines Matching refs:fb
73 int (*create_handle)(struct drm_framebuffer *fb,
219 struct drm_framebuffer *fb,
224 void drm_framebuffer_remove(struct drm_framebuffer *fb);
225 void drm_framebuffer_cleanup(struct drm_framebuffer *fb);
226 void drm_framebuffer_unregister_private(struct drm_framebuffer *fb);
234 static inline void drm_framebuffer_get(struct drm_framebuffer *fb) in drm_framebuffer_get() argument
236 drm_mode_object_get(&fb->base); in drm_framebuffer_get()
246 static inline void drm_framebuffer_put(struct drm_framebuffer *fb) in drm_framebuffer_put() argument
248 drm_mode_object_put(&fb->base); in drm_framebuffer_put()
257 static inline uint32_t drm_framebuffer_read_refcount(const struct drm_framebuffer *fb) in drm_framebuffer_read_refcount() argument
259 return kref_read(&fb->base.refcount); in drm_framebuffer_read_refcount()
271 struct drm_framebuffer *fb) in drm_framebuffer_assign() argument
273 if (fb) in drm_framebuffer_assign()
274 drm_framebuffer_get(fb); in drm_framebuffer_assign()
277 *p = fb; in drm_framebuffer_assign()
288 #define drm_for_each_fb(fb, dev) \ argument
290 fb = list_first_entry(&(dev)->mode_config.fb_list, \
292 &fb->head != (&(dev)->mode_config.fb_list); \
293 fb = list_next_entry(fb, head))
296 const struct drm_framebuffer *fb, int plane);
298 const struct drm_framebuffer *fb, int plane);