Home
last modified time | relevance | path

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

123

/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()
281 static inline void iosys_map_memcpy_to(struct iosys_map *dst, size_t dst_offset, in iosys_map_memcpy_to()
[all …]
H A Ddma-buf.h278 int (*vmap)(struct dma_buf *dmabuf, struct iosys_map *map);
279 void (*vunmap)(struct dma_buf *dmabuf, struct iosys_map *map);
333 struct iosys_map vmap_ptr;
592 int dma_buf_vmap(struct dma_buf *dmabuf, struct iosys_map *map);
593 void dma_buf_vunmap(struct dma_buf *dmabuf, struct iosys_map *map);
594 int dma_buf_vmap_unlocked(struct dma_buf *dmabuf, struct iosys_map *map);
595 void dma_buf_vunmap_unlocked(struct dma_buf *dmabuf, struct iosys_map *map);
/linux/drivers/gpu/drm/xe/
H A Dxe_gsc_submit.h11 struct iosys_map;
15 u32 xe_gsc_emit_header(struct xe_device *xe, struct iosys_map *map, u32 offset,
17 void xe_gsc_poison_header(struct xe_device *xe, struct iosys_map *map, u32 offset);
20 struct iosys_map *in, u32 offset_in,
21 struct iosys_map *out, u32 offset_out);
24 struct iosys_map *map, u32 offset,
H A Dxe_gsc_types.h66 struct iosys_map to_gsc;
68 struct iosys_map from_gsc;
H A Dxe_migrate.h13 struct iosys_map;
56 struct xe_tile *tile, struct iosys_map *map,
74 struct xe_tile *tile, struct iosys_map *map,
/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,
/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);
/linux/include/drm/
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.h45 int drm_gem_fb_vmap(struct drm_framebuffer *fb, struct iosys_map *map,
46 struct iosys_map *data);
47 void drm_gem_fb_vunmap(struct drm_framebuffer *fb, struct iosys_map *map);
H A Ddrm_gem_atomic_helper.h70 struct iosys_map map[DRM_FORMAT_MAX_PLANES];
78 struct iosys_map data[DRM_FORMAT_MAX_PLANES];
H A Ddrm_gem_dma_helper.h42 struct iosys_map *map);
111 struct iosys_map *map) in drm_gem_dma_object_vmap()
/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 …]
/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);
/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);
/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()
/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_pin_and_vmap(struct qxl_bo *bo, struct iosys_map *map);
63 int qxl_bo_vmap_locked(struct qxl_bo *bo, struct iosys_map *map);
/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);
/linux/drivers/gpu/drm/sysfb/
H A Ddrm_sysfb_helper.h20 typedef void (*drm_sysfb_blit_func)(struct iosys_map *, const unsigned int *,
21 const struct iosys_map *,
82 struct iosys_map fb_addr;
/linux/drivers/gpu/drm/tests/
H A Ddrm_format_helper_test.c649 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_gray8()
682 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_rgb332()
715 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_rgb565()
764 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_xrgb1555()
805 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_argb1555()
846 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_rgba5551()
887 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_rgb888()
930 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_bgr888()
972 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_argb8888()
1013 struct iosys_map dst, src; in drm_test_fb_xrgb8888_to_xrgb2101010()
[all …]
/linux/drivers/gpu/drm/
H A Ddrm_fbdev_dma.c111 struct iosys_map *dst) in drm_fbdev_dma_damage_blit_real()
152 struct iosys_map dst; in drm_fbdev_dma_damage_blit()
207 struct iosys_map map = buffer->map; in drm_fbdev_dma_driver_fbdev_probe_tail()
276 struct iosys_map map; in drm_fbdev_dma_driver_fbdev_probe()
/linux/drivers/gpu/drm/xe/display/
H A Dxe_fb_pin.c25 write_dpt_rotated(struct xe_bo *bo, struct iosys_map *map, u32 *dpt_ofs, u32 bo_ofs, in write_dpt_rotated()
57 write_dpt_padding(struct iosys_map *map, unsigned int dest, unsigned int pad) in write_dpt_padding()
64 write_dpt_remapped_linear(struct xe_bo *bo, struct iosys_map *map, in write_dpt_remapped_linear()
87 write_dpt_remapped_tiled(struct xe_bo *bo, struct iosys_map *map, in write_dpt_remapped_tiled()
119 struct iosys_map *map) in write_dpt_remapped()
479 static void xe_fb_pin_get_map(struct i915_vma *vma, struct iosys_map *map) in xe_fb_pin_get_map()
/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-vmalloc.c311 struct iosys_map *map) in vb2_vmalloc_dmabuf_ops_vmap()
371 struct iosys_map map; in vb2_vmalloc_map_dmabuf()
385 struct iosys_map map = IOSYS_MAP_INIT_VADDR(buf->vaddr); in vb2_vmalloc_unmap_dmabuf()
394 struct iosys_map map = IOSYS_MAP_INIT_VADDR(buf->vaddr); in vb2_vmalloc_detach_dmabuf()
/linux/drivers/gpu/drm/vkms/
H A Dvkms_drv.h44 struct iosys_map map[DRM_FORMAT_MAX_PLANES];
89 struct iosys_map data[DRM_FORMAT_MAX_PLANES];

123