Lines Matching refs:fb_info

20 struct fb_info;
144 struct fb_info *info;
208 void (*writeio)(struct fb_info *info, void __iomem *dst, void *src, unsigned int size);
209 void (*readio) (struct fb_info *info, void *dst, void __iomem *src, unsigned int size);
228 struct page *(*get_page)(struct fb_info *info, unsigned long offset);
229 void (*deferred_io)(struct fb_info *info, struct list_head *pagelist);
250 int (*fb_open)(struct fb_info *info, int user);
251 int (*fb_release)(struct fb_info *info, int user);
256 ssize_t (*fb_read)(struct fb_info *info, char __user *buf,
258 ssize_t (*fb_write)(struct fb_info *info, const char __user *buf,
263 int (*fb_check_var)(struct fb_var_screeninfo *var, struct fb_info *info);
266 int (*fb_set_par)(struct fb_info *info);
270 unsigned blue, unsigned transp, struct fb_info *info);
273 int (*fb_setcmap)(struct fb_cmap *cmap, struct fb_info *info);
276 int (*fb_blank)(int blank, struct fb_info *info);
279 int (*fb_pan_display)(struct fb_var_screeninfo *var, struct fb_info *info);
282 void (*fb_fillrect) (struct fb_info *info, const struct fb_fillrect *rect);
284 void (*fb_copyarea) (struct fb_info *info, const struct fb_copyarea *region);
286 void (*fb_imageblit) (struct fb_info *info, const struct fb_image *image);
289 int (*fb_cursor) (struct fb_info *info, struct fb_cursor *cursor);
292 int (*fb_sync)(struct fb_info *info);
295 int (*fb_ioctl)(struct fb_info *info, unsigned int cmd,
299 int (*fb_compat_ioctl)(struct fb_info *info, unsigned cmd,
303 int (*fb_mmap)(struct fb_info *info, struct vm_area_struct *vma);
306 void (*fb_get_caps)(struct fb_info *info, struct fb_blit_caps *caps,
310 void (*fb_destroy)(struct fb_info *info);
313 int (*fb_debug_enter)(struct fb_info *info);
314 int (*fb_debug_leave)(struct fb_info *info);
376 void (*fb_settile)(struct fb_info *info, struct fb_tilemap *map);
381 void (*fb_tilecopy)(struct fb_info *info, struct fb_tilearea *area);
383 void (*fb_tilefill)(struct fb_info *info, struct fb_tilerect *rect);
385 void (*fb_tileblit)(struct fb_info *info, struct fb_tileblit *blit);
387 void (*fb_tilecursor)(struct fb_info *info,
390 int (*fb_get_tilemax)(struct fb_info *info);
453 struct fb_info { struct
534 extern int fb_set_var(struct fb_info *info, struct fb_var_screeninfo *var); argument
535 extern int fb_pan_display(struct fb_info *info, struct fb_var_screeninfo *var);
536 extern int fb_blank(struct fb_info *info, int blank);
542 extern void cfb_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
543 extern void cfb_copyarea(struct fb_info *info, const struct fb_copyarea *area);
544 extern void cfb_imageblit(struct fb_info *info, const struct fb_image *image);
545 extern ssize_t fb_io_read(struct fb_info *info, char __user *buf,
547 extern ssize_t fb_io_write(struct fb_info *info, const char __user *buf,
549 int fb_io_mmap(struct fb_info *info, struct vm_area_struct *vma);
572 extern void sys_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
573 extern void sys_copyarea(struct fb_info *info, const struct fb_copyarea *area);
574 extern void sys_imageblit(struct fb_info *info, const struct fb_image *image);
575 extern ssize_t fb_sys_read(struct fb_info *info, char __user *buf,
577 extern ssize_t fb_sys_write(struct fb_info *info, const char __user *buf,
603 extern int register_framebuffer(struct fb_info *fb_info);
604 extern void unregister_framebuffer(struct fb_info *fb_info);
605 extern int devm_register_framebuffer(struct device *dev, struct fb_info *fb_info);
606 extern char* fb_get_buffer_offset(struct fb_info *info, struct fb_pixmap *buf, u32 size);
610 extern void fb_set_suspend(struct fb_info *info, int state);
614 extern int fb_new_modelist(struct fb_info *info);
616 static inline void lock_fb_info(struct fb_info *info) in lock_fb_info()
621 static inline void unlock_fb_info(struct fb_info *info) in unlock_fb_info()
642 int fb_deferred_io_mmap(struct fb_info *info, struct vm_area_struct *vma);
643 extern int fb_deferred_io_init(struct fb_info *info);
644 extern void fb_deferred_io_open(struct fb_info *info,
647 extern void fb_deferred_io_release(struct fb_info *info);
648 extern void fb_deferred_io_cleanup(struct fb_info *info);
657 static ssize_t __prefix ## _defio_read(struct fb_info *info, char __user *buf, \
662 static ssize_t __prefix ## _defio_write(struct fb_info *info, const char __user *buf, \
673 static void __prefix ## _defio_fillrect(struct fb_info *info, \
679 static void __prefix ## _defio_copyarea(struct fb_info *info, \
685 static void __prefix ## _defio_imageblit(struct fb_info *info, \
725 static inline bool fb_be_math(struct fb_info *info) in fb_be_math()
744 extern struct fb_info *framebuffer_alloc(size_t size, struct device *dev);
745 extern void framebuffer_release(struct fb_info *info);
746 extern void fb_bl_default_curve(struct fb_info *fb_info, u8 off, u8 min, u8 max);
749 struct backlight_device *fb_bl_device(struct fb_info *info);
751 static inline struct backlight_device *fb_bl_device(struct fb_info *info) in fb_bl_device()
772 extern int fbmon_dpms(const struct fb_info *fb_info);
774 struct fb_info *info);
776 struct fb_info *info);
823 extern int fb_set_cmap(struct fb_cmap *cmap, struct fb_info *fb_info);
824 extern int fb_set_user_cmap(struct fb_cmap_user *cmap, struct fb_info *fb_info);
861 struct fb_info *info, const char *mode_option,
873 #define fb_err(fb_info, fmt, ...) \ argument
874 pr_err("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
876 pr_notice("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
877 #define fb_warn(fb_info, fmt, ...) \ argument
878 pr_warn("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
879 #define fb_info(fb_info, fmt, ...) \ macro
880 pr_info("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
881 #define fb_dbg(fb_info, fmt, ...) \ argument
882 pr_debug("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
884 #define fb_warn_once(fb_info, fmt, ...) \ argument
885 pr_warn_once("fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
887 #define fb_WARN_ONCE(fb_info, condition, fmt, ...) \ argument
888 WARN_ONCE(condition, "fb%d: " fmt, (fb_info)->node, ##__VA_ARGS__)
889 #define fb_WARN_ON_ONCE(fb_info, x) \ argument
890 fb_WARN_ONCE(fb_info, (x), "%s", "fb_WARN_ON_ONCE(" __stringify(x) ")")