Home
last modified time | relevance | path

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

1234567891011

/linux-6.12.1/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.c32 struct fb_info *registered_fb[FB_MAX] __read_mostly;
38 struct fb_info *get_fb_info(unsigned int idx) in get_fb_info()
40 struct fb_info *fb_info; in get_fb_info() local
46 fb_info = registered_fb[idx]; in get_fb_info()
47 if (fb_info) in get_fb_info()
48 refcount_inc(&fb_info->count); in get_fb_info()
51 return fb_info; in get_fb_info()
54 void put_fb_info(struct fb_info *fb_info) in put_fb_info() argument
56 if (!refcount_dec_and_test(&fb_info->count)) in put_fb_info()
58 if (fb_info->fbops->fb_destroy) in put_fb_info()
[all …]
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 …]
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()
34 struct backlight_device *fb_bl_device(struct fb_info *info) in fb_bl_device()
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,
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_get_page(struct fb_info *info, unsigned long offs) in fb_deferred_io_get_page()
46 static struct fb_deferred_io_pageref *fb_deferred_io_pageref_lookup(struct fb_info *info, in fb_deferred_io_pageref_lookup()
80 static struct fb_deferred_io_pageref *fb_deferred_io_pageref_get(struct fb_info *info, in fb_deferred_io_pageref_get()
123 struct fb_info *info) in fb_deferred_io_pageref_put()
133 struct fb_info *info = vmf->vma->vm_private_data; in fb_deferred_io_fault()
157 struct fb_info *info = file->private_data; in fb_deferred_io_fsync()
179 static vm_fault_t fb_deferred_io_track_page(struct fb_info *info, unsigned long offset, in fb_deferred_io_track_page()
230 static vm_fault_t fb_deferred_io_page_mkwrite(struct fb_info *info, struct vm_fault *vmf) in fb_deferred_io_page_mkwrite()
243 struct fb_info *info = vmf->vma->vm_private_data; in fb_deferred_io_mkwrite()
257 int fb_deferred_io_mmap(struct fb_info *info, struct vm_area_struct *vma) in fb_deferred_io_mmap()
[all …]
/linux-6.12.1/include/linux/
Dfbcon.h7 int fbcon_fb_registered(struct fb_info *info);
8 void fbcon_fb_unregistered(struct fb_info *info);
9 void fbcon_fb_unbind(struct fb_info *info);
10 void fbcon_suspended(struct fb_info *info);
11 void fbcon_resumed(struct fb_info *info);
12 int fbcon_mode_deleted(struct fb_info *info,
14 void fbcon_new_modelist(struct fb_info *info);
15 void fbcon_get_requirement(struct fb_info *info,
17 void fbcon_fb_blanked(struct fb_info *info, int blank);
18 int fbcon_modechange_possible(struct fb_info *info,
[all …]
Dfb.h20 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,
[all …]
/linux-6.12.1/drivers/video/fbdev/
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 …]
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 …]
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);
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 …]
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 …]
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 …]
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 …]
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()
/linux-6.12.1/include/drm/
Ddrm_fb_helper.h140 struct fb_info *info;
240 int drm_fb_helper_blank(int blank, struct fb_info *info);
242 struct fb_info *info);
243 int drm_fb_helper_set_par(struct fb_info *info);
245 struct fb_info *info);
249 struct fb_info *drm_fb_helper_alloc_info(struct drm_fb_helper *fb_helper);
252 void drm_fb_helper_fill_info(struct fb_info *info,
256 void drm_fb_helper_damage_range(struct fb_info *info, off_t off, size_t len);
257 void drm_fb_helper_damage_area(struct fb_info *info, u32 x, u32 y, u32 width, u32 height);
259 void drm_fb_helper_deferred_io(struct fb_info *info, struct list_head *pagereflist);
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/drivers/gpu/drm/i915/gvt/
Ddmabuf.c54 struct intel_vgpu_fb_info *fb_info; in vgpu_gem_get_pages() local
61 fb_info = (struct intel_vgpu_fb_info *)obj->gvt_info; in vgpu_gem_get_pages()
62 if (drm_WARN_ON(&dev_priv->drm, !fb_info)) in vgpu_gem_get_pages()
65 vgpu = fb_info->obj->vgpu; in vgpu_gem_get_pages()
79 (fb_info->start >> PAGE_SHIFT); in vgpu_gem_get_pages()
118 struct intel_vgpu_fb_info *fb_info = obj->gvt_info; in vgpu_gem_put_pages() local
119 struct intel_vgpu_dmabuf_obj *obj = fb_info->obj; in vgpu_gem_put_pages()
123 for_each_sg(pages->sgl, sg, fb_info->size, i) in vgpu_gem_put_pages()
174 struct intel_vgpu_fb_info *fb_info = gem_obj->gvt_info; in vgpu_gem_release() local
175 struct intel_vgpu_dmabuf_obj *obj = fb_info->obj; in vgpu_gem_release()
[all …]
/linux-6.12.1/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()
/linux-6.12.1/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 …]
/linux-6.12.1/drivers/staging/fbtft/
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()

1234567891011