Home
last modified time | relevance | path

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

1234

/linux-6.6.21/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_xrgb1555(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.h12 struct iosys_map;
20 struct iosys_map *map);
22 struct iosys_map *map);
Ddrm_gem_shmem_helper.h106 struct iosys_map *map);
108 struct iosys_map *map);
222 struct iosys_map *map) in drm_gem_shmem_object_vmap()
238 struct iosys_map *map) in drm_gem_shmem_object_vunmap()
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.h44 struct iosys_map;
163 int (*vmap)(struct drm_gem_object *obj, struct iosys_map *map);
173 void (*vunmap)(struct drm_gem_object *obj, struct iosys_map *map);
521 int drm_gem_vmap_unlocked(struct drm_gem_object *obj, struct iosys_map *map);
522 void drm_gem_vunmap_unlocked(struct drm_gem_object *obj, struct iosys_map *map);
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);
/linux-6.6.21/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);
341 struct iosys_map vmap_ptr;
630 int dma_buf_vmap(struct dma_buf *dmabuf, struct iosys_map *map);
631 void dma_buf_vunmap(struct dma_buf *dmabuf, struct iosys_map *map);
632 int dma_buf_vmap_unlocked(struct dma_buf *dmabuf, struct iosys_map *map);
633 void dma_buf_vunmap_unlocked(struct dma_buf *dmabuf, struct iosys_map *map);
/linux-6.6.21/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()
/linux-6.6.21/include/soc/tegra/
Divc.h20 struct iosys_map map;
41 int tegra_ivc_read_get_next_frame(struct tegra_ivc *ivc, struct iosys_map *map);
61 int tegra_ivc_write_get_next_frame(struct tegra_ivc *ivc, struct iosys_map *map);
96 int tegra_ivc_init(struct tegra_ivc *ivc, struct device *peer, const struct iosys_map *rx,
97 dma_addr_t rx_phys, const struct iosys_map *tx, dma_addr_t tx_phys,
/linux-6.6.21/include/drm/ttm/
Dttm_kmap_iter.h11 struct iosys_map;
32 struct iosys_map *dmap, pgoff_t i);
42 struct iosys_map *dmap);
/linux-6.6.21/drivers/firmware/tegra/
Divc.c95 static inline bool tegra_ivc_empty(struct tegra_ivc *ivc, struct iosys_map *map) in tegra_ivc_empty()
121 static inline bool tegra_ivc_full(struct tegra_ivc *ivc, struct iosys_map *map) in tegra_ivc_full()
133 static inline u32 tegra_ivc_available(struct tegra_ivc *ivc, struct iosys_map *map) in tegra_ivc_available()
226 static int tegra_ivc_frame_virt(struct tegra_ivc *ivc, const struct iosys_map *header, in tegra_ivc_frame_virt()
227 unsigned int frame, struct iosys_map *map) in tegra_ivc_frame_virt()
279 int tegra_ivc_read_get_next_frame(struct tegra_ivc *ivc, struct iosys_map *map) in tegra_ivc_read_get_next_frame()
343 int tegra_ivc_write_get_next_frame(struct tegra_ivc *ivc, struct iosys_map *map) in tegra_ivc_write_get_next_frame()
625 static inline void iosys_map_copy(struct iosys_map *dst, const struct iosys_map *src) in iosys_map_copy()
630 static inline unsigned long iosys_map_get_address(const struct iosys_map *map) in iosys_map_get_address()
638 static inline void *iosys_map_get_vaddr(const struct iosys_map *map) in iosys_map_get_vaddr()
[all …]
/linux-6.6.21/drivers/gpu/drm/xen/
Dxen_drm_front_gem.h15 struct iosys_map;
35 struct iosys_map *map);
38 struct iosys_map *map);
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dshmem_utils.h11 struct iosys_map;
22 struct iosys_map *map, size_t map_off, size_t len);
/linux-6.6.21/drivers/gpu/drm/tests/
Ddrm_format_helper_test.c514 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_gray8()
544 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_rgb332()
574 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_rgb565()
610 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_xrgb1555()
641 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_argb1555()
672 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_rgba5551()
703 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_rgb888()
737 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_argb8888()
768 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_xrgb2101010()
799 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_argb2101010()
[all …]
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/drivers/gpu/drm/msm/
Dmsm_gem_prime.c25 int msm_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map) in msm_gem_prime_vmap()
37 void msm_gem_prime_vunmap(struct drm_gem_object *obj, struct iosys_map *map) in msm_gem_prime_vunmap()
/linux-6.6.21/drivers/gpu/drm/gud/
Dgud_pipe.c60 struct iosys_map dst_map, vmap; in gud_xrgb8888_to_r124()
153 const struct iosys_map *src, bool cached_reads, in gud_prep_flush()
158 struct iosys_map dst; in gud_prep_flush()
268 const struct iosys_map *src, bool cached_reads, in gud_flush_rect()
318 const struct iosys_map *src, bool cached_reads, in gud_flush_damage()
358 struct iosys_map shadow_map; in gud_flush_work()
385 const struct iosys_map *src, struct drm_rect *damage) in gud_fb_queue_damage()
388 struct iosys_map shadow_map; in gud_fb_queue_damage()
426 const struct iosys_map *src, struct drm_rect *damage) in gud_fb_handle_damage()

1234