| /linux/drivers/video/fbdev/core/ |
| A D | fbsysfs.c | 59 struct fb_info *fb_info = dev_get_drvdata(device); in store_mode() local 88 struct fb_info *fb_info = dev_get_drvdata(device); in show_mode() local 100 struct fb_info *fb_info = dev_get_drvdata(device); in store_modes() local 128 struct fb_info *fb_info = dev_get_drvdata(device); in show_modes() local 144 struct fb_info *fb_info = dev_get_drvdata(device); in store_bpp() local 159 struct fb_info *fb_info = dev_get_drvdata(device); in show_bpp() local 363 if (!fb_info || !fb_info->bl_dev) in store_bl_curve() 403 if (!fb_info || !fb_info->bl_dev) in show_bl_curve() 441 dev_set_drvdata(fb_info->dev, fb_info); in fb_init_device() 473 int fb_device_create(struct fb_info *fb_info) in fb_device_create() argument [all …]
|
| A D | fbmem.c | 40 struct fb_info *fb_info; in get_fb_info() local 47 if (fb_info) 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 59 fb_info->fbops->fb_destroy(fb_info); in put_fb_info() 389 static int do_register_framebuffer(struct fb_info *fb_info) in do_register_framebuffer() argument 429 if (!fb_info->modelist.prev || !fb_info->modelist.next) in do_register_framebuffer() 452 static void unbind_console(struct fb_info *fb_info) in unbind_console() argument 462 static void unlink_framebuffer(struct fb_info *fb_info) in unlink_framebuffer() argument 510 register_framebuffer(struct fb_info *fb_info) in register_framebuffer() argument [all …]
|
| A D | fb_internal.h | 27 int fb_prepare_logo(struct fb_info *fb_info, int rotate); 28 int fb_show_logo(struct fb_info *fb_info, int rotate); 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 73 get_device(fb_info->device); in fb_device_create() 77 static inline void fb_device_destroy(struct fb_info *fb_info) in fb_device_destroy() argument [all …]
|
| A D | fb_backlight.c | 15 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()
|
| A D | fbcon.h | 55 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 …]
|
| A D | fb_defio.c | 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() 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() 273 struct fb_info *info = container_of(work, struct fb_info, deferred_work.work); in fb_deferred_io_work() 297 int fb_deferred_io_init(struct fb_info *info) in fb_deferred_io_init() 334 void fb_deferred_io_open(struct fb_info *info, in fb_deferred_io_open() 345 static void fb_deferred_io_lastclose(struct fb_info *info) in fb_deferred_io_lastclose() 356 void fb_deferred_io_release(struct fb_info *info) in fb_deferred_io_release() [all …]
|
| /linux/include/linux/ |
| A D | fbcon.h | 7 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, 18 int fbcon_modechange_possible(struct fb_info *info, 20 void fbcon_update_vcs(struct fb_info *info, bool all); [all …]
|
| A D | fb.h | 20 struct fb_info; 144 struct fb_info *info; 453 struct fb_info { struct 603 extern int register_framebuffer(struct fb_info *fb_info); 604 extern void unregister_framebuffer(struct fb_info *fb_info); 605 extern int devm_register_framebuffer(struct device *dev, struct fb_info *fb_info); 746 extern void fb_bl_default_curve(struct fb_info *fb_info, u8 off, u8 min, u8 max); 772 extern int fbmon_dpms(const struct fb_info *fb_info); 823 extern int fb_set_cmap(struct fb_cmap *cmap, struct fb_info *fb_info); 824 extern int fb_set_user_cmap(struct fb_cmap_user *cmap, struct fb_info *fb_info); [all …]
|
| /linux/drivers/video/fbdev/ |
| A D | xen-fbfront.c | 44 struct fb_info *fb_info; member 346 struct fb_info *fb_info; in xenfb_probe() local 404 if (fb_info == NULL) in xenfb_probe() 408 fb_info->pseudo_palette = fb_info->par; in xenfb_probe() 409 fb_info->par = info; in xenfb_probe() 415 fb_info->var.xres_virtual = fb_info->var.xres = video[KPARAM_WIDTH]; in xenfb_probe() 416 fb_info->var.yres_virtual = fb_info->var.yres = video[KPARAM_HEIGHT]; in xenfb_probe() 429 fb_info->fix.line_length = fb_info->var.xres * XENFB_DEPTH / 8; in xenfb_probe() 461 info->fb_info = fb_info; in xenfb_probe() 511 if (info->fb_info) { in xenfb_remove() [all …]
|
| A D | acornfb.c | 91 static struct fb_info fb_info; variable 710 memset(&fb_info.var, 0, sizeof(fb_info.var)); in acornfb_init_fbinfo() 716 fb_info.var.green = fb_info.var.red; in acornfb_init_fbinfo() 717 fb_info.var.blue = fb_info.var.red; in acornfb_init_fbinfo() 769 fb_info.monspecs.hfmax = fb_info.monspecs.hfmin; in acornfb_parse_mon() 778 fb_info.monspecs.vfmax = fb_info.monspecs.vfmin; in acornfb_parse_mon() 797 fb_info.monspecs.vfmax < fb_info.monspecs.vfmin) in acornfb_parse_mon() 1062 fb_info.var.right_margin + fb_info.var.hsync_len); in acornfb_probe() 1069 VIDC_NAME, fb_info.var.xres, fb_info.var.yres, in acornfb_probe() 1075 fb_info.monspecs.vfmin, fb_info.monspecs.vfmax, in acornfb_probe() [all …]
|
| A D | pvr2fb.c | 148 static struct fb_info *fb_info; variable 812 fb_info->fix = pvr2_fix; in pvr2fb_common_init() 823 if (!fb_find_mode(&fb_info->var, fb_info, mode_option, pvr2_modedb, in pvr2fb_common_init() 825 fb_info->var = pvr2_var; in pvr2fb_common_init() 844 fb_info(fb_info, "Mode %dx%d-%d pitch = %ld cable: %s video output: %s\n", in pvr2fb_common_init() 845 fb_info->var.xres, fb_info->var.yres, in pvr2fb_common_init() 847 get_line_length(fb_info->var.xres, fb_info->var.bits_per_pixel), in pvr2fb_common_init() 854 pvr2fb_map = sq_remap(fb_info->fix.smem_start, fb_info->fix.smem_len, in pvr2fb_common_init() 864 if (fb_info->screen_base) in pvr2fb_common_init() 1102 if (!fb_info) in pvr2fb_init() [all …]
|
| A D | 68328fb.c | 55 static struct fb_info fb_info; variable 88 struct fb_info *info); 93 struct fb_info *info); 130 struct fb_info *info) in mc68x328fb_check_var() 364 struct fb_info *info) in mc68x328fb_pan_display() 438 fb_info.fix = mc68x328fb_fix; in mc68x328fb_init() 441 fb_info.fix.line_length = in mc68x328fb_init() 446 fb_info.var.red.length = fb_info.var.green.length = fb_info.var.blue.length = 1; in mc68x328fb_init() 447 fb_info.var.red.offset = fb_info.var.green.offset = fb_info.var.blue.offset = 0; in mc68x328fb_init() 460 fb_info(&fb_info, "%s frame buffer device\n", fb_info.fix.id); in mc68x328fb_init() [all …]
|
| A D | hpfb.c | 22 static struct fb_info fb_info = { variable 78 struct fb_info *info) in hpfb_setcolreg() 256 fb_info.fix.smem_start, fb_start, fb_info.fix.smem_len/1024); in hpfb_init_one() 291 fb_info.fbops = &hpfb_ops; in hpfb_init_one() 292 fb_info.var = hpfb_defined; in hpfb_init_one() 303 fb_info(&fb_info, "%s frame buffer device\n", fb_info.fix.id); in hpfb_init_one() 311 if (fb_info.screen_base) { in hpfb_init_one() 312 iounmap(fb_info.screen_base); in hpfb_init_one() 313 fb_info.screen_base = NULL; in hpfb_init_one() 361 if (fb_info.screen_base) in hpfb_remove_one() [all …]
|
| A D | g364fb.c | 72 static struct fb_info fb_info; variable 107 struct fb_info *info); 110 struct fb_info *info); 127 struct fb_info *info) in g364fb_pan_display() 153 u_int blue, u_int transp, struct fb_info *info) in g364fb_setcolreg() 216 fb_info.fbops = &g364fb_ops; in g364fb_init() 218 fb_info.var = fb_var; in g364fb_init() 219 fb_info.fix = fb_fix; in g364fb_init() 220 fb_info.flags = FBINFO_HWACCEL_YPAN; in g364fb_init() 222 fb_alloc_cmap(&fb_info.cmap, 255, 0); in g364fb_init() [all …]
|
| 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, 31 void atafb_iplan2p8_fillrect(struct fb_info *info, u_long next_line, u32 color, [all …]
|
| A D | macfb.c | 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() 416 struct fb_info *info) in csc_setpalette() 434 struct fb_info *fb_info) in macfb_setcolreg() argument 573 if (!fb_info.screen_base) in macfb_init() [all …]
|
| A D | skeletonfb.c | 127 static struct fb_info info; 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() 627 int xxxfb_sync(struct fb_info *info) in xxxfb_sync() 665 struct fb_info *info; in xxxfb_probe() 827 struct fb_info *info = pci_get_drvdata(dev); in xxxfb_remove() 849 struct fb_info *info = dev_get_drvdata(dev); in xxxfb_suspend() 864 struct fb_info *info = dev_get_drvdata(dev); in xxxfb_resume() 929 struct fb_info *info = platform_get_drvdata(dev); in xxxfb_suspend() [all …]
|
| A D | maxinefb.c | 40 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()
|
| 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()
|
| /linux/include/drm/ |
| A D | drm_fb_helper.h | 140 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); 252 void drm_fb_helper_fill_info(struct fb_info *info, 272 int drm_fb_helper_debug_enter(struct fb_info *info); 309 struct fb_info *info) in drm_fb_helper_pan_display() 320 struct fb_info *info) in drm_fb_helper_check_var() 331 static inline struct fb_info * 346 drm_fb_helper_fill_info(struct fb_info *info, in drm_fb_helper_fill_info() [all …]
|
| /linux/drivers/media/test-drivers/vivid/ |
| A D | vivid-osd.c | 196 struct fb_info *info) in vivid_fb_setcolreg() 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() 315 dev->fb_info.fbops = &vivid_fb_ops; in vivid_fb_init_vidmode() 318 dev->fb_info.monspecs.hfmin = 8000; in vivid_fb_init_vidmode() 320 dev->fb_info.monspecs.vfmin = 10; in vivid_fb_init_vidmode() 321 dev->fb_info.monspecs.vfmax = 100; in vivid_fb_init_vidmode() 342 if (dev->fb_info.cmap.len) in vivid_fb_release_buffers() [all …]
|
| /linux/drivers/gpu/drm/i915/gvt/ |
| A D | dmabuf.c | 54 struct intel_vgpu_fb_info *fb_info; in vgpu_gem_get_pages() local 65 vgpu = fb_info->obj->vgpu; in vgpu_gem_get_pages() 79 (fb_info->start >> PAGE_SHIFT); in vgpu_gem_get_pages() 345 struct intel_vgpu_fb_info *fb_info; in pick_dmabuf_by_info() local 393 gvt_dmabuf->width = fb_info->width; in update_fb_info() 396 gvt_dmabuf->size = fb_info->size; in update_fb_info() 397 gvt_dmabuf->x_pos = fb_info->x_pos; in update_fb_info() 398 gvt_dmabuf->y_pos = fb_info->y_pos; in update_fb_info() 399 gvt_dmabuf->x_hot = fb_info->x_hot; in update_fb_info() 400 gvt_dmabuf->y_hot = fb_info->y_hot; in update_fb_info() [all …]
|
| /linux/drivers/video/fbdev/i810/ |
| 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/ |
| 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/staging/fbtft/ |
| A D | fbtft-sysfs.c | 114 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()
|