Lines Matching +full:sg +full:- +full:micro
2 * Copyright 2020 Advanced Micro Devices, Inc.
31 #include <linux/iosys-map.h>
32 #include <linux/dma-fence.h>
66 * If the manager can't fulfill the request -ENOSPC should be returned.
130 * type manager to aid debugging of out-of-memory conditions.
168 * Protected by the bdev->lru_lock.
174 * bdev->lru_lock.
260 * struct ttm_kmap_iter_iomap - Specialization for a struct io_mapping +
266 * sg_dma_address(st->sgl) - @start == 0 for @iomap start.
268 * @cache.sg: Pointer to the currently cached scatterlist segment.
269 * @cache.i: First index of @sg. PAGE_SIZE granularity.
270 * @cache.end: Last index + 1 of @sg. PAGE_SIZE granularity.
271 * @cache.offs: First offset into @iomap of @sg. PAGE_SIZE granularity.
279 struct scatterlist *sg; member
287 * struct ttm_kmap_iter_linear_io - Iterator specialization for linear io
313 WARN_ON(!list_empty(&man->lru[i])); in ttm_resource_manager_set_used()
314 man->use_type = used; in ttm_resource_manager_set_used()
328 return man->use_type; in ttm_resource_manager_used()
341 dma_fence_put(man->move); in ttm_resource_manager_cleanup()
342 man->move = NULL; in ttm_resource_manager_cleanup()
397 * ttm_resource_manager_for_each_res - iterate over all resources