Lines Matching defs:ivpu_bo
15 struct ivpu_bo {
45 int (*alloc_pages)(struct ivpu_bo *bo);
46 void (*free_pages)(struct ivpu_bo *bo);
47 int (*map_pages)(struct ivpu_bo *bo);
48 void (*unmap_pages)(struct ivpu_bo *bo);
51 int ivpu_bo_pin(struct ivpu_bo *bo);
56 struct ivpu_bo *
58 void ivpu_bo_free_internal(struct ivpu_bo *bo);
60 void ivpu_bo_unmap_sgt_and_remove_from_context(struct ivpu_bo *bo);
66 static inline struct ivpu_bo *to_ivpu_bo(struct drm_gem_object *obj)
68 return container_of(obj, struct ivpu_bo, base);
71 static inline struct page *ivpu_bo_get_page(struct ivpu_bo *bo, u64 offset)
79 static inline u32 ivpu_bo_cache_mode(struct ivpu_bo *bo)
84 static inline bool ivpu_bo_is_snooped(struct ivpu_bo *bo)
89 static inline pgprot_t ivpu_bo_pgprot(struct ivpu_bo *bo, pgprot_t prot)
100 static inline struct ivpu_device *ivpu_bo_to_vdev(struct ivpu_bo *bo)
105 static inline void *ivpu_to_cpu_addr(struct ivpu_bo *bo, u32 vpu_addr)
116 static inline u32 cpu_to_vpu_addr(struct ivpu_bo *bo, void *cpu_addr)