Lines Matching refs:rg
371 struct omapfb_mem_region *rg; in set_fb_fix() local
374 rg = &plane->fbdev->mem_desc.region[plane->idx]; in set_fb_fix()
375 fbi->screen_base = rg->vaddr; in set_fb_fix()
379 fix->smem_start = rg->paddr; in set_fb_fix()
380 fix->smem_len = rg->size; in set_fb_fix()
383 fix->smem_start = rg->paddr; in set_fb_fix()
384 fix->smem_len = rg->size; in set_fb_fix()
811 struct omapfb_mem_region *rg = &fbdev->mem_desc.region[plane->idx]; in omapfb_setup_mem() local
826 if (rg->size != size || rg->type != mi->type) { in omapfb_setup_mem()
828 unsigned long old_size = rg->size; in omapfb_setup_mem()
829 u8 old_type = rg->type; in omapfb_setup_mem()
832 rg->size = size; in omapfb_setup_mem()
833 rg->type = mi->type; in omapfb_setup_mem()
854 rg->size = old_size; in omapfb_setup_mem()
855 rg->type = old_type; in omapfb_setup_mem()
858 rg->paddr = paddr; in omapfb_setup_mem()
887 struct omapfb_mem_region *rg; in omapfb_query_mem() local
889 rg = &fbdev->mem_desc.region[plane->idx]; in omapfb_query_mem()
891 mi->size = rg->size; in omapfb_query_mem()
892 mi->type = rg->type; in omapfb_query_mem()