Lines Matching refs:fbi
51 static int omapfb_setup_plane(struct fb_info *fbi, struct omapfb_plane_info *pi) in omapfb_setup_plane() argument
53 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_setup_plane()
100 set_fb_fix(fbi); in omapfb_setup_plane()
110 r = omapfb_setup_overlay(fbi, ovl, pi->pos_x, pi->pos_y, in omapfb_setup_plane()
156 set_fb_fix(fbi); in omapfb_setup_plane()
176 static int omapfb_query_plane(struct fb_info *fbi, struct omapfb_plane_info *pi) in omapfb_query_plane() argument
178 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_query_plane()
202 static int omapfb_setup_mem(struct fb_info *fbi, struct omapfb_mem_info *mi) in omapfb_setup_mem() argument
204 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_setup_mem()
206 struct omap_dss_device *display = fb2display(fbi); in omapfb_setup_mem()
249 r = omapfb_realloc_fbmem(fbi, size, mi->type); in omapfb_setup_mem()
262 static int omapfb_query_mem(struct fb_info *fbi, struct omapfb_mem_info *mi) in omapfb_query_mem() argument
264 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_query_mem()
278 static int omapfb_update_window(struct fb_info *fbi, in omapfb_update_window() argument
281 struct omap_dss_device *display = fb2display(fbi); in omapfb_update_window()
298 int omapfb_set_update_mode(struct fb_info *fbi, in omapfb_set_update_mode() argument
301 struct omap_dss_device *display = fb2display(fbi); in omapfb_set_update_mode()
302 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_set_update_mode()
341 int omapfb_get_update_mode(struct fb_info *fbi, in omapfb_get_update_mode() argument
344 struct omap_dss_device *display = fb2display(fbi); in omapfb_get_update_mode()
345 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_get_update_mode()
415 static int omapfb_set_color_key(struct fb_info *fbi, in omapfb_set_color_key() argument
418 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_set_color_key()
445 static int omapfb_get_color_key(struct fb_info *fbi, in omapfb_get_color_key() argument
448 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_get_color_key()
475 static int omapfb_memory_read(struct fb_info *fbi, in omapfb_memory_read() argument
478 struct omap_dss_device *display = fb2display(fbi); in omapfb_memory_read()
556 static int omapfb_wait_for_go(struct fb_info *fbi) in omapfb_wait_for_go() argument
558 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_wait_for_go()
572 int omapfb_ioctl(struct fb_info *fbi, unsigned int cmd, unsigned long arg) in omapfb_ioctl() argument
574 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_ioctl()
576 struct omap_dss_device *display = fb2display(fbi); in omapfb_ioctl()
626 r = omapfb_update_window(fbi, p.uwnd_o.x, p.uwnd_o.y, in omapfb_ioctl()
643 r = omapfb_update_window(fbi, p.uwnd.x, p.uwnd.y, in omapfb_ioctl()
653 r = omapfb_setup_plane(fbi, &p.plane_info); in omapfb_ioctl()
658 r = omapfb_query_plane(fbi, &p.plane_info); in omapfb_ioctl()
672 r = omapfb_setup_mem(fbi, &p.mem_info); in omapfb_ioctl()
677 r = omapfb_query_mem(fbi, &p.mem_info); in omapfb_ioctl()
722 r = omapfb_set_update_mode(fbi, p.update_mode); in omapfb_ioctl()
727 r = omapfb_get_update_mode(fbi, &p.update_mode); in omapfb_ioctl()
741 r = omapfb_set_color_key(fbi, &p.color_key); in omapfb_ioctl()
746 r = omapfb_get_color_key(fbi, &p.color_key); in omapfb_ioctl()
789 r = omapfb_wait_for_go(fbi); in omapfb_ioctl()
833 r = omapfb_memory_read(fbi, &p.memory_read); in omapfb_ioctl()