Lines Matching defs:obj

25 static dma_addr_t physaddr(struct drm_gem_object *obj)  in physaddr()
33 static bool use_pages(struct drm_gem_object *obj) in use_pages()
56 static int msm_gem_open(struct drm_gem_object *obj, struct drm_file *file) in msm_gem_open()
62 static void msm_gem_close(struct drm_gem_object *obj, struct drm_file *file) in msm_gem_close()
95 static void update_lru_active(struct drm_gem_object *obj) in update_lru_active()
113 static void update_lru_locked(struct drm_gem_object *obj) in update_lru_locked()
129 static void update_lru(struct drm_gem_object *obj) in update_lru()
139 static struct page **get_pages_vram(struct drm_gem_object *obj, int npages) in get_pages_vram()
168 static struct page **get_pages(struct drm_gem_object *obj) in get_pages()
215 static void put_pages_vram(struct drm_gem_object *obj) in put_pages_vram()
227 static void put_pages(struct drm_gem_object *obj) in put_pages()
257 static struct page **msm_gem_get_pages_locked(struct drm_gem_object *obj, in msm_gem_get_pages_locked()
276 void msm_gem_pin_obj_locked(struct drm_gem_object *obj) in msm_gem_pin_obj_locked()
286 static void pin_obj_locked(struct drm_gem_object *obj) in pin_obj_locked()
295 struct page **msm_gem_pin_pages_locked(struct drm_gem_object *obj) in msm_gem_pin_pages_locked()
308 void msm_gem_unpin_pages_locked(struct drm_gem_object *obj) in msm_gem_unpin_pages_locked()
325 struct drm_gem_object *obj = vma->vm_private_data; in msm_gem_fault() local
372 static uint64_t mmap_offset(struct drm_gem_object *obj) in mmap_offset()
390 uint64_t msm_gem_mmap_offset(struct drm_gem_object *obj) in msm_gem_mmap_offset()
400 static struct msm_gem_vma *add_vma(struct drm_gem_object *obj, in add_vma()
417 static struct msm_gem_vma *lookup_vma(struct drm_gem_object *obj, in lookup_vma()
449 put_iova_spaces(struct drm_gem_object *obj, bool close) in put_iova_spaces()
467 put_iova_vmas(struct drm_gem_object *obj) in put_iova_vmas()
479 static struct msm_gem_vma *get_vma_locked(struct drm_gem_object *obj, in get_vma_locked()
510 int msm_gem_pin_vma_locked(struct drm_gem_object *obj, struct msm_gem_vma *vma) in msm_gem_pin_vma_locked()
534 void msm_gem_unpin_locked(struct drm_gem_object *obj) in msm_gem_unpin_locked()
554 void msm_gem_unpin_active(struct drm_gem_object *obj) in msm_gem_unpin_active()
563 struct msm_gem_vma *msm_gem_get_vma_locked(struct drm_gem_object *obj, in msm_gem_get_vma_locked()
569 static int get_and_pin_iova_range_locked(struct drm_gem_object *obj, in get_and_pin_iova_range_locked()
595 int msm_gem_get_and_pin_iova_range(struct drm_gem_object *obj, in msm_gem_get_and_pin_iova_range()
609 int msm_gem_get_and_pin_iova(struct drm_gem_object *obj, in msm_gem_get_and_pin_iova()
619 int msm_gem_get_iova(struct drm_gem_object *obj, in msm_gem_get_iova()
637 static int clear_iova(struct drm_gem_object *obj, in clear_iova()
659 int msm_gem_set_iova(struct drm_gem_object *obj, in msm_gem_set_iova()
687 void msm_gem_unpin_iova(struct drm_gem_object *obj, in msm_gem_unpin_iova()
712 struct drm_gem_object *obj; in msm_gem_dumb_map_offset() local
730 static void *get_vaddr(struct drm_gem_object *obj, unsigned madv) in get_vaddr()
772 void *msm_gem_get_vaddr_locked(struct drm_gem_object *obj) in msm_gem_get_vaddr_locked()
777 void *msm_gem_get_vaddr(struct drm_gem_object *obj) in msm_gem_get_vaddr()
794 void *msm_gem_get_vaddr_active(struct drm_gem_object *obj) in msm_gem_get_vaddr_active()
799 void msm_gem_put_vaddr_locked(struct drm_gem_object *obj) in msm_gem_put_vaddr_locked()
810 void msm_gem_put_vaddr(struct drm_gem_object *obj) in msm_gem_put_vaddr()
820 int msm_gem_madvise(struct drm_gem_object *obj, unsigned madv) in msm_gem_madvise()
846 void msm_gem_purge(struct drm_gem_object *obj) in msm_gem_purge()
887 void msm_gem_evict(struct drm_gem_object *obj) in msm_gem_evict()
903 void msm_gem_vunmap(struct drm_gem_object *obj) in msm_gem_vunmap()
916 bool msm_gem_active(struct drm_gem_object *obj) in msm_gem_active()
926 int msm_gem_cpu_prep(struct drm_gem_object *obj, uint32_t op, ktime_t *timeout) in msm_gem_cpu_prep()
950 int msm_gem_cpu_fini(struct drm_gem_object *obj) in msm_gem_cpu_fini()
957 void msm_gem_describe(struct drm_gem_object *obj, struct seq_file *m, in msm_gem_describe()
1046 struct drm_gem_object *obj = &msm_obj->base; in msm_gem_describe_objects() local
1065 static void msm_gem_free_object(struct drm_gem_object *obj) in msm_gem_free_object()
1100 static int msm_gem_object_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma) in msm_gem_object_mmap()
1115 struct drm_gem_object *obj; in msm_gem_new_handle() local
1134 static enum drm_gem_object_status msm_gem_status(struct drm_gem_object *obj) in msm_gem_status()
1170 struct drm_gem_object **obj) in msm_gem_new_impl()
1209 struct drm_gem_object *obj = NULL; in msm_gem_new() local
1296 struct drm_gem_object *obj; in msm_gem_import() local
1356 struct drm_gem_object *obj = msm_gem_new(dev, size, flags); in msm_gem_kernel_new() local