Searched refs:iter_io (Results 1 – 2 of 2) sorted by relevance
546 struct ttm_kmap_iter_iomap *iter_io = in ttm_kmap_iter_iomap_map_local() local547 container_of(iter, typeof(*iter_io), base); in ttm_kmap_iter_iomap_map_local()551 while (i >= iter_io->cache.end) { in ttm_kmap_iter_iomap_map_local()552 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()561 if (i < iter_io->cache.i) { in ttm_kmap_iter_iomap_map_local()[all …]
409 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,