ofbi 27 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c static u8 get_mem_idx(struct omapfb_info *ofbi) ofbi 29 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c if (ofbi->id == ofbi->region->id) ofbi 32 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c return OMAPFB_MEM_IDX_ENABLED | ofbi->region->id; ofbi 35 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c static struct omapfb2_mem_region *get_mem_region(struct omapfb_info *ofbi, ofbi 38 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 43 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c mem_idx = ofbi->id; ofbi 53 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 54 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 62 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c if (ofbi->num_overlays == 0) { ofbi 68 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c ovl = ofbi->overlays[0]; ofbi 70 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c old_rg = ofbi->region; ofbi 71 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c new_rg = get_mem_region(ofbi, pi->mem_idx); ofbi 99 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c ofbi->region = new_rg; ofbi 155 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c ofbi->region = old_rg; ofbi 178 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 180 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c if (ofbi->num_overlays == 0) { ofbi 186 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c ovl = ofbi->overlays[0]; ofbi 194 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c pi->mem_idx = get_mem_idx(ofbi); ofbi 204 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 205 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 219 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c rg = ofbi->region; ofbi 264 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 267 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c rg = omapfb_get_mem_region(ofbi->region); ofbi 302 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 303 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 345 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 346 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 418 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 419 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 426 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c for (i = 0; i < ofbi->num_overlays; i++) { ofbi 427 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c if (ofbi->overlays[i]->manager) { ofbi 428 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c mgr = ofbi->overlays[i]->manager; ofbi 448 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 449 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 456 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c for (i = 0; i < ofbi->num_overlays; i++) { ofbi 457 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c if (ofbi->overlays[i]->manager) { ofbi 458 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c mgr = ofbi->overlays[i]->manager; ofbi 561 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 565 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c for (i = 0; i < ofbi->num_overlays; ++i) { ofbi 566 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omap_overlay *ovl = ofbi->overlays[i]; ofbi 577 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 578 drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 150 drivers/video/fbdev/omap2/omapfb/omapfb-main.c static unsigned omapfb_get_vrfb_offset(const struct omapfb_info *ofbi, int rot) ofbi 152 drivers/video/fbdev/omap2/omapfb/omapfb-main.c const struct vrfb *vrfb = &ofbi->region->vrfb; ofbi 178 drivers/video/fbdev/omap2/omapfb/omapfb-main.c static u32 omapfb_get_region_rot_paddr(const struct omapfb_info *ofbi, int rot) ofbi 180 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) { ofbi 181 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->vrfb.paddr[rot] ofbi 182 drivers/video/fbdev/omap2/omapfb/omapfb-main.c + omapfb_get_vrfb_offset(ofbi, rot); ofbi 184 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->paddr; ofbi 188 drivers/video/fbdev/omap2/omapfb/omapfb-main.c static u32 omapfb_get_region_paddr(const struct omapfb_info *ofbi) ofbi 190 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) ofbi 191 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->vrfb.paddr[0]; ofbi 193 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->paddr; ofbi 196 drivers/video/fbdev/omap2/omapfb/omapfb-main.c static void __iomem *omapfb_get_region_vaddr(const struct omapfb_info *ofbi) ofbi 198 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) ofbi 199 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->vrfb.vaddr[0]; ofbi 201 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->vaddr; ofbi 443 drivers/video/fbdev/omap2/omapfb/omapfb-main.c static int check_fb_size(const struct omapfb_info *ofbi, ofbi 446 drivers/video/fbdev/omap2/omapfb/omapfb-main.c unsigned long max_frame_size = ofbi->region->size; ofbi 450 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) { ofbi 492 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 493 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb2_mem_region *rg = ofbi->region; ofbi 503 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (!rg->size || ofbi->rotation_type != OMAP_DSS_ROT_VRFB) ofbi 554 drivers/video/fbdev/omap2/omapfb/omapfb-main.c fbi->screen_base = ofbi->region->vrfb.vaddr[0]; ofbi 556 drivers/video/fbdev/omap2/omapfb/omapfb-main.c fix->smem_start = ofbi->region->vrfb.paddr[0]; ofbi 594 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 595 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb2_mem_region *rg = ofbi->region; ofbi 600 drivers/video/fbdev/omap2/omapfb/omapfb-main.c fbi->screen_base = (char __iomem *)omapfb_get_region_vaddr(ofbi); ofbi 603 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) { ofbi 623 drivers/video/fbdev/omap2/omapfb/omapfb-main.c fix->smem_start = omapfb_get_region_paddr(ofbi); ofbi 656 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 662 drivers/video/fbdev/omap2/omapfb/omapfb-main.c DBG("check_fb_var %d\n", ofbi->id); ofbi 664 drivers/video/fbdev/omap2/omapfb/omapfb-main.c WARN_ON(!atomic_read(&ofbi->region->lock_count)); ofbi 672 drivers/video/fbdev/omap2/omapfb/omapfb-main.c for (i = 0; i < ofbi->num_overlays; ++i) { ofbi 673 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if ((ofbi->overlays[i]->supported_modes & mode) == 0) { ofbi 686 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->region->size != 0 && check_fb_size(ofbi, var)) ofbi 801 drivers/video/fbdev/omap2/omapfb/omapfb-main.c static void omapfb_calc_addr(const struct omapfb_info *ofbi, ofbi 809 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) ofbi 810 drivers/video/fbdev/omap2/omapfb/omapfb-main.c data_start_p = omapfb_get_region_rot_paddr(ofbi, rotation); ofbi 812 drivers/video/fbdev/omap2/omapfb/omapfb-main.c data_start_p = omapfb_get_region_paddr(ofbi); ofbi 814 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) ofbi 835 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 847 drivers/video/fbdev/omap2/omapfb/omapfb-main.c WARN_ON(!atomic_read(&ofbi->region->lock_count)); ofbi 849 drivers/video/fbdev/omap2/omapfb/omapfb-main.c for (i = 0; i < ofbi->num_overlays; i++) { ofbi 850 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ovl != ofbi->overlays[i]) ofbi 853 drivers/video/fbdev/omap2/omapfb/omapfb-main.c rotation = (rotation + ofbi->rotation[i]) % 4; ofbi 857 drivers/video/fbdev/omap2/omapfb/omapfb-main.c DBG("setup_overlay %d, posx %d, posy %d, outw %d, outh %d\n", ofbi->id, ofbi 868 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->region->size) ofbi 869 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_calc_addr(ofbi, var, fix, rotation, &data_start_p); ofbi 880 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) { ofbi 893 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) ofbi 896 drivers/video/fbdev/omap2/omapfb/omapfb-main.c mirror = ofbi->mirror; ofbi 903 drivers/video/fbdev/omap2/omapfb/omapfb-main.c info.rotation_type = ofbi->rotation_type; ofbi 929 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 941 drivers/video/fbdev/omap2/omapfb/omapfb-main.c WARN_ON(!atomic_read(&ofbi->region->lock_count)); ofbi 943 drivers/video/fbdev/omap2/omapfb/omapfb-main.c for (i = 0; i < ofbi->num_overlays; i++) { ofbi 944 drivers/video/fbdev/omap2/omapfb/omapfb-main.c ovl = ofbi->overlays[i]; ofbi 946 drivers/video/fbdev/omap2/omapfb/omapfb-main.c DBG("apply_changes, fb %d, ovl %d\n", ofbi->id, ovl->id); ofbi 948 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->region->size == 0) { ofbi 957 drivers/video/fbdev/omap2/omapfb/omapfb-main.c int rotation = (var->rotate + ofbi->rotation[i]) % 4; ofbi 1000 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 1005 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_get_mem_region(ofbi->region); ofbi 1009 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_put_mem_region(ofbi->region); ofbi 1017 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 1022 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_get_mem_region(ofbi->region); ofbi 1033 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_put_mem_region(ofbi->region); ofbi 1041 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 1057 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_get_mem_region(ofbi->region); ofbi 1061 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_put_mem_region(ofbi->region); ofbi 1091 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 1098 drivers/video/fbdev/omap2/omapfb/omapfb-main.c rg = omapfb_get_mem_region(ofbi->region); ofbi 1100 drivers/video/fbdev/omap2/omapfb/omapfb-main.c start = omapfb_get_region_paddr(ofbi); ofbi 1122 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_put_mem_region(ofbi->region); ofbi 1219 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 1220 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 1303 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 1304 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 1307 drivers/video/fbdev/omap2/omapfb/omapfb-main.c rg = ofbi->region; ofbi 1314 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) { ofbi 1359 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 1360 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 1367 drivers/video/fbdev/omap2/omapfb/omapfb-main.c rg = ofbi->region; ofbi 1381 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) ofbi 1384 drivers/video/fbdev/omap2/omapfb/omapfb-main.c DBG("allocating %lu bytes for fb %d\n", size, ofbi->id); ofbi 1397 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) { ofbi 1423 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 1424 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 1450 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->rotation_type == OMAP_DSS_ROT_VRFB) { ofbi 1556 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbdev->fbs[i]); ofbi 1558 drivers/video/fbdev/omap2/omapfb/omapfb-main.c rg = ofbi->region; ofbi 1586 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 1587 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 1588 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb2_mem_region *rg = ofbi->region; ofbi 1625 drivers/video/fbdev/omap2/omapfb/omapfb-main.c DBG("initializing fb %d\n", ofbi->id); ofbi 1735 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 1742 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->region->size == 0) { ofbi 1754 drivers/video/fbdev/omap2/omapfb/omapfb-main.c int rotation = (var->rotate + ofbi->rotation[0]) % 4; ofbi 1880 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi; ofbi 1891 drivers/video/fbdev/omap2/omapfb/omapfb-main.c ofbi = FB2OFB(fbi); ofbi 1892 drivers/video/fbdev/omap2/omapfb/omapfb-main.c ofbi->fbdev = fbdev; ofbi 1893 drivers/video/fbdev/omap2/omapfb/omapfb-main.c ofbi->id = i; ofbi 1895 drivers/video/fbdev/omap2/omapfb/omapfb-main.c ofbi->region = &fbdev->regions[i]; ofbi 1896 drivers/video/fbdev/omap2/omapfb/omapfb-main.c ofbi->region->id = i; ofbi 1897 drivers/video/fbdev/omap2/omapfb/omapfb-main.c init_rwsem(&ofbi->region->lock); ofbi 1900 drivers/video/fbdev/omap2/omapfb/omapfb-main.c ofbi->rotation_type = def_vrfb ? OMAP_DSS_ROT_VRFB : ofbi 1902 drivers/video/fbdev/omap2/omapfb/omapfb-main.c ofbi->mirror = def_mirror; ofbi 1911 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbdev->fbs[i]); ofbi 1913 drivers/video/fbdev/omap2/omapfb/omapfb-main.c ofbi->overlays[0] = fbdev->overlays[i]; ofbi 1914 drivers/video/fbdev/omap2/omapfb/omapfb-main.c ofbi->num_overlays = 1; ofbi 1929 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 1931 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_get_mem_region(ofbi->region); ofbi 1933 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_put_mem_region(ofbi->region); ofbi 1943 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 1945 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->region->size == 0) ofbi 1966 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 1968 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_get_mem_region(ofbi->region); ofbi 1970 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omapfb_put_mem_region(ofbi->region); ofbi 1980 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omapfb_info *ofbi = FB2OFB(fbdev->fbs[0]); ofbi 1982 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (ofbi->num_overlays > 0) { ofbi 1983 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct omap_overlay *ovl = ofbi->overlays[0]; ofbi 30 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 32 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c return snprintf(buf, PAGE_SIZE, "%d\n", ofbi->rotation_type); ofbi 40 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 55 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c if (rot_type == ofbi->rotation_type) ofbi 58 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c rg = omapfb_get_mem_region(ofbi->region); ofbi 65 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c ofbi->rotation_type = rot_type; ofbi 84 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 86 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c return snprintf(buf, PAGE_SIZE, "%d\n", ofbi->mirror); ofbi 94 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 105 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c ofbi->mirror = mirror; ofbi 107 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_get_mem_region(ofbi->region); ofbi 123 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_put_mem_region(ofbi->region); ofbi 134 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 135 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 142 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c for (t = 0; t < ofbi->num_overlays; t++) { ofbi 143 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omap_overlay *ovl = ofbi->overlays[t]; ofbi 168 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb_info *ofbi = FB2OFB(fbdev->fbs[i]); ofbi 170 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c for (t = 0; t < ofbi->num_overlays; t++) { ofbi 171 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c if (ofbi->overlays[t] == ovl) ofbi 172 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c return ofbi; ofbi 183 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 184 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 234 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c if (ofbi2 && ofbi2 != ofbi) { ofbi 242 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c for (i = 0; i < ofbi->num_overlays; ++i) { ofbi 245 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c ovl = ofbi->overlays[i]; ofbi 259 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c DBG("detaching %d\n", ofbi->overlays[i]->id); ofbi 261 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_get_mem_region(ofbi->region); ofbi 268 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_put_mem_region(ofbi->region); ofbi 270 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c for (t = i + 1; t < ofbi->num_overlays; t++) { ofbi 271 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c ofbi->rotation[t-1] = ofbi->rotation[t]; ofbi 272 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c ofbi->overlays[t-1] = ofbi->overlays[t]; ofbi 275 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c ofbi->num_overlays--; ofbi 286 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c for (t = 0; t < ofbi->num_overlays; ++t) { ofbi 287 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c if (ovl == ofbi->overlays[t]) { ofbi 295 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c ofbi->rotation[ofbi->num_overlays] = 0; ofbi 296 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c ofbi->overlays[ofbi->num_overlays++] = ovl; ofbi 302 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_get_mem_region(ofbi->region); ofbi 306 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_put_mem_region(ofbi->region); ofbi 324 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 330 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c for (t = 0; t < ofbi->num_overlays; t++) { ofbi 332 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c t == 0 ? "" : ",", ofbi->rotation[t]); ofbi 346 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 364 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c if (num_ovls == ofbi->num_overlays) { ofbi 375 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c if (ofbi->rotation[num_ovls] != rot) ofbi 384 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c if (num_ovls != ofbi->num_overlays) { ofbi 391 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c ofbi->rotation[i] = rotation[i]; ofbi 393 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_get_mem_region(ofbi->region); ofbi 397 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c omapfb_put_mem_region(ofbi->region); ofbi 416 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 418 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c return snprintf(buf, PAGE_SIZE, "%lu\n", ofbi->region->size); ofbi 425 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 426 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb2_device *fbdev = ofbi->fbdev; ofbi 444 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c rg = ofbi->region; ofbi 471 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c if (size != ofbi->region->size) { ofbi 472 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c r = omapfb_realloc_fbmem(fbi, size, ofbi->region->type); ofbi 493 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 495 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c return snprintf(buf, PAGE_SIZE, "%0x\n", ofbi->region->paddr); ofbi 502 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 504 drivers/video/fbdev/omap2/omapfb/omapfb-sysfs.c return snprintf(buf, PAGE_SIZE, "%p\n", ofbi->region->vaddr); ofbi 136 drivers/video/fbdev/omap2/omapfb/omapfb.h struct omapfb_info *ofbi = FB2OFB(fbi); ofbi 141 drivers/video/fbdev/omap2/omapfb/omapfb.h if (ofbi->num_overlays == 0) ofbi 144 drivers/video/fbdev/omap2/omapfb/omapfb.h ovl = ofbi->overlays[0];