/linux/include/linux/ |
A D | dma-buf-map.h | 115 struct dma_buf_map { struct 140 static inline void dma_buf_map_set_vaddr(struct dma_buf_map *map, void *vaddr) in dma_buf_map_set_vaddr() 153 static inline void dma_buf_map_set_vaddr_iomem(struct dma_buf_map *map, in dma_buf_map_set_vaddr_iomem() 171 static inline bool dma_buf_map_is_equal(const struct dma_buf_map *lhs, in dma_buf_map_is_equal() 172 const struct dma_buf_map *rhs) in dma_buf_map_is_equal() 192 static inline bool dma_buf_map_is_null(const struct dma_buf_map *map) in dma_buf_map_is_null() 209 static inline bool dma_buf_map_is_set(const struct dma_buf_map *map) in dma_buf_map_is_set() 222 static inline void dma_buf_map_clear(struct dma_buf_map *map) in dma_buf_map_clear() 242 static inline void dma_buf_map_memcpy_to(struct dma_buf_map *dst, const void *src, size_t len) in dma_buf_map_memcpy_to() 258 static inline void dma_buf_map_incr(struct dma_buf_map *map, size_t incr) in dma_buf_map_incr()
|
A D | dma-buf.h | 286 int (*vmap)(struct dma_buf *dmabuf, struct dma_buf_map *map); 287 void (*vunmap)(struct dma_buf *dmabuf, struct dma_buf_map *map); 350 struct dma_buf_map vmap_ptr; 631 int dma_buf_vmap(struct dma_buf *dmabuf, struct dma_buf_map *map); 632 void dma_buf_vunmap(struct dma_buf *dmabuf, struct dma_buf_map *map);
|
/linux/drivers/gpu/drm/ |
A D | drm_cache.c | 217 static void memcpy_fallback(struct dma_buf_map *dst, in memcpy_fallback() 218 const struct dma_buf_map *src, in memcpy_fallback() 308 void drm_memcpy_from_wc(struct dma_buf_map *dst, in drm_memcpy_from_wc() 309 const struct dma_buf_map *src, in drm_memcpy_from_wc() 346 void drm_memcpy_from_wc(struct dma_buf_map *dst, in drm_memcpy_from_wc() 347 const struct dma_buf_map *src, in drm_memcpy_from_wc()
|
A D | drm_gem_ttm_helper.c | 64 struct dma_buf_map *map) in drm_gem_ttm_vmap() 81 struct dma_buf_map *map) in drm_gem_ttm_vunmap()
|
A D | drm_gem_vram_helper.c | 368 struct dma_buf_map *map) in drm_gem_vram_kmap_locked() 394 struct dma_buf_map *map) in drm_gem_vram_kunmap_locked() 431 int drm_gem_vram_vmap(struct drm_gem_vram_object *gbo, struct dma_buf_map *map) in drm_gem_vram_vmap() 466 void drm_gem_vram_vunmap(struct drm_gem_vram_object *gbo, struct dma_buf_map *map) in drm_gem_vram_vunmap() 805 static int drm_gem_vram_object_vmap(struct drm_gem_object *gem, struct dma_buf_map *map) in drm_gem_vram_object_vmap() 818 static void drm_gem_vram_object_vunmap(struct drm_gem_object *gem, struct dma_buf_map *map) in drm_gem_vram_object_vunmap()
|
/linux/include/drm/ttm/ |
A D | ttm_kmap_iter.h | 11 struct dma_buf_map; 32 struct dma_buf_map *dmap, pgoff_t i); 42 struct dma_buf_map *dmap);
|
A D | ttm_bo_api.h | 51 struct dma_buf_map; 495 int ttm_bo_vmap(struct ttm_buffer_object *bo, struct dma_buf_map *map); 505 void ttm_bo_vunmap(struct ttm_buffer_object *bo, struct dma_buf_map *map);
|
/linux/include/drm/ |
A D | drm_cache.h | 38 struct dma_buf_map; 77 void drm_memcpy_from_wc(struct dma_buf_map *dst, 78 const struct dma_buf_map *src,
|
A D | drm_gem_ttm_helper.h | 13 struct dma_buf_map; 21 struct dma_buf_map *map); 23 struct dma_buf_map *map);
|
A D | drm_gem_framebuffer_helper.h | 43 struct dma_buf_map map[static DRM_FORMAT_MAX_PLANES], 44 struct dma_buf_map data[DRM_FORMAT_MAX_PLANES]); 46 struct dma_buf_map map[static DRM_FORMAT_MAX_PLANES]);
|
A D | drm_prime.h | 57 struct dma_buf_map; 86 int drm_gem_dmabuf_vmap(struct dma_buf *dma_buf, struct dma_buf_map *map); 87 void drm_gem_dmabuf_vunmap(struct dma_buf *dma_buf, struct dma_buf_map *map);
|
A D | drm_gem_vram_helper.h | 54 struct dma_buf_map map; 100 int drm_gem_vram_vmap(struct drm_gem_vram_object *gbo, struct dma_buf_map *map); 101 void drm_gem_vram_vunmap(struct drm_gem_vram_object *gbo, struct dma_buf_map *map);
|
A D | drm_gem.h | 42 struct dma_buf_map; 142 int (*vmap)(struct drm_gem_object *obj, struct dma_buf_map *map); 152 void (*vunmap)(struct drm_gem_object *obj, struct dma_buf_map *map);
|
A D | drm_gem_atomic_helper.h | 44 struct dma_buf_map map[DRM_FORMAT_MAX_PLANES]; 52 struct dma_buf_map data[DRM_FORMAT_MAX_PLANES];
|
A D | drm_gem_shmem_helper.h | 116 int drm_gem_shmem_vmap(struct drm_gem_object *obj, struct dma_buf_map *map); 117 void drm_gem_shmem_vunmap(struct drm_gem_object *obj, struct dma_buf_map *map);
|
A D | drm_client.h | 147 struct dma_buf_map map; 159 int drm_client_buffer_vmap(struct drm_client_buffer *buffer, struct dma_buf_map *map);
|
/linux/drivers/gpu/drm/xen/ |
A D | xen_drm_front_gem.h | 15 struct dma_buf_map; 39 struct dma_buf_map *map); 42 struct dma_buf_map *map);
|
/linux/drivers/gpu/drm/vkms/ |
A D | vkms_drv.h | 24 struct dma_buf_map map[DRM_FORMAT_MAX_PLANES]; 25 struct dma_buf_map data[DRM_FORMAT_MAX_PLANES]; 31 struct dma_buf_map map[4];
|
/linux/drivers/gpu/drm/etnaviv/ |
A D | etnaviv_gem_prime.c | 28 int etnaviv_gem_prime_vmap(struct drm_gem_object *obj, struct dma_buf_map *map) in etnaviv_gem_prime_vmap() 65 struct dma_buf_map map = DMA_BUF_MAP_INIT_VADDR(etnaviv_obj->vaddr); in etnaviv_gem_prime_release() 80 struct dma_buf_map map; in etnaviv_gem_prime_vmap_impl()
|
/linux/drivers/gpu/drm/mediatek/ |
A D | mtk_drm_gem.h | 45 int mtk_drm_gem_prime_vmap(struct drm_gem_object *obj, struct dma_buf_map *map); 46 void mtk_drm_gem_prime_vunmap(struct drm_gem_object *obj, struct dma_buf_map *map);
|
/linux/drivers/gpu/drm/qxl/ |
A D | qxl_prime.c | 57 int qxl_gem_prime_vmap(struct drm_gem_object *obj, struct dma_buf_map *map) in qxl_gem_prime_vmap() 70 struct dma_buf_map *map) in qxl_gem_prime_vunmap()
|
A D | qxl_object.h | 62 int qxl_bo_vmap(struct qxl_bo *bo, struct dma_buf_map *map); 63 int qxl_bo_vmap_locked(struct qxl_bo *bo, struct dma_buf_map *map);
|
/linux/drivers/gpu/drm/msm/ |
A D | msm_gem_prime.c | 25 int msm_gem_prime_vmap(struct drm_gem_object *obj, struct dma_buf_map *map) in msm_gem_prime_vmap() 37 void msm_gem_prime_vunmap(struct drm_gem_object *obj, struct dma_buf_map *map) in msm_gem_prime_vunmap()
|
/linux/drivers/gpu/drm/rockchip/ |
A D | rockchip_drm_gem.h | 34 int rockchip_gem_prime_vmap(struct drm_gem_object *obj, struct dma_buf_map *map); 35 void rockchip_gem_prime_vunmap(struct drm_gem_object *obj, struct dma_buf_map *map);
|
/linux/drivers/media/common/videobuf2/ |
A D | videobuf2-vmalloc.c | 315 static int vb2_vmalloc_dmabuf_ops_vmap(struct dma_buf *dbuf, struct dma_buf_map *map) in vb2_vmalloc_dmabuf_ops_vmap() 375 struct dma_buf_map map; in vb2_vmalloc_map_dmabuf() 389 struct dma_buf_map map = DMA_BUF_MAP_INIT_VADDR(buf->vaddr); in vb2_vmalloc_unmap_dmabuf() 398 struct dma_buf_map map = DMA_BUF_MAP_INIT_VADDR(buf->vaddr); in vb2_vmalloc_detach_dmabuf()
|