Lines Matching refs:fbi

62 static int omapfb_setup_plane(struct fb_info *fbi, struct omapfb_plane_info *pi)  in omapfb_setup_plane()  argument
64 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_setup_plane()
111 set_fb_fix(fbi); in omapfb_setup_plane()
121 r = omapfb_setup_overlay(fbi, ovl, pi->pos_x, pi->pos_y, in omapfb_setup_plane()
167 set_fb_fix(fbi); in omapfb_setup_plane()
187 static int omapfb_query_plane(struct fb_info *fbi, struct omapfb_plane_info *pi) in omapfb_query_plane() argument
189 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_query_plane()
213 static int omapfb_setup_mem(struct fb_info *fbi, struct omapfb_mem_info *mi) in omapfb_setup_mem() argument
215 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_setup_mem()
217 struct omap_dss_device *display = fb2display(fbi); in omapfb_setup_mem()
260 r = omapfb_realloc_fbmem(fbi, size, mi->type); in omapfb_setup_mem()
273 static int omapfb_query_mem(struct fb_info *fbi, struct omapfb_mem_info *mi) in omapfb_query_mem() argument
275 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_query_mem()
289 static int omapfb_update_window(struct fb_info *fbi, in omapfb_update_window() argument
292 struct omap_dss_device *display = fb2display(fbi); in omapfb_update_window()
309 int omapfb_set_update_mode(struct fb_info *fbi, in omapfb_set_update_mode() argument
312 struct omap_dss_device *display = fb2display(fbi); in omapfb_set_update_mode()
313 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_set_update_mode()
352 int omapfb_get_update_mode(struct fb_info *fbi, in omapfb_get_update_mode() argument
355 struct omap_dss_device *display = fb2display(fbi); in omapfb_get_update_mode()
356 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_get_update_mode()
426 static int omapfb_set_color_key(struct fb_info *fbi, in omapfb_set_color_key() argument
429 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_set_color_key()
456 static int omapfb_get_color_key(struct fb_info *fbi, in omapfb_get_color_key() argument
459 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_get_color_key()
486 static int omapfb_memory_read(struct fb_info *fbi, in omapfb_memory_read() argument
489 struct omap_dss_device *display = fb2display(fbi); in omapfb_memory_read()
567 static int omapfb_wait_for_go(struct fb_info *fbi) in omapfb_wait_for_go() argument
569 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_wait_for_go()
583 int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, unsigned long arg) in omapfb_ioctl() argument
585 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_ioctl()
587 struct omap_dss_device *display = fb2display(fbi); in omapfb_ioctl()
635 r = omapfb_update_window(fbi, p.uwnd_o.x, p.uwnd_o.y, in omapfb_ioctl()
652 r = omapfb_update_window(fbi, p.uwnd.x, p.uwnd.y, in omapfb_ioctl()
662 r = omapfb_setup_plane(fbi, &p.plane_info); in omapfb_ioctl()
667 r = omapfb_query_plane(fbi, &p.plane_info); in omapfb_ioctl()
681 r = omapfb_setup_mem(fbi, &p.mem_info); in omapfb_ioctl()
686 r = omapfb_query_mem(fbi, &p.mem_info); in omapfb_ioctl()
731 r = omapfb_set_update_mode(fbi, p.update_mode); in omapfb_ioctl()
736 r = omapfb_get_update_mode(fbi, &p.update_mode); in omapfb_ioctl()
750 r = omapfb_set_color_key(fbi, &p.color_key); in omapfb_ioctl()
755 r = omapfb_get_color_key(fbi, &p.color_key); in omapfb_ioctl()
798 r = omapfb_wait_for_go(fbi); in omapfb_ioctl()
842 r = omapfb_memory_read(fbi, &p.memory_read); in omapfb_ioctl()