| /linux/drivers/video/fbdev/core/ |
| H A D | fbsysfs.c | 15 static int activate_locked(struct fb_info *fb_info, in activate_locked() argument 19 return fb_set_var_from_user(fb_info, var); in activate_locked() 22 static int activate(struct fb_info *fb_info, struct fb_var_screeninfo *var) in activate() argument 27 lock_fb_info(fb_info); in activate() 28 err = activate_locked(fb_info, var); in activate() 29 unlock_fb_info(fb_info); in activate() 63 struct fb_info *fb_info = dev_get_drvdata(device); in store_mode() local 74 lock_fb_info(fb_info); in store_mode() 76 list_for_each_entry(modelist, &fb_info->modelist, list) { in store_mode() 81 var = fb_info->var; in store_mode() [all …]
|
| H A D | fbmem.c | 34 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 D | fb_backlight.c | 16 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 D | fb_info.c | 16 * aligned to sizeof(long). The new instances of struct fb_info and 22 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() 67 void framebuffer_release(struct fb_info *info) in framebuffer_release()
|
| H A D | fbcon.c | 110 static struct fb_info *fbcon_registered_fb[FB_MAX]; 120 static struct fb_info *fbcon_info_from_console(int console) 165 /* current fb_info */ 190 static void fbcon_set_disp(struct fb_info *info, struct fb_var_screeninfo *var, 194 static void fbcon_modechanged(struct fb_info *info); 195 static void fbcon_set_all_vcs(struct fb_info *info); 200 static inline void fbcon_set_rotation(struct fb_info *info) 211 static void fbcon_rotate(struct fb_info *info, u32 rotate) 214 struct fb_info *fb_info; in fbcon_rotate() 215 struct fb_info *fb_info; fbcon_rotate() local 2774 struct fb_info *fb_info; fbcon_mode_deleted() local [all...] |
| /linux/drivers/video/fbdev/ |
| H A D | xen-fbfront.c | 44 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 in xenfb_deferred_io() 346 struct fb_info *fb_info; xenfb_probe() local 529 xenfb_init_shared_page(struct xenfb_info * info,struct fb_info * fb_info) xenfb_init_shared_page() argument [all...] |
| H A D | acornfb.c | 89 static struct fb_info fb_info; 109 static void acornfb_set_timing(struct fb_info *info) 263 u_int trans, struct fb_info *info) 312 acornfb_adjust_timing(struct fb_info *info, struct fb_var_screeninfo *var, u_int fontht) 429 acornfb_update_dma(struct fb_info *info, struct fb_var_screeninfo *var) in acornfb_validate_timing() 437 acornfb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in acornfb_update_dma() 508 static int acornfb_set_par(struct fb_info *info) in acornfb_check_var() 566 acornfb_pan_display(struct fb_var_screeninfo *var, struct fb_info *info) in acornfb_set_par() 669 fb_info 91 static struct fb_info fb_info; global() variable [all...] |
| H A D | 68328fb.c | 55 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 D | hpfb.c | 22 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 D | g364fb.c | 72 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 D | atafb.h | 5 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 D | skeletonfb.c | 16 * First the roles of struct fb_info and struct display have changed. Struct 19 * struct vc_data to data in a device independent way in struct fb_info. Then 21 * dependent state in the par field in struct fb_info and to change the 33 * fb_var_screeninfo and other data in fb_info pretty much eliminates the 103 * struct fb_info. Now the struct xxx_par represents the graphics 106 * every struct fb_info that represents a framebuffer on that card. 115 * fb_info. Their you would want to have *par point to a array of device 127 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 *inf [all...] |
| H A D | wmt_ge_rops.h | 4 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 D | cobalt_lcdfb.c | 54 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 *inf [all...] |
| H A D | tcx.c | 33 unsigned, struct fb_info *); 34 static int tcx_blank(int, struct fb_info *); 35 static int tcx_pan_display(struct fb_var_screeninfo *, struct fb_info *); 37 static int tcx_sbusfb_mmap(struct fb_info *info, struct vm_area_struct *vma); 38 static int tcx_sbusfb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long arg); 120 static void __tcx_set_control_plane(struct fb_info *info) in __tcx_set_control_plane() 139 static void tcx_reset(struct fb_info *info) in tcx_reset() 149 static int tcx_pan_display(struct fb_var_screeninfo *var, struct fb_info *info) in tcx_pan_display() 166 unsigned transp, struct fb_info *info) in tcx_setcolreg() 197 tcx_blank(int blank, struct fb_info *info) in tcx_blank() [all …]
|
| H A D | valkyriefb.c | 76 struct fb_info info; 96 struct fb_info *info); 97 static int valkyriefb_set_par(struct fb_info *info); 99 u_int transp, struct fb_info *info); 100 static int valkyriefb_blank(int blank_mode, struct fb_info *info); 105 struct fb_par_valkyrie *par, const struct fb_info *fb_info); 107 static int valkyrie_init_info(struct fb_info *info, struct fb_info_valkyrie *p); 121 static int valkyriefb_set_par(struct fb_info *info) in valkyriefb_set_par() 159 valkyriefb_check_var(struct fb_var_screeninfo *var, struct fb_info *inf 452 valkyrie_var_to_par(struct fb_var_screeninfo * var,struct fb_par_valkyrie * par,const struct fb_info * fb_info) valkyrie_var_to_par() argument [all...] |
| H A D | asiliantfb.c | 55 static void mm_write_xr(struct fb_info *p, u8 reg, u8 data) in mm_write_xr() 61 static void mm_write_fr(struct fb_info *p, u8 reg, u8 data) in mm_write_fr() 67 static void mm_write_cr(struct fb_info *p, u8 reg, u8 data) in mm_write_cr() 73 static void mm_write_gr(struct fb_info *p, u8 reg, u8 data) in mm_write_gr() 79 static void mm_write_sr(struct fb_info *p, u8 reg, u8 data) in mm_write_sr() 85 static void mm_write_ar(struct fb_info *p, u8 reg, u8 data) in mm_write_ar() 94 struct fb_info *info); 95 static int asiliantfb_set_par(struct fb_info *info); 97 u_int transp, struct fb_info *info); 173 static void asiliant_set_timing(struct fb_info *p) in asiliant_set_timing() [all …]
|
| /linux/drivers/gpu/drm/i915/gvt/ |
| H A D | dmabuf.c | 55 struct intel_vgpu_fb_info *fb_info; in vgpu_gem_get_pages() local 62 fb_info = (struct intel_vgpu_fb_info *)obj->gvt_info; in vgpu_gem_get_pages() 63 if (drm_WARN_ON(&dev_priv->drm, !fb_info)) in vgpu_gem_get_pages() 66 vgpu = fb_info->obj->vgpu; in vgpu_gem_get_pages() 80 (fb_info->start >> PAGE_SHIFT); in vgpu_gem_get_pages() 119 struct intel_vgpu_fb_info *fb_info = obj->gvt_info; in vgpu_gem_put_pages() local 120 struct intel_vgpu_dmabuf_obj *obj = fb_info->obj; in vgpu_gem_put_pages() 124 for_each_sg(pages->sgl, sg, fb_info->size, i) in vgpu_gem_put_pages() 175 struct intel_vgpu_fb_info *fb_info = gem_obj->gvt_info; in vgpu_gem_release() local 176 struct intel_vgpu_dmabuf_obj *obj = fb_info->obj; in vgpu_gem_release() [all …]
|
| /linux/include/drm/ |
| H A D | drm_fb_helper.h | |
| /linux/drivers/video/fbdev/i810/ |
| H A D | i810_main.h | 27 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 D | omapfb.h | 35 #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/video/fbdev/nvidia/ |
| H A D | nv_proto.h | 8 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 D | geodefb.h | 14 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);
|
| /linux/drivers/hid/ |
| H A D | hid-picolcd_fb.c | 180 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() 286 static int picolcd_fb_blank(int blank, struct fb_info *info) in picolcd_fb_blank() 292 static void picolcd_fb_destroy(struct fb_info *info) in picolcd_fb_destroy() 306 static int picolcd_fb_check_var(struct fb_var_screeninfo *var, struct fb_info *info) in picolcd_fb_check_var() 328 static int picolcd_set_par(struct fb_info *info) in picolcd_set_par() 372 static void picolcdfb_ops_damage_range(struct fb_info *inf [all...] |
| /linux/drivers/video/fbdev/aty/ |
| H A D | atyfb.h | 300 int (*set_dac) (const struct fb_info * info, 316 int (*var_to_pll) (const struct fb_info * info, u32 vclk_per, u32 bpp, union aty_pll * pll); 317 u32 (*pll_to_var) (const struct fb_info * info, const union aty_pll * pll); 318 void (*set_pll) (const struct fb_info * info, const union aty_pll * pll); 319 void (*get_pll) (const struct fb_info *info, union aty_pll * pll); 320 int (*init_pll) (const struct fb_info * info, union aty_pll * pll); 321 void (*resume_pll)(const struct fb_info *info, union aty_pll *pll); 333 extern void aty_set_pll_ct(const struct fb_info *info, const union aty_pll *pll); 343 extern int aty_init_cursor(struct fb_info *info, struct fb_ops *atyfb_ops); 366 extern void aty_init_engine(struct atyfb_par *par, struct fb_info *info); [all …]
|