Lines Matching refs:ivpu_bo
14 struct ivpu_bo { struct
27 int ivpu_bo_pin(struct ivpu_bo *bo); argument
31 struct ivpu_bo *ivpu_bo_create(struct ivpu_device *vdev, struct ivpu_mmu_context *ctx,
33 struct ivpu_bo *ivpu_bo_create_global(struct ivpu_device *vdev, u64 size, u32 flags);
34 void ivpu_bo_free(struct ivpu_bo *bo);
43 static inline struct ivpu_bo *to_ivpu_bo(struct drm_gem_object *obj) in to_ivpu_bo()
45 return container_of(obj, struct ivpu_bo, base.base); in to_ivpu_bo()
48 static inline void *ivpu_bo_vaddr(struct ivpu_bo *bo) in ivpu_bo_vaddr()
53 static inline size_t ivpu_bo_size(struct ivpu_bo *bo) in ivpu_bo_size()
58 static inline u32 ivpu_bo_cache_mode(struct ivpu_bo *bo) in ivpu_bo_cache_mode()
63 static inline struct ivpu_device *ivpu_bo_to_vdev(struct ivpu_bo *bo) in ivpu_bo_to_vdev()
68 static inline bool ivpu_bo_is_snooped(struct ivpu_bo *bo) in ivpu_bo_is_snooped()
76 static inline void *ivpu_to_cpu_addr(struct ivpu_bo *bo, u32 vpu_addr) in ivpu_to_cpu_addr()
87 static inline u32 cpu_to_vpu_addr(struct ivpu_bo *bo, void *cpu_addr) in cpu_to_vpu_addr()