Searched refs:iter_tt (Results 1 – 2 of 2) sorted by relevance
431 struct ttm_kmap_iter_tt *iter_tt = in ttm_kmap_iter_tt_map_local() local432 container_of(iter, typeof(*iter_tt), base); in ttm_kmap_iter_tt_map_local()434 iosys_map_set_vaddr(dmap, kmap_local_page_prot(iter_tt->tt->pages[i], in ttm_kmap_iter_tt_map_local()435 iter_tt->prot)); in ttm_kmap_iter_tt_map_local()458 ttm_kmap_iter_tt_init(struct ttm_kmap_iter_tt *iter_tt, in ttm_kmap_iter_tt_init() argument461 iter_tt->base.ops = &ttm_kmap_iter_tt_ops; in ttm_kmap_iter_tt_init()462 iter_tt->tt = tt; in ttm_kmap_iter_tt_init()464 iter_tt->prot = ttm_prot_from_caching(tt->caching, PAGE_KERNEL); in ttm_kmap_iter_tt_init()466 iter_tt->prot = PAGE_KERNEL; in ttm_kmap_iter_tt_init()468 return &iter_tt->base; in ttm_kmap_iter_tt_init()
230 struct ttm_kmap_iter *ttm_kmap_iter_tt_init(struct ttm_kmap_iter_tt *iter_tt,