Home
last modified time | relevance | path

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

123456

/linux/include/drm/
H A Ddrm_format_helper.h16 struct iosys_map;
73 void drm_fb_memcpy(struct iosys_map *dst, const unsigned int *dst_pitch,
74 const struct iosys_map *src, const struct drm_framebuffer *fb,
76 void drm_fb_swab(struct iosys_map *dst, const unsigned int *dst_pitch,
77 const struct iosys_map *src, const struct drm_framebuffer *fb,
80 void drm_fb_xrgb8888_to_rgb332(struct iosys_map *dst, const unsigned int *dst_pitch,
81 const struct iosys_map *src, const struct drm_framebuffer *fb,
83 void drm_fb_xrgb8888_to_rgb565(struct iosys_map *dst, const unsigned int *dst_pitch,
84 const struct iosys_map *src, const struct drm_framebuffer *fb,
86 void drm_fb_xrgb8888_to_rgb565be(struct iosys_map *dst, const unsigned int *dst_pitch,
[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.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_vram_helper.h53 struct iosys_map map;
97 int drm_gem_vram_vmap(struct drm_gem_vram_object *gbo, struct iosys_map *map);
99 struct iosys_map *map);
H A Ddrm_prime.h57 struct iosys_map;
89 int drm_gem_dmabuf_vmap(struct dma_buf *dma_buf, struct iosys_map *map);
90 void drm_gem_dmabuf_vunmap(struct dma_buf *dma_buf, struct iosys_map *map);
H A Ddrm_client.h190 struct iosys_map map;
203 struct iosys_map *map_copy);
206 struct iosys_map *map);
/linux/drivers/gpu/drm/
H A Ddrm_format_helper.c225 static int drm_fb_xfrm(struct iosys_map *dst, in drm_fb_xfrm()
227 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xfrm()
414 void drm_fb_memcpy(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_memcpy()
415 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_memcpy()
433 struct iosys_map dst_i = dst[i]; in drm_fb_memcpy()
434 struct iosys_map src_i = src[i]; in drm_fb_memcpy()
492 void drm_fb_swab(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_swab()
493 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_swab()
544 void drm_fb_xrgb8888_to_rgb332(struct iosys_map *dst, const unsigned int *dst_pitch, in drm_fb_xrgb8888_to_rgb332()
545 const struct iosys_map *src, const struct drm_framebuffer *fb, in drm_fb_xrgb8888_to_rgb332()
[all …]
H A Ddrm_cache.c211 static void memcpy_fallback(struct iosys_map *dst, in memcpy_fallback()
212 const struct iosys_map *src, in memcpy_fallback()
302 void drm_memcpy_from_wc(struct iosys_map *dst, in drm_memcpy_from_wc()
303 const struct iosys_map *src, in drm_memcpy_from_wc()
340 void drm_memcpy_from_wc(struct iosys_map *dst, in drm_memcpy_from_wc()
341 const struct iosys_map *src, in drm_memcpy_from_wc()
/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;
595 int dma_buf_vmap(struct dma_buf *dmabuf, struct iosys_map *map);
596 void dma_buf_vunmap(struct dma_buf *dmabuf, struct iosys_map *map);
597 int dma_buf_vmap_unlocked(struct dma_buf *dmabuf, struct iosys_map *map);
598 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_map.h23 static inline void xe_map_memcpy_to(struct xe_device *xe, struct iosys_map *dst, in xe_map_memcpy_to()
32 const struct iosys_map *src, in xe_map_memcpy_from()
40 struct iosys_map *dst, size_t offset, in xe_map_memset()
48 static inline u32 xe_map_read32(struct xe_device *xe, struct iosys_map *map) in xe_map_read32()
58 static inline void xe_map_write32(struct xe_device *xe, struct iosys_map *map, in xe_map_write32()
H A Dxe_memirq_types.h31 struct iosys_map source;
32 struct iosys_map status;
33 struct iosys_map mask;
H A Dxe_pxp_types.h57 struct iosys_map batch;
59 struct iosys_map msg_in;
61 struct iosys_map msg_out;
H A Dxe_guc_ads.c54 static struct iosys_map *
460 struct iosys_map *info_map) in fill_engine_enable_masks()
487 struct iosys_map info_map = IOSYS_MAP_INIT_OFFSET(ads_to_map(ads), in guc_golden_lrc_init()
529 struct iosys_map *info_map) in guc_mapping_table_init_invalid()
542 struct iosys_map *info_map) in guc_mapping_table_init()
560 static u32 guc_get_capture_engine_mask(struct xe_gt *gt, struct iosys_map *info_map, in guc_get_capture_engine_mask()
612 struct iosys_map info_map; in guc_capture_prep_lists()
705 struct iosys_map *regset_map, in guc_mmio_regset_write_one()
733 struct iosys_map *regset_map, in guc_mmio_regset_write()
783 struct iosys_map regset_map = IOSYS_MAP_INIT_OFFSET(ads_to_map(ads), in guc_mmio_reg_state_init()
[all …]
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/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/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/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/display/
H A Dintel_fbdev.h16 struct iosys_map;
26 void intel_fbdev_get_map(struct intel_fbdev *fbdev, struct iosys_map *map);
43 static inline void intel_fbdev_get_map(struct intel_fbdev *fbdev, struct iosys_map *map) in intel_fbdev_get_map()
H A Dintel_fb_pin.h15 struct iosys_map;
31 void intel_fb_get_map(struct i915_vma *vma, struct iosys_map *map);
/linux/drivers/gpu/drm/gud/
H A 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()
159 struct iosys_map dst; in gud_prep_flush()
274 const struct iosys_map *src, bool cached_reads, in gud_flush_rect()
325 const struct iosys_map *src, bool cached_reads, in gud_flush_damage()
368 struct iosys_map shadow_map; in gud_flush_work()
395 const struct iosys_map *src, struct drm_rect *damage) in gud_fb_queue_damage()
398 struct iosys_map shadow_map; in gud_fb_queue_damage()
436 const struct iosys_map *src, struct drm_rect *damage) in gud_fb_handle_damage()
/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()

123456