Home
last modified time | relevance | path

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

1234567891011

/drivers/video/fbdev/core/
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 …]
Dfbmem.c50 struct fb_info *registered_fb[FB_MAX] __read_mostly;
60 struct fb_info *get_fb_info(unsigned int idx) in get_fb_info()
62 struct fb_info *fb_info; in get_fb_info() local
68 fb_info = registered_fb[idx]; in get_fb_info()
69 if (fb_info) in get_fb_info()
70 refcount_inc(&fb_info->count); in get_fb_info()
73 return fb_info; in get_fb_info()
76 void put_fb_info(struct fb_info *fb_info) in put_fb_info() argument
78 if (!refcount_dec_and_test(&fb_info->count)) in put_fb_info()
80 if (fb_info->fbops->fb_destroy) in put_fb_info()
[all …]
Dfb_internal.h26 extern struct fb_info *registered_fb[FB_MAX];
28 struct fb_info *get_fb_info(unsigned int idx);
29 void put_fb_info(struct fb_info *fb_info);
46 int fb_device_create(struct fb_info *fb_info);
47 void fb_device_destroy(struct fb_info *fb_info);
49 static inline int fb_device_create(struct fb_info *fb_info) in fb_device_create() argument
56 get_device(fb_info->device); in fb_device_create()
60 static inline void fb_device_destroy(struct fb_info *fb_info) in fb_device_destroy() argument
63 put_device(fb_info->device); in fb_device_destroy()
Dfbcon.h55 void (*bmove)(struct vc_data *vc, struct fb_info *info, int sy,
57 void (*clear)(struct vc_data *vc, struct fb_info *info, int sy,
59 void (*putcs)(struct vc_data *vc, struct fb_info *info,
62 void (*clear_margins)(struct vc_data *vc, struct fb_info *info,
64 void (*cursor)(struct vc_data *vc, struct fb_info *info, int mode,
66 int (*update_start)(struct fb_info *info);
67 int (*rotate_font)(struct fb_info *info, struct vc_data *vc);
72 struct fb_info *info;
111 static inline int mono_col(const struct fb_info *info) in mono_col()
120 struct fb_info *info, int is_fg) in attr_col_ec()
[all …]
Dfb_defio.c26 static struct page *fb_deferred_io_page(struct fb_info *info, unsigned long offs) in fb_deferred_io_page()
39 static struct fb_deferred_io_pageref *fb_deferred_io_pageref_get(struct fb_info *info, in fb_deferred_io_pageref_get()
88 struct fb_info *info) in fb_deferred_io_pageref_put()
98 struct fb_info *info = vmf->vma->vm_private_data; in fb_deferred_io_fault()
124 struct fb_info *info = file->private_data; in fb_deferred_io_fsync()
146 static vm_fault_t fb_deferred_io_track_page(struct fb_info *info, unsigned long offset, in fb_deferred_io_track_page()
197 static vm_fault_t fb_deferred_io_page_mkwrite(struct fb_info *info, struct vm_fault *vmf) in fb_deferred_io_page_mkwrite()
210 struct fb_info *info = vmf->vma->vm_private_data; in fb_deferred_io_mkwrite()
224 int fb_deferred_io_mmap(struct fb_info *info, struct vm_area_struct *vma) in fb_deferred_io_mmap()
238 struct fb_info *info = container_of(work, struct fb_info, deferred_work.work); in fb_deferred_io_work()
[all …]
Dfb_backlight.c15 void fb_bl_default_curve(struct fb_info *fb_info, u8 off, u8 min, u8 max) in fb_bl_default_curve() argument
19 mutex_lock(&fb_info->bl_curve_mutex); in fb_bl_default_curve()
21 fb_info->bl_curve[0] = off; in fb_bl_default_curve()
24 fb_info->bl_curve[flat] = min; in fb_bl_default_curve()
28 fb_info->bl_curve[flat + i] = min + (range * (i + 1) / count); in fb_bl_default_curve()
30 mutex_unlock(&fb_info->bl_curve_mutex); in fb_bl_default_curve()
/drivers/video/fbdev/
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 …]
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 …]
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 …]
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);
131 struct fb_info *info) in mc68x328fb_check_var()
263 static int mc68x328fb_set_par(struct fb_info *info) in mc68x328fb_set_par()
277 u_int transp, struct fb_info *info) in mc68x328fb_setcolreg()
365 struct fb_info *info) in mc68x328fb_pan_display()
[all …]
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()
218 fb_info.fix.smem_start = (in_8(fb_regs + fboff) << 16); in hpfb_init_one()
221 fb_info.fix.smem_start += phys_base; in hpfb_init_one()
242 fb_info.fix.line_length = fb_width; in hpfb_init_one()
244 fb_info.fix.smem_len = fb_width * fb_height; in hpfb_init_one()
[all …]
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 …]
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 …]
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 …]
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 …]
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()
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()
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 …]
/drivers/media/test-drivers/vivid/
Dvivid-osd.c68 static int vivid_fb_ioctl(struct fb_info *info, unsigned cmd, unsigned long arg) in vivid_fb_ioctl()
169 static int vivid_fb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in vivid_fb_check_var()
177 static int vivid_fb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info) in vivid_fb_pan_display()
182 static int vivid_fb_set_par(struct fb_info *info) in vivid_fb_set_par()
196 struct fb_info *info) in vivid_fb_setcolreg()
230 static int vivid_fb_blank(int blank_mode, struct fb_info *info) in vivid_fb_blank()
310 dev->fb_info.node = -1; in vivid_fb_init_vidmode()
311 dev->fb_info.par = dev; in vivid_fb_init_vidmode()
312 dev->fb_info.var = dev->fb_defined; in vivid_fb_init_vidmode()
313 dev->fb_info.fix = dev->fb_fix; in vivid_fb_init_vidmode()
[all …]
/drivers/gpu/drm/i915/gvt/
Ddmabuf.c53 struct intel_vgpu_fb_info *fb_info; in vgpu_gem_get_pages() local
60 fb_info = (struct intel_vgpu_fb_info *)obj->gvt_info; in vgpu_gem_get_pages()
61 if (drm_WARN_ON(&dev_priv->drm, !fb_info)) in vgpu_gem_get_pages()
64 vgpu = fb_info->obj->vgpu; in vgpu_gem_get_pages()
78 (fb_info->start >> PAGE_SHIFT); in vgpu_gem_get_pages()
117 struct intel_vgpu_fb_info *fb_info = obj->gvt_info; in vgpu_gem_put_pages() local
118 struct intel_vgpu_dmabuf_obj *obj = fb_info->obj; in vgpu_gem_put_pages()
122 for_each_sg(pages->sgl, sg, fb_info->size, i) in vgpu_gem_put_pages()
173 struct intel_vgpu_fb_info *fb_info = gem_obj->gvt_info; in vgpu_gem_release() local
174 struct intel_vgpu_dmabuf_obj *obj = fb_info->obj; in vgpu_gem_release()
[all …]
/drivers/video/fbdev/omap2/omapfb/
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 …]
/drivers/video/fbdev/i810/
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()
/drivers/staging/fbtft/
Dfbtft-sysfs.c118 struct fb_info *fb_info = dev_get_drvdata(device); in store_gamma_curve() local
119 struct fbtft_par *par = fb_info->par; in store_gamma_curve()
143 struct fb_info *fb_info = dev_get_drvdata(device); in show_gamma_curve() local
144 struct fbtft_par *par = fb_info->par; in show_gamma_curve()
184 struct fb_info *fb_info = dev_get_drvdata(device); in store_debug() local
185 struct fbtft_par *par = fb_info->par; in store_debug()
199 struct fb_info *fb_info = dev_get_drvdata(device); in show_debug() local
200 struct fbtft_par *par = fb_info->par; in show_debug()
/drivers/hid/
Dhid-picolcd_fb.c180 if (data->fb_info) in picolcd_fb_refresh()
181 schedule_delayed_work(&data->fb_info->deferred_work, 0); in picolcd_fb_refresh()
188 struct picolcd_fb_data *fbdata = data->fb_info->par; in picolcd_fb_reset()
217 schedule_delayed_work(&data->fb_info->deferred_work, 0); in picolcd_fb_reset()
225 static void picolcd_fb_update(struct fb_info *info) in picolcd_fb_update()
287 static void picolcd_fb_fillrect(struct fb_info *info, in picolcd_fb_fillrect()
298 static void picolcd_fb_copyarea(struct fb_info *info, in picolcd_fb_copyarea()
309 static void picolcd_fb_imageblit(struct fb_info *info, const struct fb_image *image) in picolcd_fb_imageblit()
322 static ssize_t picolcd_fb_write(struct fb_info *info, const char __user *buf, in picolcd_fb_write()
334 static int picolcd_fb_blank(int blank, struct fb_info *info) in picolcd_fb_blank()
[all …]
/drivers/video/fbdev/nvidia/
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);

1234567891011