vrfb 164 drivers/media/platform/omap/omap_voutdef.h struct vrfb vrfb_context[MAC_VRFB_CTXS]; vrfb 152 drivers/video/fbdev/omap2/omapfb/omapfb-main.c const struct vrfb *vrfb = &ofbi->region->vrfb; vrfb 160 drivers/video/fbdev/omap2/omapfb/omapfb-main.c offset = vrfb->yoffset; vrfb 163 drivers/video/fbdev/omap2/omapfb/omapfb-main.c offset = vrfb->yoffset * OMAP_VRFB_LINE_LEN + vrfb->xoffset; vrfb 166 drivers/video/fbdev/omap2/omapfb/omapfb-main.c offset = vrfb->xoffset * OMAP_VRFB_LINE_LEN; vrfb 173 drivers/video/fbdev/omap2/omapfb/omapfb-main.c offset *= vrfb->bytespp; vrfb 181 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->vrfb.paddr[rot] vrfb 191 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->vrfb.paddr[0]; vrfb 199 drivers/video/fbdev/omap2/omapfb/omapfb-main.c return ofbi->region->vrfb.vaddr[0]; vrfb 494 drivers/video/fbdev/omap2/omapfb/omapfb-main.c struct vrfb *vrfb = &rg->vrfb; vrfb 523 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (yuv_mode != vrfb->yuv_mode) vrfb 525 drivers/video/fbdev/omap2/omapfb/omapfb-main.c else if (bytespp != vrfb->bytespp) vrfb 527 drivers/video/fbdev/omap2/omapfb/omapfb-main.c else if (vrfb->xres != var->xres_virtual || vrfb 528 drivers/video/fbdev/omap2/omapfb/omapfb-main.c vrfb->yres != var->yres_virtual) vrfb 531 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (vrfb->vaddr[0] && reconf) { vrfb 535 drivers/video/fbdev/omap2/omapfb/omapfb-main.c iounmap(vrfb->vaddr[0]); vrfb 536 drivers/video/fbdev/omap2/omapfb/omapfb-main.c vrfb->vaddr[0] = NULL; vrfb 540 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (vrfb->vaddr[0]) vrfb 543 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omap_vrfb_setup(&rg->vrfb, rg->paddr, vrfb 549 drivers/video/fbdev/omap2/omapfb/omapfb-main.c r = omap_vrfb_map_angle(vrfb, var->yres_virtual, 0); vrfb 554 drivers/video/fbdev/omap2/omapfb/omapfb-main.c fbi->screen_base = ofbi->region->vrfb.vaddr[0]; vrfb 556 drivers/video/fbdev/omap2/omapfb/omapfb-main.c fix->smem_start = ofbi->region->vrfb.paddr[0]; vrfb 1316 drivers/video/fbdev/omap2/omapfb/omapfb-main.c if (rg->vrfb.vaddr[0]) { vrfb 1317 drivers/video/fbdev/omap2/omapfb/omapfb-main.c iounmap(rg->vrfb.vaddr[0]); vrfb 1318 drivers/video/fbdev/omap2/omapfb/omapfb-main.c rg->vrfb.vaddr[0] = NULL; vrfb 1321 drivers/video/fbdev/omap2/omapfb/omapfb-main.c omap_vrfb_release_ctx(&rg->vrfb); vrfb 1371 drivers/video/fbdev/omap2/omapfb/omapfb-main.c memset(&rg->vrfb, 0, sizeof rg->vrfb); vrfb 1398 drivers/video/fbdev/omap2/omapfb/omapfb-main.c r = omap_vrfb_request_ctx(&rg->vrfb); vrfb 2633 drivers/video/fbdev/omap2/omapfb/omapfb-main.c module_param_named(vrfb, def_vrfb, bool, 0); vrfb 47 drivers/video/fbdev/omap2/omapfb/omapfb.h struct vrfb vrfb; vrfb 169 drivers/video/fbdev/omap2/omapfb/vrfb.c void omap_vrfb_setup(struct vrfb *vrfb, unsigned long paddr, vrfb 176 drivers/video/fbdev/omap2/omapfb/vrfb.c u8 ctx = vrfb->context; vrfb 222 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->xres = width; vrfb 223 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->yres = height; vrfb 224 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->xoffset = vrfb_width - width; vrfb 225 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->yoffset = vrfb_height - height; vrfb 226 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->bytespp = bytespp; vrfb 227 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->yuv_mode = yuv_mode; vrfb 231 drivers/video/fbdev/omap2/omapfb/vrfb.c int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot) vrfb 233 drivers/video/fbdev/omap2/omapfb/vrfb.c unsigned long size = height * OMAP_VRFB_LINE_LEN * vrfb->bytespp; vrfb 235 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->vaddr[rot] = ioremap_wc(vrfb->paddr[rot], size); vrfb 237 drivers/video/fbdev/omap2/omapfb/vrfb.c if (!vrfb->vaddr[rot]) { vrfb 243 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->vaddr[rot]); vrfb 249 drivers/video/fbdev/omap2/omapfb/vrfb.c void omap_vrfb_release_ctx(struct vrfb *vrfb) vrfb 252 drivers/video/fbdev/omap2/omapfb/vrfb.c int ctx = vrfb->context; vrfb 266 drivers/video/fbdev/omap2/omapfb/vrfb.c if (vrfb->paddr[rot]) { vrfb 267 drivers/video/fbdev/omap2/omapfb/vrfb.c release_mem_region(vrfb->paddr[rot], OMAP_VRFB_SIZE); vrfb 268 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->paddr[rot] = 0; vrfb 272 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->context = 0xff; vrfb 278 drivers/video/fbdev/omap2/omapfb/vrfb.c int omap_vrfb_request_ctx(struct vrfb *vrfb) vrfb 303 drivers/video/fbdev/omap2/omapfb/vrfb.c memset(vrfb, 0, sizeof(*vrfb)); vrfb 305 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->context = ctx; vrfb 313 drivers/video/fbdev/omap2/omapfb/vrfb.c omap_vrfb_release_ctx(vrfb); vrfb 318 drivers/video/fbdev/omap2/omapfb/vrfb.c vrfb->paddr[rot] = paddr; vrfb 320 drivers/video/fbdev/omap2/omapfb/vrfb.c DBG("VRFB %d/%d: %lx\n", ctx, rot*90, vrfb->paddr[rot]); vrfb 28 include/video/omapvrfb.h extern int omap_vrfb_request_ctx(struct vrfb *vrfb); vrfb 29 include/video/omapvrfb.h extern void omap_vrfb_release_ctx(struct vrfb *vrfb); vrfb 34 include/video/omapvrfb.h extern void omap_vrfb_setup(struct vrfb *vrfb, unsigned long paddr, vrfb 37 include/video/omapvrfb.h extern int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot); vrfb 42 include/video/omapvrfb.h static inline int omap_vrfb_request_ctx(struct vrfb *vrfb) { return 0; } vrfb 43 include/video/omapvrfb.h static inline void omap_vrfb_release_ctx(struct vrfb *vrfb) {} vrfb 50 include/video/omapvrfb.h static inline void omap_vrfb_setup(struct vrfb *vrfb, unsigned long paddr, vrfb 52 include/video/omapvrfb.h static inline int omap_vrfb_map_angle(struct vrfb *vrfb, u16 height, u8 rot)