Home
last modified time | relevance | path

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

1234

/openbmc/linux/include/drm/
H A 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,
28 const struct iosys_map *src, const struct drm_framebuffer *fb,
34 const struct iosys_map *src, const struct drm_framebuffer *fb,
37 const struct iosys_map *src, const struct drm_framebuffer *fb,
40 const struct iosys_map *src, const struct drm_framebuffer *fb,
46 const struct iosys_map *src, const struct drm_framebuffer *fb,
[all …]
H A Ddrm_cache.h38 struct iosys_map;
85 void drm_memcpy_from_wc(struct iosys_map *dst,
86 const struct iosys_map *src,
H A Ddrm_gem_ttm_helper.h12 struct iosys_map;
20 struct iosys_map *map);
22 struct iosys_map *map);
H A 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);
H A 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()
H A 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);
H A 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);
H A 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);
H A Ddrm_gem_atomic_helper.h60 struct iosys_map map[DRM_FORMAT_MAX_PLANES];
68 struct iosys_map data[DRM_FORMAT_MAX_PLANES];
/openbmc/linux/include/linux/
H A 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()
323 static inline void iosys_map_incr(struct iosys_map *map, size_t incr) in iosys_map_incr()
[all …]
H A 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);
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_format_helper.c133 static int drm_fb_xfrm(struct iosys_map *dst, in drm_fb_xfrm()
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()
251 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_swab()
438 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_xrgb1555()
490 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_argb1555()
542 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgba5551()
670 const struct iosys_map *src, in drm_fb_xrgb8888_to_abgr8888()
700 const struct iosys_map *src, in drm_fb_xrgb8888_to_xbgr8888()
[all …]
H A 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()
/openbmc/linux/include/soc/tegra/
H A 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,
/openbmc/linux/include/drm/ttm/
H A Dttm_kmap_iter.h11 struct iosys_map;
32 struct iosys_map *dmap, pgoff_t i);
42 struct iosys_map *dmap);
/openbmc/linux/drivers/gpu/drm/xen/
H A Dxen_drm_front_gem.h15 struct iosys_map;
35 struct iosys_map *map);
38 struct iosys_map *map);
/openbmc/linux/drivers/firmware/tegra/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dshmem_utils.h11 struct iosys_map;
22 struct iosys_map *map, size_t map_off, size_t len);
/openbmc/linux/drivers/gpu/drm/mediatek/
H A Dmtk_drm_gem.h45 int mtk_drm_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map);
47 struct iosys_map *map);
/openbmc/linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_gem.h34 int rockchip_gem_prime_vmap(struct drm_gem_object *obj, struct iosys_map *map);
36 struct iosys_map *map);
/openbmc/linux/drivers/gpu/drm/qxl/
H A 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()
H A 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);
/openbmc/linux/drivers/gpu/drm/etnaviv/
H A 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()
/openbmc/linux/drivers/gpu/drm/msm/
H A 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()
/openbmc/linux/drivers/gpu/drm/tests/
H A 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 …]

1234