Home
last modified time | relevance | path

Searched refs:iosys_map (Results 1 – 25 of 85) sorted by relevance

1234

/Linux-v6.1/include/drm/
Ddrm_format_helper.h16 struct iosys_map;
21 void drm_fb_memcpy(struct iosys_map *dst, const unsigned int *dst_pitch,
22 const struct iosys_map *src, const struct drm_framebuffer *fb,
24 void drm_fb_swab(struct iosys_map *dst, const unsigned int *dst_pitch,
25 const struct iosys_map *src, const struct drm_framebuffer *fb,
27 void drm_fb_xrgb8888_to_rgb332(struct iosys_map *dst, const unsigned int *dst_pitch,
28 const struct iosys_map *src, const struct drm_framebuffer *fb,
30 void drm_fb_xrgb8888_to_rgb565(struct iosys_map *dst, const unsigned int *dst_pitch,
31 const struct iosys_map *src, const struct drm_framebuffer *fb,
33 void drm_fb_xrgb8888_to_rgb888(struct iosys_map *dst, const unsigned int *dst_pitch,
[all …]
Ddrm_cache.h38 struct iosys_map;
85 void drm_memcpy_from_wc(struct iosys_map *dst,
86 const struct iosys_map *src,
Ddrm_gem_ttm_helper.h13 struct iosys_map;
21 struct iosys_map *map);
23 struct iosys_map *map);
Ddrm_gem_framebuffer_helper.h40 int drm_gem_fb_vmap(struct drm_framebuffer *fb, struct iosys_map *map,
41 struct iosys_map *data);
42 void drm_gem_fb_vunmap(struct drm_framebuffer *fb, struct iosys_map *map);
Ddrm_gem_shmem_helper.h117 struct iosys_map *map);
119 struct iosys_map *map);
234 struct iosys_map *map) in drm_gem_shmem_object_vmap()
250 struct iosys_map *map) in drm_gem_shmem_object_vunmap()
Ddrm_prime.h57 struct iosys_map;
86 int drm_gem_dmabuf_vmap(struct dma_buf *dma_buf, struct iosys_map *map);
87 void drm_gem_dmabuf_vunmap(struct dma_buf *dma_buf, struct iosys_map *map);
Ddrm_gem_vram_helper.h54 struct iosys_map map;
100 int drm_gem_vram_vmap(struct drm_gem_vram_object *gbo, struct iosys_map *map);
102 struct iosys_map *map);
Ddrm_gem.h42 struct iosys_map;
142 int (*vmap)(struct drm_gem_object *obj, struct iosys_map *map);
152 void (*vunmap)(struct drm_gem_object *obj, struct iosys_map *map);
Ddrm_gem_atomic_helper.h62 struct iosys_map map[DRM_FORMAT_MAX_PLANES];
70 struct iosys_map data[DRM_FORMAT_MAX_PLANES];
/Linux-v6.1/include/linux/
Diosys-map.h109 struct iosys_map { struct
171 struct iosys_map copy = *map_; \
183 static inline void iosys_map_set_vaddr(struct iosys_map *map, void *vaddr) in iosys_map_set_vaddr()
196 static inline void iosys_map_set_vaddr_iomem(struct iosys_map *map, in iosys_map_set_vaddr_iomem()
214 static inline bool iosys_map_is_equal(const struct iosys_map *lhs, in iosys_map_is_equal()
215 const struct iosys_map *rhs) in iosys_map_is_equal()
235 static inline bool iosys_map_is_null(const struct iosys_map *map) in iosys_map_is_null()
252 static inline bool iosys_map_is_set(const struct iosys_map *map) in iosys_map_is_set()
265 static inline void iosys_map_clear(struct iosys_map *map) in iosys_map_clear()
286 static inline void iosys_map_memcpy_to(struct iosys_map *dst, size_t dst_offset, in iosys_map_memcpy_to()
[all …]
Ddma-buf.h286 int (*vmap)(struct dma_buf *dmabuf, struct iosys_map *map);
287 void (*vunmap)(struct dma_buf *dmabuf, struct iosys_map *map);
350 struct iosys_map vmap_ptr;
633 int dma_buf_vmap(struct dma_buf *dmabuf, struct iosys_map *map);
634 void dma_buf_vunmap(struct dma_buf *dmabuf, struct iosys_map *map);
/Linux-v6.1/drivers/gpu/drm/
Ddrm_format_helper.c133 static int drm_fb_xfrm(struct iosys_map *dst, in drm_fb_xfrm()
135 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xfrm()
173 void drm_fb_memcpy(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_memcpy()
174 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_memcpy()
192 struct iosys_map dst_i = dst[i]; in drm_fb_memcpy()
193 struct iosys_map src_i = src[i]; in drm_fb_memcpy()
250 void drm_fb_swab(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_swab()
251 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_swab()
310 void drm_fb_xrgb8888_to_rgb332(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_xrgb8888_to_rgb332()
311 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgb332()
[all …]
Ddrm_cache.c214 static void memcpy_fallback(struct iosys_map *dst, in memcpy_fallback()
215 const struct iosys_map *src, in memcpy_fallback()
305 void drm_memcpy_from_wc(struct iosys_map *dst, in drm_memcpy_from_wc()
306 const struct iosys_map *src, in drm_memcpy_from_wc()
343 void drm_memcpy_from_wc(struct iosys_map *dst, in drm_memcpy_from_wc()
344 const struct iosys_map *src, in drm_memcpy_from_wc()
Ddrm_gem_ttm_helper.c64 struct iosys_map *map) in drm_gem_ttm_vmap()
86 struct iosys_map *map) in drm_gem_ttm_vunmap()
/Linux-v6.1/include/drm/ttm/
Dttm_kmap_iter.h11 struct iosys_map;
32 struct iosys_map *dmap, pgoff_t i);
42 struct iosys_map *dmap);
Dttm_bo_api.h50 struct iosys_map;
391 int ttm_bo_vmap(struct ttm_buffer_object *bo, struct iosys_map *map);
401 void ttm_bo_vunmap(struct ttm_buffer_object *bo, struct iosys_map *map);
/Linux-v6.1/drivers/gpu/drm/xen/
Dxen_drm_front_gem.h15 struct iosys_map;
35 struct iosys_map *map);
38 struct iosys_map *map);
/Linux-v6.1/drivers/gpu/drm/i915/gt/
Dshmem_utils.h11 struct iosys_map;
22 struct iosys_map *map, size_t map_off, size_t len);
/Linux-v6.1/drivers/gpu/drm/mediatek/
Dmtk_drm_gem.h45 int mtk_drm_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map);
47 struct iosys_map *map);
/Linux-v6.1/drivers/gpu/drm/etnaviv/
Detnaviv_gem_prime.c28 int etnaviv_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map) in etnaviv_gem_prime_vmap()
65 struct iosys_map map = IOSYS_MAP_INIT_VADDR(etnaviv_obj->vaddr); in etnaviv_gem_prime_release()
80 struct iosys_map map; in etnaviv_gem_prime_vmap_impl()
/Linux-v6.1/drivers/gpu/drm/qxl/
Dqxl_prime.c57 int qxl_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map) in qxl_gem_prime_vmap()
70 struct iosys_map *map) in qxl_gem_prime_vunmap()
Dqxl_object.h62 int qxl_bo_vmap(struct qxl_bo *bo, struct iosys_map *map);
63 int qxl_bo_vmap_locked(struct qxl_bo *bo, struct iosys_map *map);
/Linux-v6.1/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.h34 int rockchip_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map);
36 struct iosys_map *map);
/Linux-v6.1/drivers/gpu/drm/msm/
Dmsm_gem_prime.c40 int msm_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map) in msm_gem_prime_vmap()
52 void msm_gem_prime_vunmap(struct drm_gem_object *obj, struct iosys_map *map) in msm_gem_prime_vunmap()
/Linux-v6.1/drivers/gpu/drm/tests/
Ddrm_format_helper_test.c298 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_gray8()
328 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_rgb332()
358 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_rgb565()
391 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_rgb888()
421 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_xrgb2101010()

1234