Lines Matching refs:mem_desc
133 fbdev->mem_desc.region[i].size = in ctrl_init()
135 fbdev->mem_desc.region_cnt = i; in ctrl_init()
138 if (!fbdev->mem_desc.region_cnt) { in ctrl_init()
147 fbdev->mem_desc.region_cnt = 1; in ctrl_init()
148 fbdev->mem_desc.region[0].size = PAGE_ALIGN(def_size); in ctrl_init()
150 r = fbdev->ctrl->init(fbdev, 0, &fbdev->mem_desc); in ctrl_init()
158 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in ctrl_init()
161 fbdev->mem_desc.region[i].paddr, in ctrl_init()
162 fbdev->mem_desc.region[i].vaddr, in ctrl_init()
163 fbdev->mem_desc.region[i].size); in ctrl_init()
374 rg = &plane->fbdev->mem_desc.region[plane->idx]; in set_fb_fix()
521 max_frame_size = fbdev->mem_desc.region[plane->idx].size; in set_fb_var()
773 if (pi->enabled && !fbdev->mem_desc.region[plane->idx].size) { in omapfb_setup_plane()
812 struct omapfb_mem_region *rg = &fbdev->mem_desc.region[plane->idx]; in omapfb_setup_mem()
890 rg = &fbdev->mem_desc.region[plane->idx]; in omapfb_query_mem()
1027 *(u16 *)fbdev->mem_desc.region[0].vaddr = pixval; in omapfb_write_first_pixel()
1483 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in planes_cleanup()
1497 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in planes_init()
1532 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) in omapfb_free_resources()
1722 for (i = 0; i < fbdev->mem_desc.region_cnt; i++) { in omapfb_do_probe()
1729 vram += fbdev->mem_desc.region[i].size; in omapfb_do_probe()
1742 vram, fbdev->mem_desc.region_cnt); in omapfb_do_probe()