Lines Matching refs:bo
44 struct mgag200_bo *bo = NULL; in mga_crtc_cursor_set() local
112 bo = gem_to_mga_bo(obj); in mga_crtc_cursor_set()
113 ret = mgag200_bo_reserve(bo, true); in mga_crtc_cursor_set()
118 if (!bo->kmap.virtual) { in mga_crtc_cursor_set()
119 ret = ttm_bo_kmap(&bo->bo, 0, bo->bo.num_pages, &bo->kmap); in mga_crtc_cursor_set()
129 this_colour = ioread32(bo->kmap.virtual + i); in mga_crtc_cursor_set()
182 ret = ttm_bo_kmap(&pixels_prev->bo, 0, in mga_crtc_cursor_set()
183 pixels_prev->bo.num_pages, in mga_crtc_cursor_set()
195 this_colour = ioread32(bo->kmap.virtual + 4*(col + 64*row)); in mga_crtc_cursor_set()
241 ttm_bo_kunmap(&bo->kmap); in mga_crtc_cursor_set()
243 mgag200_bo_unreserve(bo); in mga_crtc_cursor_set()