Home
last modified time | relevance | path

Searched refs:iter_tt (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/gpu/drm/ttm/
H A Dttm_tt.c425 struct ttm_kmap_iter_tt *iter_tt = in ttm_kmap_iter_tt_map_local() local
426 container_of(iter, typeof(*iter_tt), base); in ttm_kmap_iter_tt_map_local()
428 iosys_map_set_vaddr(dmap, kmap_local_page_prot(iter_tt->tt->pages[i], in ttm_kmap_iter_tt_map_local()
429 iter_tt->prot)); in ttm_kmap_iter_tt_map_local()
452 ttm_kmap_iter_tt_init(struct ttm_kmap_iter_tt *iter_tt, in ttm_kmap_iter_tt_init() argument
455 iter_tt->base.ops = &ttm_kmap_iter_tt_ops; in ttm_kmap_iter_tt_init()
456 iter_tt->tt = tt; in ttm_kmap_iter_tt_init()
458 iter_tt->prot = ttm_prot_from_caching(tt->caching, PAGE_KERNEL); in ttm_kmap_iter_tt_init()
460 iter_tt->prot = PAGE_KERNEL; in ttm_kmap_iter_tt_init()
462 return &iter_tt->base; in ttm_kmap_iter_tt_init()
/openbmc/linux/include/drm/ttm/
H A Dttm_tt.h230 struct ttm_kmap_iter *ttm_kmap_iter_tt_init(struct ttm_kmap_iter_tt *iter_tt,