Home
last modified time | relevance | path

Searched refs:fb_info (Results 1 – 25 of 208) sorted by relevance

123456789

/linux/drivers/video/fbdev/core/
H A Dfbsysfs.c17 static int activate(struct fb_info *fb_info, struct fb_var_screeninfo *var) in activate() argument
23 lock_fb_info(fb_info); in activate()
24 err = fb_set_var(fb_info, var); in activate()
26 fbcon_update_vcs(fb_info, var->activate & FB_ACTIVATE_ALL); in activate()
27 unlock_fb_info(fb_info); in activate()
59 struct fb_info *fb_info = dev_get_drvdata(device); in store_mode() local
69 list_for_each_entry(modelist, &fb_info->modelist, list) { in store_mode()
74 var = fb_info->var; in store_mode()
76 if ((err = activate(fb_info, &var))) in store_mode()
78 fb_info->mode = mode; in store_mode()
[all …]
H A Dfbmem.c34 struct fb_info *registered_fb[FB_MAX] __read_mostly;
40 struct fb_info *get_fb_info(unsigned int idx) in get_fb_info()
42 struct fb_info *fb_info; in get_fb_info() local
48 fb_info = registered_fb[idx]; in get_fb_info()
49 if (fb_info) in get_fb_info()
50 refcount_inc(&fb_info->count); in get_fb_info()
53 return fb_info; in get_fb_info()
56 void put_fb_info(struct fb_info *fb_info) in put_fb_info() argument
58 if (!refcount_dec_and_test(&fb_info->count)) in put_fb_info()
60 if (fb_info->fbops->fb_destroy) in put_fb_info()
[all …]
H A Dfb_internal.h27 int fb_prepare_logo(struct fb_info *fb_info, int rotate);
28 int fb_show_logo(struct fb_info *fb_info, int rotate);
30 static inline int fb_prepare_logo(struct fb_info *info, int rotate) in fb_prepare_logo()
34 static inline int fb_show_logo(struct fb_info *info, int rotate) in fb_show_logo()
43 extern struct fb_info *registered_fb[FB_MAX];
45 struct fb_info *get_fb_info(unsigned int idx);
46 void put_fb_info(struct fb_info *fb_info);
63 int fb_device_create(struct fb_info *fb_info);
64 void fb_device_destroy(struct fb_info *fb_info);
66 static inline int fb_device_create(struct fb_info *fb_info) in fb_device_create() argument
[all …]
H A Dfb_backlight.c16 void fb_bl_default_curve(struct fb_info *fb_info, u8 off, u8 min, u8 max) in fb_bl_default_curve() argument
20 mutex_lock(&fb_info->bl_curve_mutex); in fb_bl_default_curve()
22 fb_info->bl_curve[0] = off; in fb_bl_default_curve()
25 fb_info->bl_curve[flat] = min; in fb_bl_default_curve()
29 fb_info->bl_curve[flat + i] = min + (range * (i + 1) / count); in fb_bl_default_curve()
31 mutex_unlock(&fb_info->bl_curve_mutex); in fb_bl_default_curve()
35 struct backlight_device *fb_bl_device(struct fb_info *info) in fb_bl_device()
41 void fb_bl_notify_blank(struct fb_info *info, int old_blank) in fb_bl_notify_blank()
H A Dfb_info.c22 struct fb_info *framebuffer_alloc(size_t size, struct device *dev) in framebuffer_alloc()
25 #define PADDING (BYTES_PER_LONG - (sizeof(struct fb_info) % BYTES_PER_LONG)) in framebuffer_alloc()
26 int fb_info_size = sizeof(struct fb_info); in framebuffer_alloc()
27 struct fb_info *info; in framebuffer_alloc()
38 info = (struct fb_info *) p; in framebuffer_alloc()
66 void framebuffer_release(struct fb_info *info) in framebuffer_release()
/linux/include/linux/
H A Dfb.h20 struct fb_info;
139 struct fb_info *info;
203 void (*writeio)(struct fb_info *info, void __iomem *dst, void *src, unsigned int size);
204 void (*readio) (struct fb_info *info, void *dst, void __iomem *src, unsigned int size);
224 struct page *(*get_page)(struct fb_info *info, unsigned long offset);
225 void (*deferred_io)(struct fb_info *info, struct list_head *pagelist);
246 int (*fb_open)(struct fb_info *info, int user);
247 int (*fb_release)(struct fb_info *info, int user);
252 ssize_t (*fb_read)(struct fb_info *info, char __user *buf,
254 ssize_t (*fb_write)(struct fb_info *info, const char __user *buf,
[all …]
H A Dfbcon.h7 struct fb_info;
14 int fbcon_fb_registered(struct fb_info *info);
15 void fbcon_fb_unregistered(struct fb_info *info);
16 void fbcon_fb_unbind(struct fb_info *info);
17 void fbcon_suspended(struct fb_info *info);
18 void fbcon_resumed(struct fb_info *info);
19 int fbcon_mode_deleted(struct fb_info *info,
22 void fbcon_new_modelist(struct fb_info *info);
23 void fbcon_get_requirement(struct fb_info *info,
25 void fbcon_fb_blanked(struct fb_info *info, int blank);
[all …]
/linux/drivers/video/fbdev/
H A Dacornfb.c91 static struct fb_info fb_info; variable
112 static void acornfb_set_timing(struct fb_info *info) in acornfb_set_timing()
266 u_int trans, struct fb_info *info) in acornfb_setcolreg()
316 acornfb_adjust_timing(struct fb_info *info, struct fb_var_screeninfo *var, u_int fontht) in acornfb_adjust_timing()
435 acornfb_update_dma(struct fb_info *info, struct fb_var_screeninfo *var) in acornfb_update_dma()
447 acornfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in acornfb_check_var()
520 static int acornfb_set_par(struct fb_info *info) in acornfb_set_par()
591 acornfb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info) in acornfb_pan_display()
694 fb_info.fbops = &acornfb_ops; in acornfb_init_fbinfo()
695 fb_info.flags = FBINFO_HWACCEL_YPAN; in acornfb_init_fbinfo()
[all …]
H A Dxen-fbfront.c44 struct fb_info *fb_info; member
71 static void xenfb_init_shared_page(struct xenfb_info *, struct fb_info *);
184 static void xenfb_deferred_io(struct fb_info *fb_info, struct list_head *pagereflist) in xenfb_deferred_io() argument
186 struct xenfb_info *info = fb_info->par; in xenfb_deferred_io()
196 y1 = beg / fb_info->fix.line_length; in xenfb_deferred_io()
197 y2 = end / fb_info->fix.line_length; in xenfb_deferred_io()
198 if (y2 >= fb_info->var.yres) in xenfb_deferred_io()
199 y2 = fb_info->var.yres - 1; in xenfb_deferred_io()
205 xenfb_refresh(info, 0, miny, fb_info->var.xres, maxy - miny + 1); in xenfb_deferred_io()
215 struct fb_info *info) in xenfb_setcolreg()
[all …]
H A Dpvr2fb.c148 static struct fb_info *fb_info; variable
232 struct pvr2fb_par *par = (struct pvr2fb_par *)fb_info->par; in pvr2fb_set_pal_type()
244 static int pvr2fb_blank(int blank, struct fb_info *info) in pvr2fb_blank()
283 unsigned int transp, struct fb_info *info) in pvr2fb_setcolreg()
355 static int pvr2fb_set_par(struct fb_info *info) in pvr2fb_set_par()
432 static int pvr2fb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in pvr2fb_check_var()
535 static void pvr2_update_display(struct fb_info *info) in pvr2_update_display()
553 static void pvr2_init_display(struct fb_info *info) in pvr2_init_display()
624 struct fb_info *info = dev_id; in pvr2fb_interrupt()
642 static ssize_t pvr2fb_write(struct fb_info *info, const char *buf, in pvr2fb_write()
[all …]
H A D68328fb.c55 static struct fb_info fb_info; variable
88 struct fb_info *info);
89 static int mc68x328fb_set_par(struct fb_info *info);
91 u_int transp, struct fb_info *info);
93 struct fb_info *info);
94 static int mc68x328fb_mmap(struct fb_info *info, struct vm_area_struct *vma);
130 struct fb_info *info) in mc68x328fb_check_var()
262 static int mc68x328fb_set_par(struct fb_info *info) in mc68x328fb_set_par()
276 u_int transp, struct fb_info *info) in mc68x328fb_setcolreg()
364 struct fb_info *info) in mc68x328fb_pan_display()
[all …]
H A Dhpfb.c22 static struct fb_info fb_info = { variable
78 struct fb_info *info) in hpfb_setcolreg()
119 static int hpfb_blank(int blank, struct fb_info *info) in hpfb_blank()
146 static void hpfb_copyarea(struct fb_info *info, const struct fb_copyarea *area) in hpfb_copyarea()
151 static void hpfb_fillrect(struct fb_info *p, const struct fb_fillrect *region) in hpfb_fillrect()
171 static int hpfb_sync(struct fb_info *info) in hpfb_sync()
220 fb_info.fix.smem_start = (in_8(fb_regs + fboff) << 16); in hpfb_init_one()
223 fb_info.fix.smem_start += phys_base; in hpfb_init_one()
244 fb_info.fix.line_length = fb_width; in hpfb_init_one()
246 fb_info.fix.smem_len = fb_width * fb_height; in hpfb_init_one()
[all …]
H A Dmacfb.c54 struct fb_info *info);
134 static struct fb_info fb_info; variable
146 struct fb_info *info) in dafb_setpalette()
192 struct fb_info *info) in v8_brazil_setpalette()
223 struct fb_info *info) in rbv_setpalette()
257 struct fb_info *info) in mdc_setpalette()
280 struct fb_info *info) in toby_setpalette()
308 struct fb_info *info) in jet_setpalette()
338 struct fb_info *info) in civic_setpalette()
416 struct fb_info *info) in csc_setpalette()
[all …]
H A Dg364fb.c72 static struct fb_info fb_info; variable
107 struct fb_info *info);
110 struct fb_info *info);
111 static int g364fb_blank(int blank, struct fb_info *info);
127 struct fb_info *info) in g364fb_pan_display()
140 static int g364fb_blank(int blank, struct fb_info *info) in g364fb_blank()
153 u_int blue, u_int transp, struct fb_info *info) in g364fb_setcolreg()
216 fb_info.fbops = &g364fb_ops; in g364fb_init()
217 fb_info.screen_base = (char *) G364_MEM_BASE; /* virtual kernel address */ in g364fb_init()
218 fb_info.var = fb_var; in g364fb_init()
[all …]
H A Datafb.h5 void atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
7 void atafb_mfb_fillrect(struct fb_info *info, u_long next_line, u32 color,
9 void atafb_mfb_linefill(struct fb_info *info, u_long next_line,
13 void atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
15 void atafb_iplan2p2_fillrect(struct fb_info *info, u_long next_line, u32 color,
17 void atafb_iplan2p2_linefill(struct fb_info *info, u_long next_line,
21 void atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
23 void atafb_iplan2p4_fillrect(struct fb_info *info, u_long next_line, u32 color,
25 void atafb_iplan2p4_linefill(struct fb_info *info, u_long next_line,
29 void atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
[all …]
H A Dskeletonfb.c127 static struct fb_info info;
149 static int xxxfb_open(struct fb_info *info, int user) in xxxfb_open()
168 static int xxxfb_release(struct fb_info *info, int user) in xxxfb_release()
209 static int xxxfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in xxxfb_check_var()
254 static int xxxfb_set_par(struct fb_info *info) in xxxfb_set_par()
285 struct fb_info *info) in xxxfb_setcolreg()
425 struct fb_info *info) in xxxfb_pan_display()
463 static int xxxfb_blank(int blank_mode, struct fb_info *info) in xxxfb_blank()
492 void xxxfb_fillrect(struct fb_info *p, const struct fb_fillrect *region) in xxxfb_fillrect()
518 void xxxfb_copyarea(struct fb_info *p, const struct fb_copyarea *area) in xxxfb_copyarea()
[all …]
H A Dmaxinefb.c40 static struct fb_info fb_info; variable
89 unsigned blue, unsigned transp, struct fb_info *info) in maxinefb_setcolreg()
152 fb_info.fbops = &maxinefb_ops; in maxinefb_init()
153 fb_info.screen_base = (char *)maxinefb_fix.smem_start; in maxinefb_init()
154 fb_info.var = maxinefb_defined; in maxinefb_init()
155 fb_info.fix = maxinefb_fix; in maxinefb_init()
157 fb_alloc_cmap(&fb_info.cmap, 256, 0); in maxinefb_init()
159 if (register_framebuffer(&fb_info) < 0) in maxinefb_init()
166 unregister_framebuffer(&fb_info); in maxinefb_exit()
H A Dwmt_ge_rops.h4 extern void wmt_ge_fillrect(struct fb_info *info,
6 extern void wmt_ge_copyarea(struct fb_info *info,
8 extern int wmt_ge_sync(struct fb_info *info);
12 static inline int wmt_ge_sync(struct fb_info *p) in wmt_ge_sync()
17 static inline void wmt_ge_fillrect(struct fb_info *p, in wmt_ge_fillrect()
23 static inline void wmt_ge_copyarea(struct fb_info *p, in wmt_ge_copyarea()
H A Dcobalt_lcdfb.c54 static inline void lcd_write_control(struct fb_info *info, u8 control) in lcd_write_control()
59 static inline u8 lcd_read_control(struct fb_info *info) in lcd_read_control()
64 static inline void lcd_write_data(struct fb_info *info, u8 data) in lcd_write_data()
69 static inline u8 lcd_read_data(struct fb_info *info) in lcd_read_data()
74 static int lcd_busy_wait(struct fb_info *info) in lcd_busy_wait()
97 static void lcd_clear(struct fb_info *info) in lcd_clear()
125 static ssize_t cobalt_lcdfb_read(struct fb_info *info, char __user *buf, in cobalt_lcdfb_read()
174 static ssize_t cobalt_lcdfb_write(struct fb_info *info, const char __user *buf, in cobalt_lcdfb_write()
223 static int cobalt_lcdfb_blank(int blank_mode, struct fb_info *info) in cobalt_lcdfb_blank()
243 static int cobalt_lcdfb_cursor(struct fb_info *info, struct fb_cursor *cursor) in cobalt_lcdfb_cursor()
[all …]
/linux/include/drm/
H A Ddrm_fb_helper.h150 struct fb_info *info;
250 int drm_fb_helper_blank(int blank, struct fb_info *info);
252 struct fb_info *info);
253 int drm_fb_helper_set_par(struct fb_info *info);
255 struct fb_info *info);
261 void drm_fb_helper_fill_info(struct fb_info *info,
265 void drm_fb_helper_damage_range(struct fb_info *info, off_t off, size_t len);
266 void drm_fb_helper_damage_area(struct fb_info *info, u32 x, u32 y, u32 width, u32 height);
269 void drm_fb_helper_deferred_io(struct fb_info *info, struct list_head *pagereflist);
276 int drm_fb_helper_setcmap(struct fb_cmap *cmap, struct fb_info *info);
[all …]
/linux/drivers/video/fbdev/i810/
H A Di810_main.h27 extern void i810fb_fillrect (struct fb_info *p,
29 extern void i810fb_copyarea (struct fb_info *p,
31 extern void i810fb_imageblit(struct fb_info *p, const struct fb_image *image);
32 extern int i810fb_sync (struct fb_info *p);
34 extern void i810fb_init_ringbuffer(struct fb_info *info);
35 extern void i810fb_load_front (u32 offset, struct fb_info *info);
39 extern int i810_probe_i2c_connector(struct fb_info *info, u8 **out_edid,
44 static inline int i810_probe_i2c_connector(struct fb_info *info, u8 **out_edid, in i810_probe_i2c_connector()
/linux/drivers/video/fbdev/omap2/omapfb/
H A Domapfb.h35 #define FB2OFB(fb_info) ((struct omapfb_info *)(fb_info->par)) argument
87 struct fb_info *fbs[10];
110 void set_fb_fix(struct fb_info *fbi);
111 int check_fb_var(struct fb_info *fbi, struct fb_var_screeninfo *var);
112 int omapfb_realloc_fbmem(struct fb_info *fbi, unsigned long size, int type);
113 int omapfb_apply_changes(struct fb_info *fbi, int init);
118 int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, unsigned long arg);
123 int omapfb_setup_overlay(struct fb_info *fbi, struct omap_overlay *ovl,
130 int omapfb_get_update_mode(struct fb_info *fbi, enum omapfb_update_mode *mode);
131 int omapfb_set_update_mode(struct fb_info *fbi, enum omapfb_update_mode mode);
[all …]
/linux/drivers/staging/fbtft/
H A Dfbtft-sysfs.c114 struct fb_info *fb_info = dev_get_drvdata(device); in store_gamma_curve() local
115 struct fbtft_par *par = fb_info->par; in store_gamma_curve()
139 struct fb_info *fb_info = dev_get_drvdata(device); in show_gamma_curve() local
140 struct fbtft_par *par = fb_info->par; in show_gamma_curve()
180 struct fb_info *fb_info = dev_get_drvdata(device); in store_debug() local
181 struct fbtft_par *par = fb_info->par; in store_debug()
195 struct fb_info *fb_info = dev_get_drvdata(device); in show_debug() local
196 struct fbtft_par *par = fb_info->par; in show_debug()
/linux/drivers/video/fbdev/nvidia/
H A Dnv_proto.h8 int NVCommonSetup(struct fb_info *info);
38 int nvidia_probe_i2c_connector(struct fb_info *info, int conn,
46 int nvidia_probe_of_connector(struct fb_info *info, int conn,
50 extern void NVResetGraphics(struct fb_info *info);
51 extern void nvidiafb_copyarea(struct fb_info *info,
53 extern void nvidiafb_fillrect(struct fb_info *info,
55 extern void nvidiafb_imageblit(struct fb_info *info,
57 extern int nvidiafb_sync(struct fb_info *info);
/linux/drivers/video/fbdev/geode/
H A Dgeodefb.h14 void (*set_mode)(struct fb_info *);
15 void (*set_palette_reg)(struct fb_info *, unsigned, unsigned, unsigned, unsigned);
19 void (*set_dclk)(struct fb_info *);
20 void (*configure_display)(struct fb_info *);
21 int (*blank_display)(struct fb_info *, int blank_mode);

123456789