Home
last modified time | relevance | path

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

12345678910>>...12

/drivers/video/fbdev/core/
Dfbsysfs.c39 struct fb_info *framebuffer_alloc(size_t size, struct device *dev) in framebuffer_alloc()
42 #define PADDING (BYTES_PER_LONG - (sizeof(struct fb_info) % BYTES_PER_LONG)) in framebuffer_alloc()
43 int fb_info_size = sizeof(struct fb_info); in framebuffer_alloc()
44 struct fb_info *info; in framebuffer_alloc()
55 info = (struct fb_info *) p; in framebuffer_alloc()
81 void framebuffer_release(struct fb_info *info) in framebuffer_release()
90 static int activate(struct fb_info *fb_info, struct fb_var_screeninfo *var) in activate() argument
96 fb_info->flags |= FBINFO_MISC_USEREVENT; in activate()
97 err = fb_set_var(fb_info, var); in activate()
98 fb_info->flags &= ~FBINFO_MISC_USEREVENT; in activate()
[all …]
Dfbmem.c48 struct fb_info *registered_fb[FB_MAX] __read_mostly;
54 static struct fb_info *get_fb_info(unsigned int idx) in get_fb_info()
56 struct fb_info *fb_info; in get_fb_info() local
62 fb_info = registered_fb[idx]; in get_fb_info()
63 if (fb_info) in get_fb_info()
64 atomic_inc(&fb_info->count); in get_fb_info()
67 return fb_info; in get_fb_info()
70 static void put_fb_info(struct fb_info *fb_info) in put_fb_info() argument
72 if (!atomic_dec_and_test(&fb_info->count)) in put_fb_info()
74 if (fb_info->fbops->fb_destroy) in put_fb_info()
[all …]
/drivers/video/fbdev/
Dmxsfb.c172 struct fb_info fb_info; member
211 #define to_imxfb_host(x) (container_of(x, struct mxsfb_info, fb_info))
270 struct fb_info *fb_info) in mxsfb_check_var() argument
272 struct mxsfb_info *host = to_imxfb_host(fb_info); in mxsfb_check_var()
331 static void mxsfb_enable_controller(struct fb_info *fb_info) in mxsfb_enable_controller() argument
333 struct mxsfb_info *host = to_imxfb_host(fb_info); in mxsfb_enable_controller()
351 clk_set_rate(host->clk, PICOS2KHZ(fb_info->var.pixclock) * 1000U); in mxsfb_enable_controller()
368 static void mxsfb_disable_controller(struct fb_info *fb_info) in mxsfb_disable_controller() argument
370 struct mxsfb_info *host = to_imxfb_host(fb_info); in mxsfb_disable_controller()
410 static int mxsfb_set_par(struct fb_info *fb_info) in mxsfb_set_par() argument
[all …]
Dxen-fbfront.c42 struct fb_info *fb_info; member
69 static void xenfb_init_shared_page(struct xenfb_info *, struct fb_info *);
182 static void xenfb_deferred_io(struct fb_info *fb_info, in xenfb_deferred_io() argument
185 struct xenfb_info *info = fb_info->par; in xenfb_deferred_io()
195 y1 = beg / fb_info->fix.line_length; in xenfb_deferred_io()
196 y2 = end / fb_info->fix.line_length; in xenfb_deferred_io()
197 if (y2 >= fb_info->var.yres) in xenfb_deferred_io()
198 y2 = fb_info->var.yres - 1; in xenfb_deferred_io()
204 xenfb_refresh(info, 0, miny, fb_info->var.xres, maxy - miny + 1); in xenfb_deferred_io()
214 struct fb_info *info) in xenfb_setcolreg()
[all …]
Dacornfb.c95 static struct fb_info fb_info; variable
116 static void acornfb_set_timing(struct fb_info *info) in acornfb_set_timing()
270 u_int trans, struct fb_info *info) in acornfb_setcolreg()
320 acornfb_adjust_timing(struct fb_info *info, struct fb_var_screeninfo *var, u_int fontht) in acornfb_adjust_timing()
439 acornfb_update_dma(struct fb_info *info, struct fb_var_screeninfo *var) in acornfb_update_dma()
451 acornfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in acornfb_check_var()
524 static int acornfb_set_par(struct fb_info *info) in acornfb_set_par()
595 acornfb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info) in acornfb_pan_display()
700 fb_info.fbops = &acornfb_ops; in acornfb_init_fbinfo()
701 fb_info.flags = FBINFO_DEFAULT | FBINFO_HWACCEL_YPAN; in acornfb_init_fbinfo()
[all …]
Dpvr2fb.c146 static struct fb_info *fb_info; variable
197 unsigned int transp, struct fb_info *info);
198 static int pvr2fb_blank(int blank, struct fb_info *info);
201 static int pvr2fb_check_var(struct fb_var_screeninfo *var, struct fb_info *info);
202 static int pvr2fb_set_par(struct fb_info *info);
203 static void pvr2_update_display(struct fb_info *info);
204 static void pvr2_init_display(struct fb_info *info);
211 static ssize_t pvr2fb_write(struct fb_info *info, const char *buf,
263 struct pvr2fb_par *par = (struct pvr2fb_par *)fb_info->par; in pvr2fb_set_pal_type()
275 static int pvr2fb_blank(int blank, struct fb_info *info) in pvr2fb_blank()
[all …]
D68328fb.c55 static struct fb_info fb_info; variable
91 struct fb_info *info);
92 static int mc68x328fb_set_par(struct fb_info *info);
94 u_int transp, struct fb_info *info);
96 struct fb_info *info);
97 static int mc68x328fb_mmap(struct fb_info *info, struct vm_area_struct *vma);
133 struct fb_info *info) in mc68x328fb_check_var()
265 static int mc68x328fb_set_par(struct fb_info *info) in mc68x328fb_set_par()
279 u_int transp, struct fb_info *info) in mc68x328fb_setcolreg()
367 struct fb_info *info) in mc68x328fb_pan_display()
[all …]
Dhpfb.c21 static struct fb_info fb_info = { variable
77 struct fb_info *info) in hpfb_setcolreg()
118 static int hpfb_blank(int blank, struct fb_info *info) in hpfb_blank()
145 static void hpfb_copyarea(struct fb_info *info, const struct fb_copyarea *area) in hpfb_copyarea()
150 static void hpfb_fillrect(struct fb_info *p, const struct fb_fillrect *region) in hpfb_fillrect()
170 static int hpfb_sync(struct fb_info *info) in hpfb_sync()
217 fb_info.fix.smem_start = (in_8(fb_regs + fboff) << 16); in hpfb_init_one()
220 fb_info.fix.smem_start += phys_base; in hpfb_init_one()
241 fb_info.fix.line_length = fb_width; in hpfb_init_one()
243 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_cursor(struct fb_info *info, struct fb_cursor *cursor);
112 static int g364fb_blank(int blank, struct fb_info *info);
125 int g364fb_cursor(struct fb_info *info, struct fb_cursor *cursor) in g364fb_cursor()
150 struct fb_info *info) in g364fb_pan_display()
163 static int g364fb_blank(int blank, struct fb_info *info) in g364fb_blank()
176 u_int blue, u_int transp, struct fb_info *info) in g364fb_setcolreg()
241 fb_info.fbops = &g364fb_ops; in g364fb_init()
[all …]
Dmacfb.c57 struct fb_info *info);
140 static struct fb_info fb_info; variable
153 struct fb_info *info) in dafb_setpalette()
199 struct fb_info *info) in v8_brazil_setpalette()
233 struct fb_info *info) in rbv_setpalette()
270 struct fb_info *info) in mdc_setpalette()
293 struct fb_info *info) in toby_setpalette()
321 struct fb_info *info) in jet_setpalette()
351 struct fb_info *info) in civic_setpalette()
432 struct fb_info *info) in csc_setpalette()
[all …]
Dskeletonfb.c126 static struct fb_info info;
150 static int xxxfb_open(struct fb_info *info, int user) in xxxfb_open()
169 static int xxxfb_release(struct fb_info *info, int user) in xxxfb_release()
210 static int xxxfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in xxxfb_check_var()
255 static int xxxfb_set_par(struct fb_info *info) in xxxfb_set_par()
286 struct fb_info *info) in xxxfb_setcolreg()
426 struct fb_info *info) in xxxfb_pan_display()
464 static int xxxfb_blank(int blank_mode, struct fb_info *info) in xxxfb_blank()
493 void xxxfb_fillrect(struct fb_info *p, const struct fb_fillrect *region) in xxxfb_fillrect()
519 void xxxfb_copyarea(struct fb_info *p, const struct fb_copyarea *area) in xxxfb_copyarea()
[all …]
Datafb.h4 void atafb_mfb_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
6 void atafb_mfb_fillrect(struct fb_info *info, u_long next_line, u32 color,
8 void atafb_mfb_linefill(struct fb_info *info, u_long next_line,
12 void atafb_iplan2p2_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
14 void atafb_iplan2p2_fillrect(struct fb_info *info, u_long next_line, u32 color,
16 void atafb_iplan2p2_linefill(struct fb_info *info, u_long next_line,
20 void atafb_iplan2p4_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
22 void atafb_iplan2p4_fillrect(struct fb_info *info, u_long next_line, u32 color,
24 void atafb_iplan2p4_linefill(struct fb_info *info, u_long next_line,
28 void atafb_iplan2p8_copyarea(struct fb_info *info, u_long next_line, int sy, int sx, int dy,
[all …]
Dmaxinefb.c40 static struct fb_info fb_info; variable
89 unsigned blue, unsigned transp, struct fb_info *info) in maxinefb_setcolreg()
154 fb_info.fbops = &maxinefb_ops; in maxinefb_init()
155 fb_info.screen_base = (char *)maxinefb_fix.smem_start; in maxinefb_init()
156 fb_info.var = maxinefb_defined; in maxinefb_init()
157 fb_info.fix = maxinefb_fix; in maxinefb_init()
158 fb_info.flags = FBINFO_DEFAULT; in maxinefb_init()
160 fb_alloc_cmap(&fb_info.cmap, 256, 0); in maxinefb_init()
162 if (register_framebuffer(&fb_info) < 0) in maxinefb_init()
169 unregister_framebuffer(&fb_info); in maxinefb_exit()
Dcobalt_lcdfb.c67 static inline void lcd_write_control(struct fb_info *info, u8 control) in lcd_write_control()
72 static inline u8 lcd_read_control(struct fb_info *info) in lcd_read_control()
77 static inline void lcd_write_data(struct fb_info *info, u8 data) in lcd_write_data()
82 static inline u8 lcd_read_data(struct fb_info *info) in lcd_read_data()
93 static inline void cpld_wait(struct fb_info *info) in cpld_wait()
99 static inline void lcd_write_control(struct fb_info *info, u8 control) in lcd_write_control()
105 static inline u8 lcd_read_control(struct fb_info *info) in lcd_read_control()
113 static inline void lcd_write_data(struct fb_info *info, u8 data) in lcd_write_data()
119 static inline u8 lcd_read_data(struct fb_info *info) in lcd_read_data()
128 static int lcd_busy_wait(struct fb_info *info) in lcd_busy_wait()
[all …]
Dwmt_ge_rops.h3 extern void wmt_ge_fillrect(struct fb_info *info,
5 extern void wmt_ge_copyarea(struct fb_info *info,
7 extern int wmt_ge_sync(struct fb_info *info);
11 static inline int wmt_ge_sync(struct fb_info *p) in wmt_ge_sync()
16 static inline void wmt_ge_fillrect(struct fb_info *p, in wmt_ge_fillrect()
22 static inline void wmt_ge_copyarea(struct fb_info *p, in wmt_ge_copyarea()
Datafb.c87 static int atafb_check_var(struct fb_var_screeninfo *var, struct fb_info *info);
88 static int atafb_set_par(struct fb_info *info);
91 struct fb_info *info);
92 static int atafb_blank(int blank, struct fb_info *info);
94 struct fb_info *info);
95 static void atafb_fillrect(struct fb_info *info,
97 static void atafb_copyarea(struct fb_info *info,
99 static void atafb_imageblit(struct fb_info *info, const struct fb_image *image);
100 static int atafb_ioctl(struct fb_info *info, unsigned int cmd,
185 static struct fb_info fb_info = { variable
[all …]
/drivers/gpu/drm/nouveau/
Dnouveau_fbcon.h51 int nv04_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region);
52 int nv04_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
53 int nv04_fbcon_imageblit(struct fb_info *info, const struct fb_image *image);
54 int nv04_fbcon_accel_init(struct fb_info *info);
56 int nv50_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
57 int nv50_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region);
58 int nv50_fbcon_imageblit(struct fb_info *info, const struct fb_image *image);
59 int nv50_fbcon_accel_init(struct fb_info *info);
61 int nvc0_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect);
62 int nvc0_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region);
[all …]
/drivers/media/platform/vivid/
Dvivid-osd.c80 static int vivid_fb_ioctl(struct fb_info *info, unsigned cmd, unsigned long arg) in vivid_fb_ioctl()
181 static int vivid_fb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in vivid_fb_check_var()
189 static int vivid_fb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info) in vivid_fb_pan_display()
194 static int vivid_fb_set_par(struct fb_info *info) in vivid_fb_set_par()
208 struct fb_info *info) in vivid_fb_setcolreg()
242 static int vivid_fb_blank(int blank_mode, struct fb_info *info) in vivid_fb_blank()
324 dev->fb_info.node = -1; in vivid_fb_init_vidmode()
325 dev->fb_info.flags = FBINFO_FLAG_DEFAULT; in vivid_fb_init_vidmode()
326 dev->fb_info.fbops = &vivid_fb_ops; in vivid_fb_init_vidmode()
327 dev->fb_info.par = dev; in vivid_fb_init_vidmode()
[all …]
/drivers/video/fbdev/omap2/omapfb/
Domapfb.h47 #define FB2OFB(fb_info) ((struct omapfb_info *)(fb_info->par)) argument
99 struct fb_info *fbs[10];
122 void set_fb_fix(struct fb_info *fbi);
123 int check_fb_var(struct fb_info *fbi, struct fb_var_screeninfo *var);
124 int omapfb_realloc_fbmem(struct fb_info *fbi, unsigned long size, int type);
125 int omapfb_apply_changes(struct fb_info *fbi, int init);
130 int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, unsigned long arg);
135 int omapfb_setup_overlay(struct fb_info *fbi, struct omap_overlay *ovl,
142 int omapfb_get_update_mode(struct fb_info *fbi, enum omapfb_update_mode *mode);
143 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/video/console/
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);
110 static inline int mono_col(const struct fb_info *info) in mono_col()
119 struct fb_info *info, int is_fg) in attr_col_ec()
211 extern void fbcon_set_tileops(struct vc_data *vc, struct fb_info *info);
[all …]
/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()
142 struct fb_info *fb_info = dev_get_drvdata(device); in show_gamma_curve() local
143 struct fbtft_par *par = fb_info->par; in show_gamma_curve()
183 struct fb_info *fb_info = dev_get_drvdata(device); in store_debug() local
184 struct fbtft_par *par = fb_info->par; in store_debug()
198 struct fb_info *fb_info = dev_get_drvdata(device); in show_debug() local
199 struct fbtft_par *par = fb_info->par; in show_debug()
/drivers/hid/
Dhid-picolcd_fb.c190 if (data->fb_info) in picolcd_fb_refresh()
191 schedule_delayed_work(&data->fb_info->deferred_work, 0); in picolcd_fb_refresh()
198 struct picolcd_fb_data *fbdata = data->fb_info->par; in picolcd_fb_reset()
227 schedule_delayed_work(&data->fb_info->deferred_work, 0); in picolcd_fb_reset()
235 static void picolcd_fb_update(struct fb_info *info) in picolcd_fb_update()
297 static void picolcd_fb_fillrect(struct fb_info *info, in picolcd_fb_fillrect()
308 static void picolcd_fb_copyarea(struct fb_info *info, in picolcd_fb_copyarea()
319 static void picolcd_fb_imageblit(struct fb_info *info, const struct fb_image *image) in picolcd_fb_imageblit()
332 static ssize_t picolcd_fb_write(struct fb_info *info, const char __user *buf, in picolcd_fb_write()
344 static int picolcd_fb_blank(int blank, struct fb_info *info) in picolcd_fb_blank()
[all …]
/drivers/staging/xgifb/
DXGI_main_26.c922 struct fb_info *info) in XGIfb_do_set_var()
1080 static int XGIfb_pan_var(struct fb_var_screeninfo *var, struct fb_info *info) in XGIfb_pan_var()
1121 static int XGIfb_open(struct fb_info *info, int user) in XGIfb_open()
1126 static int XGIfb_release(struct fb_info *info, int user) in XGIfb_release()
1138 unsigned blue, unsigned transp, struct fb_info *info) in XGIfb_setcolreg()
1177 struct fb_info *info) in XGIfb_get_fix()
1214 static int XGIfb_set_par(struct fb_info *info) in XGIfb_set_par()
1225 static int XGIfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in XGIfb_check_var()
1345 struct fb_info *info) in XGIfb_pan_display()
1376 static int XGIfb_blank(int blank, struct fb_info *info) in XGIfb_blank()
[all …]
/drivers/video/fbdev/nvidia/
Dnv_proto.h7 int NVCommonSetup(struct fb_info *info);
37 int nvidia_probe_i2c_connector(struct fb_info *info, int conn,
45 int nvidia_probe_of_connector(struct fb_info *info, int conn,
49 extern void NVResetGraphics(struct fb_info *info);
50 extern void nvidiafb_copyarea(struct fb_info *info,
52 extern void nvidiafb_fillrect(struct fb_info *info,
54 extern void nvidiafb_imageblit(struct fb_info *info,
56 extern int nvidiafb_sync(struct fb_info *info);

12345678910>>...12