Home
last modified time | relevance | path

Searched refs:sg_iter (Results 1 – 7 of 7) sorted by relevance

/drivers/gpu/drm/i915/
Di915_gem_tiling.c479 struct sg_page_iter sg_iter; in i915_gem_object_do_bit_17_swizzle() local
486 for_each_sg_page(obj->pages->sgl, &sg_iter, obj->pages->nents, 0) { in i915_gem_object_do_bit_17_swizzle()
487 struct page *page = sg_page_iter_page(&sg_iter); in i915_gem_object_do_bit_17_swizzle()
501 struct sg_page_iter sg_iter; in i915_gem_object_save_bit_17_swizzle() local
516 for_each_sg_page(obj->pages->sgl, &sg_iter, obj->pages->nents, 0) { in i915_gem_object_save_bit_17_swizzle()
517 if (page_to_phys(sg_page_iter_page(&sg_iter)) & (1 << 17)) in i915_gem_object_save_bit_17_swizzle()
Di915_gem_dmabuf.c108 struct sg_page_iter sg_iter; in i915_gem_dmabuf_vmap() local
132 for_each_sg_page(obj->pages->sgl, &sg_iter, obj->pages->nents, 0) in i915_gem_dmabuf_vmap()
133 pages[i++] = sg_page_iter_page(&sg_iter); in i915_gem_dmabuf_vmap()
Di915_gem_gtt.c187 struct sg_page_iter sg_iter; in gen6_ppgtt_insert_entries() local
190 for_each_sg_page(pages->sgl, &sg_iter, pages->nents, 0) { in gen6_ppgtt_insert_entries()
193 page_addr = sg_page_iter_dma_address(&sg_iter); in gen6_ppgtt_insert_entries()
435 struct sg_page_iter sg_iter; in gen6_ggtt_insert_entries() local
438 for_each_sg_page(st->sgl, &sg_iter, st->nents, 0) { in gen6_ggtt_insert_entries()
439 addr = sg_page_iter_dma_address(&sg_iter); in gen6_ggtt_insert_entries()
Di915_gem.c411 struct sg_page_iter sg_iter; in i915_gem_shmem_pread() local
440 for_each_sg_page(obj->pages->sgl, &sg_iter, obj->pages->nents, in i915_gem_shmem_pread()
442 struct page *page = sg_page_iter_page(&sg_iter); in i915_gem_shmem_pread()
728 struct sg_page_iter sg_iter; in i915_gem_shmem_pwrite() local
763 for_each_sg_page(obj->pages->sgl, &sg_iter, obj->pages->nents, in i915_gem_shmem_pwrite()
765 struct page *page = sg_page_iter_page(&sg_iter); in i915_gem_shmem_pwrite()
1625 struct sg_page_iter sg_iter; in i915_gem_object_put_pages_gtt() local
1646 for_each_sg_page(obj->pages->sgl, &sg_iter, obj->pages->nents, 0) { in i915_gem_object_put_pages_gtt()
1647 struct page *page = sg_page_iter_page(&sg_iter); in i915_gem_object_put_pages_gtt()
1748 struct sg_page_iter sg_iter; in i915_gem_object_get_pages_gtt() local
[all …]
Di915_drv.h1568 struct sg_page_iter sg_iter; in i915_gem_object_get_page() local
1570 for_each_sg_page(obj->pages->sgl, &sg_iter, obj->pages->nents, n) in i915_gem_object_get_page()
1571 return sg_page_iter_page(&sg_iter); in i915_gem_object_get_page()
/drivers/gpu/drm/
Ddrm_cache.c108 struct sg_page_iter sg_iter; in drm_clflush_sg() local
111 for_each_sg_page(st->sgl, &sg_iter, st->nents, 0) in drm_clflush_sg()
112 drm_clflush_page(sg_page_iter_page(&sg_iter)); in drm_clflush_sg()
/drivers/staging/android/ion/
Dion_test.c52 struct sg_page_iter sg_iter; in ion_handle_test_dma() local
66 for_each_sg_page(table->sgl, &sg_iter, table->nents, offset_page) { in ion_handle_test_dma()
67 struct page *page = sg_page_iter_page(&sg_iter); in ion_handle_test_dma()