• Home
  • Raw
  • Download

Lines Matching refs:ofbi

27 static u8 get_mem_idx(struct omapfb_info *ofbi)  in get_mem_idx()  argument
29 if (ofbi->id == ofbi->region->id) in get_mem_idx()
32 return OMAPFB_MEM_IDX_ENABLED | ofbi->region->id; in get_mem_idx()
35 static struct omapfb2_mem_region *get_mem_region(struct omapfb_info *ofbi, in get_mem_region() argument
38 struct omapfb2_device *fbdev = ofbi->fbdev; in get_mem_region()
43 mem_idx = ofbi->id; in get_mem_region()
53 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_setup_plane() local
54 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_setup_plane()
62 if (ofbi->num_overlays == 0) { in omapfb_setup_plane()
68 ovl = ofbi->overlays[0]; in omapfb_setup_plane()
70 old_rg = ofbi->region; in omapfb_setup_plane()
71 new_rg = get_mem_region(ofbi, pi->mem_idx); in omapfb_setup_plane()
99 ofbi->region = new_rg; in omapfb_setup_plane()
155 ofbi->region = old_rg; in omapfb_setup_plane()
178 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_query_plane() local
180 if (ofbi->num_overlays == 0) { in omapfb_query_plane()
186 ovl = ofbi->overlays[0]; in omapfb_query_plane()
194 pi->mem_idx = get_mem_idx(ofbi); in omapfb_query_plane()
204 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_setup_mem() local
205 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_setup_mem()
219 rg = ofbi->region; in omapfb_setup_mem()
264 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_query_mem() local
267 rg = omapfb_get_mem_region(ofbi->region); in omapfb_query_mem()
302 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_set_update_mode() local
303 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_set_update_mode()
345 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_get_update_mode() local
346 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_get_update_mode()
418 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_set_color_key() local
419 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_set_color_key()
426 for (i = 0; i < ofbi->num_overlays; i++) { in omapfb_set_color_key()
427 if (ofbi->overlays[i]->manager) { in omapfb_set_color_key()
428 mgr = ofbi->overlays[i]->manager; in omapfb_set_color_key()
448 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_get_color_key() local
449 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_get_color_key()
456 for (i = 0; i < ofbi->num_overlays; i++) { in omapfb_get_color_key()
457 if (ofbi->overlays[i]->manager) { in omapfb_get_color_key()
458 mgr = ofbi->overlays[i]->manager; in omapfb_get_color_key()
558 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_wait_for_go() local
562 for (i = 0; i < ofbi->num_overlays; ++i) { in omapfb_wait_for_go()
563 struct omap_overlay *ovl = ofbi->overlays[i]; in omapfb_wait_for_go()
574 struct omapfb_info *ofbi = FB2OFB(fbi); in omapfb_ioctl() local
575 struct omapfb2_device *fbdev = ofbi->fbdev; in omapfb_ioctl()