Lines Matching defs:obj

24 static dma_addr_t physaddr(struct drm_gem_object *obj)  in physaddr()
32 static bool use_pages(struct drm_gem_object *obj) in use_pages()
67 static struct page **get_pages_vram(struct drm_gem_object *obj, int npages) in get_pages_vram()
96 static struct page **get_pages(struct drm_gem_object *obj) in get_pages()
141 static void put_pages_vram(struct drm_gem_object *obj) in put_pages_vram()
153 static void put_pages(struct drm_gem_object *obj) in put_pages()
181 static struct page **msm_gem_pin_pages_locked(struct drm_gem_object *obj) in msm_gem_pin_pages_locked()
201 struct page **msm_gem_pin_pages(struct drm_gem_object *obj) in msm_gem_pin_pages()
212 void msm_gem_unpin_pages(struct drm_gem_object *obj) in msm_gem_unpin_pages()
229 struct drm_gem_object *obj = vma->vm_private_data; in msm_gem_fault() local
276 static uint64_t mmap_offset(struct drm_gem_object *obj) in mmap_offset()
294 uint64_t msm_gem_mmap_offset(struct drm_gem_object *obj) in msm_gem_mmap_offset()
304 static struct msm_gem_vma *add_vma(struct drm_gem_object *obj, in add_vma()
323 static struct msm_gem_vma *lookup_vma(struct drm_gem_object *obj, in lookup_vma()
355 put_iova_spaces(struct drm_gem_object *obj, bool close) in put_iova_spaces()
373 put_iova_vmas(struct drm_gem_object *obj) in put_iova_vmas()
385 static struct msm_gem_vma *get_vma_locked(struct drm_gem_object *obj, in get_vma_locked()
416 int msm_gem_pin_vma_locked(struct drm_gem_object *obj, struct msm_gem_vma *vma) in msm_gem_pin_vma_locked()
447 void msm_gem_unpin_locked(struct drm_gem_object *obj) in msm_gem_unpin_locked()
459 struct msm_gem_vma *msm_gem_get_vma_locked(struct drm_gem_object *obj, in msm_gem_get_vma_locked()
465 static int get_and_pin_iova_range_locked(struct drm_gem_object *obj, in get_and_pin_iova_range_locked()
489 int msm_gem_get_and_pin_iova_range(struct drm_gem_object *obj, in msm_gem_get_and_pin_iova_range()
503 int msm_gem_get_and_pin_iova(struct drm_gem_object *obj, in msm_gem_get_and_pin_iova()
513 int msm_gem_get_iova(struct drm_gem_object *obj, in msm_gem_get_iova()
531 static int clear_iova(struct drm_gem_object *obj, in clear_iova()
556 int msm_gem_set_iova(struct drm_gem_object *obj, in msm_gem_set_iova()
584 void msm_gem_unpin_iova(struct drm_gem_object *obj, in msm_gem_unpin_iova()
610 struct drm_gem_object *obj; in msm_gem_dumb_map_offset() local
628 static void *get_vaddr(struct drm_gem_object *obj, unsigned madv) in get_vaddr()
675 void *msm_gem_get_vaddr_locked(struct drm_gem_object *obj) in msm_gem_get_vaddr_locked()
680 void *msm_gem_get_vaddr(struct drm_gem_object *obj) in msm_gem_get_vaddr()
697 void *msm_gem_get_vaddr_active(struct drm_gem_object *obj) in msm_gem_get_vaddr_active()
702 void msm_gem_put_vaddr_locked(struct drm_gem_object *obj) in msm_gem_put_vaddr_locked()
712 void msm_gem_put_vaddr(struct drm_gem_object *obj) in msm_gem_put_vaddr()
722 int msm_gem_madvise(struct drm_gem_object *obj, unsigned madv) in msm_gem_madvise()
743 void msm_gem_purge(struct drm_gem_object *obj) in msm_gem_purge()
780 void msm_gem_evict(struct drm_gem_object *obj) in msm_gem_evict()
796 void msm_gem_vunmap(struct drm_gem_object *obj) in msm_gem_vunmap()
809 static void update_lru(struct drm_gem_object *obj) in update_lru()
832 bool msm_gem_active(struct drm_gem_object *obj) in msm_gem_active()
842 int msm_gem_cpu_prep(struct drm_gem_object *obj, uint32_t op, ktime_t *timeout) in msm_gem_cpu_prep()
861 int msm_gem_cpu_fini(struct drm_gem_object *obj) in msm_gem_cpu_fini()
868 void msm_gem_describe(struct drm_gem_object *obj, struct seq_file *m, in msm_gem_describe()
958 struct drm_gem_object *obj = &msm_obj->base; in msm_gem_describe_objects() local
977 static void msm_gem_free_object(struct drm_gem_object *obj) in msm_gem_free_object()
1011 static int msm_gem_object_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma) in msm_gem_object_mmap()
1026 struct drm_gem_object *obj; in msm_gem_new_handle() local
1064 struct drm_gem_object **obj) in msm_gem_new_impl()
1103 struct drm_gem_object *obj = NULL; in msm_gem_new() local
1186 struct drm_gem_object *obj; in msm_gem_import() local
1242 struct drm_gem_object *obj = msm_gem_new(dev, size, flags); in msm_gem_kernel_new() local