Lines Matching refs:fbi
29 struct fb_info *fbi = dev_get_drvdata(dev); in show_rotate_type() local
30 struct omapfb_info *ofbi = FB2OFB(fbi); in show_rotate_type()
39 struct fb_info *fbi = dev_get_drvdata(dev); in store_rotate_type() local
40 struct omapfb_info *ofbi = FB2OFB(fbi); in store_rotate_type()
52 lock_fb_info(fbi); in store_rotate_type()
74 unlock_fb_info(fbi); in store_rotate_type()
83 struct fb_info *fbi = dev_get_drvdata(dev); in show_mirror() local
84 struct omapfb_info *ofbi = FB2OFB(fbi); in show_mirror()
93 struct fb_info *fbi = dev_get_drvdata(dev); in store_mirror() local
94 struct omapfb_info *ofbi = FB2OFB(fbi); in store_mirror()
103 lock_fb_info(fbi); in store_mirror()
109 memcpy(&new_var, &fbi->var, sizeof(new_var)); in store_mirror()
110 r = check_fb_var(fbi, &new_var); in store_mirror()
113 memcpy(&fbi->var, &new_var, sizeof(fbi->var)); in store_mirror()
115 set_fb_fix(fbi); in store_mirror()
117 r = omapfb_apply_changes(fbi, 0); in store_mirror()
125 unlock_fb_info(fbi); in store_mirror()
133 struct fb_info *fbi = dev_get_drvdata(dev); in show_overlays() local
134 struct omapfb_info *ofbi = FB2OFB(fbi); in show_overlays()
139 lock_fb_info(fbi); in show_overlays()
157 unlock_fb_info(fbi); in show_overlays()
182 struct fb_info *fbi = dev_get_drvdata(dev); in store_overlays() local
183 struct omapfb_info *ofbi = FB2OFB(fbi); in store_overlays()
197 lock_fb_info(fbi); in store_overlays()
304 r = omapfb_apply_changes(fbi, 0); in store_overlays()
315 unlock_fb_info(fbi); in store_overlays()
323 struct fb_info *fbi = dev_get_drvdata(dev); in show_overlays_rotate() local
324 struct omapfb_info *ofbi = FB2OFB(fbi); in show_overlays_rotate()
328 lock_fb_info(fbi); in show_overlays_rotate()
337 unlock_fb_info(fbi); in show_overlays_rotate()
345 struct fb_info *fbi = dev_get_drvdata(dev); in store_overlays_rotate() local
346 struct omapfb_info *ofbi = FB2OFB(fbi); in store_overlays_rotate()
356 lock_fb_info(fbi); in store_overlays_rotate()
395 r = omapfb_apply_changes(fbi, 0); in store_overlays_rotate()
407 unlock_fb_info(fbi); in store_overlays_rotate()
415 struct fb_info *fbi = dev_get_drvdata(dev); in show_size() local
416 struct omapfb_info *ofbi = FB2OFB(fbi); in show_size()
424 struct fb_info *fbi = dev_get_drvdata(dev); in store_size() local
425 struct omapfb_info *ofbi = FB2OFB(fbi); in store_size()
427 struct omap_dss_device *display = fb2display(fbi); in store_size()
439 lock_fb_info(fbi); in store_size()
472 r = omapfb_realloc_fbmem(fbi, size, ofbi->region->type); in store_size()
484 unlock_fb_info(fbi); in store_size()
492 struct fb_info *fbi = dev_get_drvdata(dev); in show_phys() local
493 struct omapfb_info *ofbi = FB2OFB(fbi); in show_phys()
501 struct fb_info *fbi = dev_get_drvdata(dev); in show_virt() local
502 struct omapfb_info *ofbi = FB2OFB(fbi); in show_virt()
510 struct fb_info *fbi = dev_get_drvdata(dev); in show_upd_mode() local
514 r = omapfb_get_update_mode(fbi, &mode); in show_upd_mode()
525 struct fb_info *fbi = dev_get_drvdata(dev); in store_upd_mode() local
533 r = omapfb_set_update_mode(fbi, mode); in store_upd_mode()