Searched refs:iter_tt (Results 1 – 1 of 1) sorted by relevance
440 struct ttm_kmap_iter_tt *iter_tt = in ttm_kmap_iter_tt_map_local() local441 container_of(iter, typeof(*iter_tt), base); in ttm_kmap_iter_tt_map_local()443 dma_buf_map_set_vaddr(dmap, kmap_local_page_prot(iter_tt->tt->pages[i], in ttm_kmap_iter_tt_map_local()444 iter_tt->prot)); in ttm_kmap_iter_tt_map_local()467 ttm_kmap_iter_tt_init(struct ttm_kmap_iter_tt *iter_tt, in ttm_kmap_iter_tt_init() argument470 iter_tt->base.ops = &ttm_kmap_iter_tt_ops; in ttm_kmap_iter_tt_init()471 iter_tt->tt = tt; in ttm_kmap_iter_tt_init()473 iter_tt->prot = ttm_prot_from_caching(tt->caching, PAGE_KERNEL); in ttm_kmap_iter_tt_init()475 iter_tt->prot = PAGE_KERNEL; in ttm_kmap_iter_tt_init()477 return &iter_tt->base; in ttm_kmap_iter_tt_init()