Lines Matching refs:rot
31 #define SMS_ROT_VIRT_BASE(rot) (0x1000000 * (rot)) argument
231 int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) in omap_vrfb_map_angle() argument
235 vrfb->vaddr[rot] = ioremap_wc(vrfb->paddr[rot], size); in omap_vrfb_map_angle()
237 if (!vrfb->vaddr[rot]) { in omap_vrfb_map_angle()
242 DBG("ioremapped vrfb area %d of size %lu into %p\n", rot, size, in omap_vrfb_map_angle()
243 vrfb->vaddr[rot]); in omap_vrfb_map_angle()
251 int rot; in omap_vrfb_release_ctx() local
265 for (rot = 0; rot < 4; ++rot) { in omap_vrfb_release_ctx()
266 if (vrfb->paddr[rot]) { in omap_vrfb_release_ctx()
267 release_mem_region(vrfb->paddr[rot], OMAP_VRFB_SIZE); in omap_vrfb_release_ctx()
268 vrfb->paddr[rot] = 0; in omap_vrfb_release_ctx()
280 int rot; in omap_vrfb_request_ctx() local
307 for (rot = 0; rot < 4; ++rot) { in omap_vrfb_request_ctx()
308 paddr = ctxs[ctx].base + SMS_ROT_VIRT_BASE(rot); in omap_vrfb_request_ctx()
312 ctx, rot * 90); in omap_vrfb_request_ctx()
318 vrfb->paddr[rot] = paddr; in omap_vrfb_request_ctx()
320 DBG("VRFB %d/%d: %lx\n", ctx, rot*90, vrfb->paddr[rot]); in omap_vrfb_request_ctx()