/linux/drivers/video/fbdev/core/ |
A D | fbsysfs.c | 128 struct fb_info *fb_info = dev_get_drvdata(device); in store_mode() local 159 struct fb_info *fb_info = dev_get_drvdata(device); in show_mode() local 171 struct fb_info *fb_info = dev_get_drvdata(device); in store_modes() local 199 struct fb_info *fb_info = dev_get_drvdata(device); in show_modes() local 217 struct fb_info *fb_info = dev_get_drvdata(device); in store_bpp() local 232 struct fb_info *fb_info = dev_get_drvdata(device); in show_bpp() local 436 if (!fb_info || !fb_info->bl_dev) in store_bl_curve() 476 if (!fb_info || !fb_info->bl_dev) in show_bl_curve() 510 int fb_init_device(struct fb_info *fb_info) in fb_init_device() argument 514 dev_set_drvdata(fb_info->dev, fb_info); in fb_init_device() [all …]
|
A D | fbmem.c | 62 struct fb_info *fb_info; in get_fb_info() local 69 if (fb_info) in get_fb_info() 73 return fb_info; in get_fb_info() 76 static void put_fb_info(struct fb_info *fb_info) in put_fb_info() argument 81 fb_info->fbops->fb_destroy(fb_info); in put_fb_info() 1605 fb_info->dev = device_create(fb_class, fb_info->device, in do_register_framebuffer() 1632 if (!fb_info->modelist.prev || !fb_info->modelist.next) in do_register_framebuffer() 1667 static void unbind_console(struct fb_info *fb_info) in unbind_console() argument 1681 static void unlink_framebuffer(struct fb_info *fb_info) in unlink_framebuffer() argument 1870 register_framebuffer(struct fb_info *fb_info) in register_framebuffer() argument [all …]
|
A D | fbcon.h | 54 void (*clear)(struct vc_data *vc, struct fb_info *info, int sy, 56 void (*putcs)(struct vc_data *vc, struct fb_info *info, 59 void (*clear_margins)(struct vc_data *vc, struct fb_info *info, 61 void (*cursor)(struct vc_data *vc, struct fb_info *info, int mode, 63 int (*update_start)(struct fb_info *info); 64 int (*rotate_font)(struct fb_info *info, struct vc_data *vc); 69 struct fb_info *info; 108 static inline int mono_col(const struct fb_info *info) in mono_col() 117 struct fb_info *info, int is_fg) in attr_col_ec() 153 extern void fbcon_set_tileops(struct vc_data *vc, struct fb_info *info); [all …]
|
/linux/include/linux/ |
A D | fb.h | 21 struct fb_info; 141 struct fb_info *info; 438 struct fb_info { struct 607 extern int register_framebuffer(struct fb_info *fb_info); 608 extern void unregister_framebuffer(struct fb_info *fb_info); 614 extern int fb_prepare_logo(struct fb_info *fb_info, int rotate); 615 extern int fb_show_logo(struct fb_info *fb_info, int rotate); 693 extern int fb_init_device(struct fb_info *fb_info); 712 extern int fbmon_dpms(const struct fb_info *fb_info); 763 extern int fb_set_cmap(struct fb_cmap *cmap, struct fb_info *fb_info); [all …]
|
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, 17 void fbcon_fb_blanked(struct fb_info *info, int blank); 18 void fbcon_update_vcs(struct fb_info *info, bool all); [all …]
|
/linux/include/drm/ |
A D | drm_fb_helper.h | 131 struct fb_info *fbdev; 219 struct fb_info *info); 220 int drm_fb_helper_set_par(struct fb_info *info); 222 struct fb_info *info); 228 void drm_fb_helper_fill_info(struct fb_info *info, 232 void drm_fb_helper_deferred_io(struct fb_info *info, 302 struct fb_info *info) in drm_fb_helper_pan_display() 313 struct fb_info *info) in drm_fb_helper_check_var() 324 static inline struct fb_info * 335 drm_fb_helper_fill_info(struct fb_info *info, in drm_fb_helper_fill_info() [all …]
|
/linux/drivers/video/fbdev/ |
A D | acornfb.c | 91 static struct fb_info fb_info; variable 712 memset(&fb_info.var, 0, sizeof(fb_info.var)); in acornfb_init_fbinfo() 718 fb_info.var.green = fb_info.var.red; in acornfb_init_fbinfo() 719 fb_info.var.blue = fb_info.var.red; in acornfb_init_fbinfo() 771 fb_info.monspecs.hfmax = fb_info.monspecs.hfmin; in acornfb_parse_mon() 780 fb_info.monspecs.vfmax = fb_info.monspecs.vfmin; in acornfb_parse_mon() 799 fb_info.monspecs.vfmax < fb_info.monspecs.vfmin) in acornfb_parse_mon() 1064 fb_info.var.right_margin + fb_info.var.hsync_len); in acornfb_probe() 1071 VIDC_NAME, fb_info.var.xres, fb_info.var.yres, in acornfb_probe() 1077 fb_info.monspecs.vfmin, fb_info.monspecs.vfmax, in acornfb_probe() [all …]
|
A D | xen-fbfront.c | 44 struct fb_info *fb_info; member 184 static void xenfb_deferred_io(struct fb_info *fb_info, in xenfb_deferred_io() argument 368 struct fb_info *fb_info; in xenfb_probe() local 426 if (fb_info == NULL) in xenfb_probe() 430 fb_info->pseudo_palette = fb_info->par; in xenfb_probe() 431 fb_info->par = info; in xenfb_probe() 436 fb_info->var.xres_virtual = fb_info->var.xres = video[KPARAM_WIDTH]; in xenfb_probe() 437 fb_info->var.yres_virtual = fb_info->var.yres = video[KPARAM_HEIGHT]; in xenfb_probe() 450 fb_info->fix.line_length = fb_info->var.xres * XENFB_DEPTH / 8; in xenfb_probe() 482 info->fb_info = fb_info; in xenfb_probe() [all …]
|
A D | pvr2fb.c | 147 static struct fb_info *fb_info; variable 806 fb_info->fix = pvr2_fix; in pvr2fb_common_init() 817 if (!fb_find_mode(&fb_info->var, fb_info, mode_option, pvr2_modedb, in pvr2fb_common_init() 819 fb_info->var = pvr2_var; in pvr2fb_common_init() 838 fb_info(fb_info, "Mode %dx%d-%d pitch = %ld cable: %s video output: %s\n", in pvr2fb_common_init() 839 fb_info->var.xres, fb_info->var.yres, in pvr2fb_common_init() 841 get_line_length(fb_info->var.xres, fb_info->var.bits_per_pixel), in pvr2fb_common_init() 848 pvr2fb_map = sq_remap(fb_info->fix.smem_start, fb_info->fix.smem_len, in pvr2fb_common_init() 858 if (fb_info->screen_base) in pvr2fb_common_init() 1087 if (!fb_info) in pvr2fb_init() [all …]
|
A D | 68328fb.c | 55 static struct fb_info fb_info; variable 91 struct fb_info *info); 96 struct fb_info *info); 133 struct fb_info *info) in mc68x328fb_check_var() 367 struct fb_info *info) in mc68x328fb_pan_display() 441 fb_info.fix = mc68x328fb_fix; in mc68x328fb_init() 444 fb_info.fix.line_length = in mc68x328fb_init() 449 fb_info.var.red.length = fb_info.var.green.length = fb_info.var.blue.length = 1; in mc68x328fb_init() 450 fb_info.var.red.offset = fb_info.var.green.offset = fb_info.var.blue.offset = 0; in mc68x328fb_init() 463 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() 254 fb_info.fix.smem_start, fb_start, fb_info.fix.smem_len/1024); in hpfb_init_one() 289 fb_info.fbops = &hpfb_ops; in hpfb_init_one() 291 fb_info.var = hpfb_defined; in hpfb_init_one() 302 fb_info(&fb_info, "%s frame buffer device\n", fb_info.fix.id); in hpfb_init_one() 310 if (fb_info.screen_base) { in hpfb_init_one() 311 iounmap(fb_info.screen_base); in hpfb_init_one() 312 fb_info.screen_base = NULL; in hpfb_init_one() 359 if (fb_info.screen_base) in hpfb_remove_one() [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 575 if (!fb_info.screen_base) in macfb_init() [all …]
|
A D | g364fb.c | 72 static struct fb_info fb_info; variable 107 struct fb_info *info); 110 struct fb_info *info); 129 struct fb_info *info) in g364fb_pan_display() 155 u_int blue, u_int transp, struct fb_info *info) in g364fb_setcolreg() 218 fb_info.fbops = &g364fb_ops; in g364fb_init() 220 fb_info.var = fb_var; in g364fb_init() 221 fb_info.fix = fb_fix; in g364fb_init() 222 fb_info.flags = FBINFO_DEFAULT | FBINFO_HWACCEL_YPAN; in g364fb_init() 224 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 | skeletonfb.c | 126 static struct fb_info info; 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() 628 int xxxfb_sync(struct fb_info *info) in xxxfb_sync() 666 struct fb_info *info; in xxxfb_probe() 821 struct fb_info *info = pci_get_drvdata(dev); in xxxfb_remove() 843 struct fb_info *info = pci_get_drvdata(dev); in xxxfb_suspend() 858 struct fb_info *info = pci_get_drvdata(dev); in xxxfb_resume() 922 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() 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()
|
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() 217 static int cobalt_lcdfb_blank(int blank_mode, struct fb_info *info) in cobalt_lcdfb_blank() 282 struct fb_info *info; in cobalt_lcdfb_probe() 322 fb_info(info, "Cobalt server LCD frame buffer device\n"); in cobalt_lcdfb_probe() [all …]
|
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/drivers/gpu/drm/nouveau/ |
A D | nouveau_fbcon.h | 54 int nv04_fbcon_copyarea(struct fb_info *info, const struct fb_copyarea *region); 55 int nv04_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect); 56 int nv04_fbcon_imageblit(struct fb_info *info, const struct fb_image *image); 57 int nv04_fbcon_accel_init(struct fb_info *info); 59 int nv50_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect); 61 int nv50_fbcon_imageblit(struct fb_info *info, const struct fb_image *image); 62 int nv50_fbcon_accel_init(struct fb_info *info); 64 int nvc0_fbcon_fillrect(struct fb_info *info, const struct fb_fillrect *rect); 66 int nvc0_fbcon_imageblit(struct fb_info *info, const struct fb_image *image); 67 int nvc0_fbcon_accel_init(struct fb_info *info); [all …]
|
/linux/drivers/media/test-drivers/vivid/ |
A D | vivid-osd.c | 196 struct fb_info *info) in vivid_fb_setcolreg() 312 dev->fb_info.node = -1; in vivid_fb_init_vidmode() 314 dev->fb_info.par = dev; in vivid_fb_init_vidmode() 315 dev->fb_info.var = dev->fb_defined; in vivid_fb_init_vidmode() 316 dev->fb_info.fix = dev->fb_fix; in vivid_fb_init_vidmode() 318 dev->fb_info.fbops = &vivid_fb_ops; in vivid_fb_init_vidmode() 321 dev->fb_info.monspecs.hfmin = 8000; in vivid_fb_init_vidmode() 323 dev->fb_info.monspecs.vfmin = 10; in vivid_fb_init_vidmode() 324 dev->fb_info.monspecs.vfmax = 100; in vivid_fb_init_vidmode() 345 if (dev->fb_info.cmap.len) in vivid_fb_release_buffers() [all …]
|
/linux/drivers/gpu/drm/i915/gvt/ |
A D | dmabuf.c | 66 struct intel_vgpu_fb_info *fb_info; in vgpu_gem_get_pages() local 73 vgpu = fb_info->obj->vgpu; in vgpu_gem_get_pages() 88 (fb_info->start >> PAGE_SHIFT); in vgpu_gem_get_pages() 355 struct intel_vgpu_fb_info *fb_info; in pick_dmabuf_by_info() local 409 gvt_dmabuf->width = fb_info->width; in update_fb_info() 412 gvt_dmabuf->size = fb_info->size; in update_fb_info() 413 gvt_dmabuf->x_pos = fb_info->x_pos; in update_fb_info() 414 gvt_dmabuf->y_pos = fb_info->y_pos; in update_fb_info() 415 gvt_dmabuf->x_hot = fb_info->x_hot; in update_fb_info() 416 gvt_dmabuf->y_hot = fb_info->y_hot; in update_fb_info() [all …]
|
/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/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/staging/fbtft/ |
A D | fbtft-sysfs.c | 118 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()
|
/linux/drivers/hid/ |
A D | hid-picolcd_fb.c | 180 if (data->fb_info) in picolcd_fb_refresh() 188 struct picolcd_fb_data *fbdata = data->fb_info->par; 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() 340 static void picolcd_fb_destroy(struct fb_info *info) in picolcd_fb_destroy() 376 static int picolcd_set_par(struct fb_info *info) in picolcd_set_par() 501 struct fb_info *info = NULL; in picolcd_init_framebuffer() 546 data->fb_info = info; in picolcd_init_framebuffer() 572 data->fb_info = NULL; in picolcd_init_framebuffer() 583 struct fb_info *info = data->fb_info; in picolcd_exit_framebuffer() [all …]
|