Lines Matching refs:vrfb
152 const struct vrfb *vrfb = &ofbi->region->vrfb; in omapfb_get_vrfb_offset() local
160 offset = vrfb->yoffset; in omapfb_get_vrfb_offset()
163 offset = vrfb->yoffset * OMAP_VRFB_LINE_LEN + vrfb->xoffset; in omapfb_get_vrfb_offset()
166 offset = vrfb->xoffset * OMAP_VRFB_LINE_LEN; in omapfb_get_vrfb_offset()
173 offset *= vrfb->bytespp; in omapfb_get_vrfb_offset()
181 return ofbi->region->vrfb.paddr[rot] in omapfb_get_region_rot_paddr()
191 return ofbi->region->vrfb.paddr[0]; in omapfb_get_region_paddr()
199 return ofbi->region->vrfb.vaddr[0]; in omapfb_get_region_vaddr()
494 struct vrfb *vrfb = &rg->vrfb; in setup_vrfb_rotation() local
523 if (yuv_mode != vrfb->yuv_mode) in setup_vrfb_rotation()
525 else if (bytespp != vrfb->bytespp) in setup_vrfb_rotation()
527 else if (vrfb->xres != var->xres_virtual || in setup_vrfb_rotation()
528 vrfb->yres != var->yres_virtual) in setup_vrfb_rotation()
531 if (vrfb->vaddr[0] && reconf) { in setup_vrfb_rotation()
535 iounmap(vrfb->vaddr[0]); in setup_vrfb_rotation()
536 vrfb->vaddr[0] = NULL; in setup_vrfb_rotation()
540 if (vrfb->vaddr[0]) in setup_vrfb_rotation()
543 omap_vrfb_setup(&rg->vrfb, rg->paddr, in setup_vrfb_rotation()
549 r = omap_vrfb_map_angle(vrfb, var->yres_virtual, 0); in setup_vrfb_rotation()
554 fbi->screen_base = ofbi->region->vrfb.vaddr[0]; in setup_vrfb_rotation()
556 fix->smem_start = ofbi->region->vrfb.paddr[0]; in setup_vrfb_rotation()
1312 if (rg->vrfb.vaddr[0]) { in omapfb_free_fbmem()
1313 iounmap(rg->vrfb.vaddr[0]); in omapfb_free_fbmem()
1314 rg->vrfb.vaddr[0] = NULL; in omapfb_free_fbmem()
1317 omap_vrfb_release_ctx(&rg->vrfb); in omapfb_free_fbmem()
1367 memset(&rg->vrfb, 0, sizeof rg->vrfb); in omapfb_alloc_fbmem()
1394 r = omap_vrfb_request_ctx(&rg->vrfb); in omapfb_alloc_fbmem()
2629 module_param_named(vrfb, def_vrfb, bool, 0);