Home
last modified time | relevance | path

Searched refs:dma_buf_map (Results 1 – 25 of 70) sorted by relevance

123

/linux/include/linux/
A Ddma-buf-map.h115 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 Ddma-buf.h286 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 Ddrm_cache.c217 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 Ddrm_gem_ttm_helper.c64 struct dma_buf_map *map) in drm_gem_ttm_vmap()
81 struct dma_buf_map *map) in drm_gem_ttm_vunmap()
A Ddrm_gem_vram_helper.c368 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 Dttm_kmap_iter.h11 struct dma_buf_map;
32 struct dma_buf_map *dmap, pgoff_t i);
42 struct dma_buf_map *dmap);
A Dttm_bo_api.h51 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 Ddrm_cache.h38 struct dma_buf_map;
77 void drm_memcpy_from_wc(struct dma_buf_map *dst,
78 const struct dma_buf_map *src,
A Ddrm_gem_ttm_helper.h13 struct dma_buf_map;
21 struct dma_buf_map *map);
23 struct dma_buf_map *map);
A Ddrm_gem_framebuffer_helper.h43 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 Ddrm_prime.h57 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 Ddrm_gem_vram_helper.h54 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 Ddrm_gem.h42 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 Ddrm_gem_atomic_helper.h44 struct dma_buf_map map[DRM_FORMAT_MAX_PLANES];
52 struct dma_buf_map data[DRM_FORMAT_MAX_PLANES];
A Ddrm_gem_shmem_helper.h116 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 Ddrm_client.h147 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 Dxen_drm_front_gem.h15 struct dma_buf_map;
39 struct dma_buf_map *map);
42 struct dma_buf_map *map);
/linux/drivers/gpu/drm/vkms/
A Dvkms_drv.h24 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 Detnaviv_gem_prime.c28 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 Dmtk_drm_gem.h45 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 Dqxl_prime.c57 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 Dqxl_object.h62 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 Dmsm_gem_prime.c25 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 Drockchip_drm_gem.h34 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 Dvideobuf2-vmalloc.c315 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()

Completed in 31 milliseconds

123