Lines Matching refs:bo
44 struct mgag200_bo *bo = NULL; in mga_crtc_cursor_set() local
119 bo = gem_to_mga_bo(obj); in mga_crtc_cursor_set()
120 ret = mgag200_bo_reserve(bo, true); in mga_crtc_cursor_set()
125 if (!bo->kmap.virtual) { in mga_crtc_cursor_set()
126 ret = ttm_bo_kmap(&bo->bo, 0, bo->bo.num_pages, &bo->kmap); in mga_crtc_cursor_set()
136 this_colour = ioread32(bo->kmap.virtual + i); in mga_crtc_cursor_set()
189 ret = ttm_bo_kmap(&pixels_prev->bo, 0, in mga_crtc_cursor_set()
190 pixels_prev->bo.num_pages, in mga_crtc_cursor_set()
202 this_colour = ioread32(bo->kmap.virtual + 4*(col + 64*row)); in mga_crtc_cursor_set()
248 ttm_bo_kunmap(&bo->kmap); in mga_crtc_cursor_set()
250 mgag200_bo_unreserve(bo); in mga_crtc_cursor_set()