• Home
  • Raw
  • Download

Lines Matching refs:fb_info

46 struct fb_info *registered_fb[FB_MAX] __read_mostly;
119 char* fb_get_buffer_offset(struct fb_info *info, struct fb_pixmap *buf, u32 size) in fb_get_buffer_offset()
158 static void fb_set_logocmap(struct fb_info *info, in fb_set_logocmap()
192 static void fb_set_logo_truepalette(struct fb_info *info, in fb_set_logo_truepalette()
222 static void fb_set_logo_directpalette(struct fb_info *info, in fb_set_logo_directpalette()
237 static void fb_set_logo(struct fb_info *info, in fb_set_logo()
350 static void fb_rotate_logo(struct fb_info *info, u8 *dst, in fb_rotate_logo()
383 static void fb_do_show_logo(struct fb_info *info, struct fb_image *image, in fb_do_show_logo()
415 static int fb_show_logo_line(struct fb_info *info, int rotate, in fb_show_logo_line()
503 static int fb_prepare_extra_logos(struct fb_info *info, unsigned int height, in fb_prepare_extra_logos()
527 static int fb_show_extra_logos(struct fb_info *info, int y, int rotate) in fb_show_extra_logos()
540 static inline int fb_prepare_extra_logos(struct fb_info *info, in fb_prepare_extra_logos()
547 static inline int fb_show_extra_logos(struct fb_info *info, int y, int rotate) in fb_show_extra_logos()
555 int fb_prepare_logo(struct fb_info *info, int rotate) in fb_prepare_logo()
623 int fb_show_logo(struct fb_info *info, int rotate) in fb_show_logo()
634 int fb_prepare_logo(struct fb_info *info, int rotate) { return 0; } in fb_prepare_logo()
635 int fb_show_logo(struct fb_info *info, int rotate) { return 0; } in fb_show_logo()
656 struct fb_info *fi = registered_fb[i]; in fb_seq_show()
689 struct fb_info *info = registered_fb[fbidx]; in fb_read()
764 struct fb_info *info = registered_fb[fbidx]; in fb_write()
843 fb_pan_display(struct fb_info *info, struct fb_var_screeninfo *var) in fb_pan_display()
879 static int fb_check_caps(struct fb_info *info, struct fb_var_screeninfo *var, in fb_check_caps()
903 fb_set_var(struct fb_info *info, struct fb_var_screeninfo *var) in fb_set_var()
988 fb_blank(struct fb_info *info, int blank) in fb_blank()
1009 static long do_fb_ioctl(struct fb_info *info, unsigned int cmd, in do_fb_ioctl()
1146 struct fb_info *info = registered_fb[fbidx]; in fb_ioctl()
1178 static int fb_getput_cmap(struct fb_info *info, unsigned int cmd, in fb_getput_cmap()
1244 static int fb_get_fscreeninfo(struct fb_info *info, unsigned int cmd, in fb_get_fscreeninfo()
1270 struct fb_info *info = registered_fb[fbidx]; in fb_compat_ioctl()
1309 struct fb_info *info = registered_fb[fbidx]; in fb_mmap()
1364 struct fb_info *info; in fb_open()
1400 struct fb_info * const info = file->private_data; in fb_release()
1432 static int fb_check_foreignness(struct fb_info *fi) in fb_check_foreignness()
1468 register_framebuffer(struct fb_info *fb_info) in register_framebuffer() argument
1477 if (fb_check_foreignness(fb_info)) in register_framebuffer()
1484 fb_info->node = i; in register_framebuffer()
1485 mutex_init(&fb_info->lock); in register_framebuffer()
1487 fb_info->dev = device_create(fb_class, fb_info->device, in register_framebuffer()
1489 if (IS_ERR(fb_info->dev)) { in register_framebuffer()
1491 …ERN_WARNING "Unable to create device for framebuffer %d; errno = %ld\n", i, PTR_ERR(fb_info->dev)); in register_framebuffer()
1492 fb_info->dev = NULL; in register_framebuffer()
1494 fb_init_device(fb_info); in register_framebuffer()
1496 if (fb_info->pixmap.addr == NULL) { in register_framebuffer()
1497 fb_info->pixmap.addr = kmalloc(FBPIXMAPSIZE, GFP_KERNEL); in register_framebuffer()
1498 if (fb_info->pixmap.addr) { in register_framebuffer()
1499 fb_info->pixmap.size = FBPIXMAPSIZE; in register_framebuffer()
1500 fb_info->pixmap.buf_align = 1; in register_framebuffer()
1501 fb_info->pixmap.scan_align = 1; in register_framebuffer()
1502 fb_info->pixmap.access_align = 32; in register_framebuffer()
1503 fb_info->pixmap.flags = FB_PIXMAP_DEFAULT; in register_framebuffer()
1506 fb_info->pixmap.offset = 0; in register_framebuffer()
1508 if (!fb_info->pixmap.blit_x) in register_framebuffer()
1509 fb_info->pixmap.blit_x = ~(u32)0; in register_framebuffer()
1511 if (!fb_info->pixmap.blit_y) in register_framebuffer()
1512 fb_info->pixmap.blit_y = ~(u32)0; in register_framebuffer()
1514 if (!fb_info->modelist.prev || !fb_info->modelist.next) in register_framebuffer()
1515 INIT_LIST_HEAD(&fb_info->modelist); in register_framebuffer()
1517 fb_var_to_videomode(&mode, &fb_info->var); in register_framebuffer()
1518 fb_add_videomode(&mode, &fb_info->modelist); in register_framebuffer()
1519 registered_fb[i] = fb_info; in register_framebuffer()
1521 event.info = fb_info; in register_framebuffer()
1545 unregister_framebuffer(struct fb_info *fb_info) in unregister_framebuffer() argument
1550 i = fb_info->node; in unregister_framebuffer()
1556 event.info = fb_info; in unregister_framebuffer()
1564 if (fb_info->pixmap.addr && in unregister_framebuffer()
1565 (fb_info->pixmap.flags & FB_PIXMAP_DEFAULT)) in unregister_framebuffer()
1566 kfree(fb_info->pixmap.addr); in unregister_framebuffer()
1567 fb_destroy_modelist(&fb_info->modelist); in unregister_framebuffer()
1570 fb_cleanup_device(fb_info); in unregister_framebuffer()
1572 event.info = fb_info; in unregister_framebuffer()
1587 void fb_set_suspend(struct fb_info *info, int state) in fb_set_suspend()
1643 int fb_new_modelist(struct fb_info *info) in fb_new_modelist()