Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/ttm/
H A Dttm_resource.c552 iter_io->cache.sg = iter_io->cache.sg ? in ttm_kmap_iter_iomap_map_local()
553 sg_next(iter_io->cache.sg) : iter_io->st->sgl; in ttm_kmap_iter_iomap_map_local()
554 iter_io->cache.i = iter_io->cache.end; in ttm_kmap_iter_iomap_map_local()
555 iter_io->cache.end += sg_dma_len(iter_io->cache.sg) >> in ttm_kmap_iter_iomap_map_local()
557 iter_io->cache.offs = sg_dma_address(iter_io->cache.sg) - in ttm_kmap_iter_iomap_map_local()
558 iter_io->start; in ttm_kmap_iter_iomap_map_local()
567 addr = io_mapping_map_local_wc(iter_io->iomap, iter_io->cache.offs + in ttm_kmap_iter_iomap_map_local()
604 iter_io->st = st; in ttm_kmap_iter_iomap_init()
606 memset(&iter_io->cache, 0, sizeof(iter_io->cache)); in ttm_kmap_iter_iomap_init()
672 memset(&iter_io->dmap, 0, sizeof(iter_io->dmap)); in ttm_kmap_iter_linear_io_init()
[all …]
/openbmc/linux/include/drm/ttm/
H A Dttm_resource.h409 ttm_kmap_iter_iomap_init(struct ttm_kmap_iter_iomap *iter_io,
417 ttm_kmap_iter_linear_io_init(struct ttm_kmap_iter_linear_io *iter_io,
421 void ttm_kmap_iter_linear_io_fini(struct ttm_kmap_iter_linear_io *iter_io,