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()
180 struct page **msm_gem_get_pages(struct drm_gem_object *obj) in msm_gem_get_pages()
203 void msm_gem_put_pages(struct drm_gem_object *obj) in msm_gem_put_pages()
224 struct drm_gem_object *obj = vma->vm_private_data; in msm_gem_fault() local
270 static uint64_t mmap_offset(struct drm_gem_object *obj) in mmap_offset()
288 uint64_t msm_gem_mmap_offset(struct drm_gem_object *obj) in msm_gem_mmap_offset()
298 static struct msm_gem_vma *add_vma(struct drm_gem_object *obj, in add_vma()
317 static struct msm_gem_vma *lookup_vma(struct drm_gem_object *obj, in lookup_vma()
349 put_iova_spaces(struct drm_gem_object *obj, bool close) in put_iova_spaces()
367 put_iova_vmas(struct drm_gem_object *obj) in put_iova_vmas()
379 static int get_iova_locked(struct drm_gem_object *obj, in get_iova_locked()
407 static int msm_gem_pin_iova(struct drm_gem_object *obj, in msm_gem_pin_iova()
446 static int get_and_pin_iova_range_locked(struct drm_gem_object *obj, in get_and_pin_iova_range_locked()
471 int msm_gem_get_and_pin_iova_range(struct drm_gem_object *obj, in msm_gem_get_and_pin_iova_range()
484 int msm_gem_get_and_pin_iova_locked(struct drm_gem_object *obj, in msm_gem_get_and_pin_iova_locked()
491 int msm_gem_get_and_pin_iova(struct drm_gem_object *obj, in msm_gem_get_and_pin_iova()
501 int msm_gem_get_iova(struct drm_gem_object *obj, in msm_gem_get_iova()
516 uint64_t msm_gem_iova(struct drm_gem_object *obj, in msm_gem_iova()
532 void msm_gem_unpin_iova_locked(struct drm_gem_object *obj, in msm_gem_unpin_iova_locked()
557 void msm_gem_unpin_iova(struct drm_gem_object *obj, in msm_gem_unpin_iova()
577 struct drm_gem_object *obj; in msm_gem_dumb_map_offset() local
595 static void *get_vaddr(struct drm_gem_object *obj, unsigned madv) in get_vaddr()
642 void *msm_gem_get_vaddr_locked(struct drm_gem_object *obj) in msm_gem_get_vaddr_locked()
647 void *msm_gem_get_vaddr(struct drm_gem_object *obj) in msm_gem_get_vaddr()
664 void *msm_gem_get_vaddr_active(struct drm_gem_object *obj) in msm_gem_get_vaddr_active()
669 void msm_gem_put_vaddr_locked(struct drm_gem_object *obj) in msm_gem_put_vaddr_locked()
679 void msm_gem_put_vaddr(struct drm_gem_object *obj) in msm_gem_put_vaddr()
689 int msm_gem_madvise(struct drm_gem_object *obj, unsigned madv) in msm_gem_madvise()
711 void msm_gem_purge(struct drm_gem_object *obj) in msm_gem_purge()
749 void msm_gem_evict(struct drm_gem_object *obj) in msm_gem_evict()
769 void msm_gem_vunmap(struct drm_gem_object *obj) in msm_gem_vunmap()
782 void msm_gem_active_get(struct drm_gem_object *obj, struct msm_gpu *gpu) in msm_gem_active_get()
801 void msm_gem_active_put(struct drm_gem_object *obj) in msm_gem_active_put()
844 int msm_gem_cpu_prep(struct drm_gem_object *obj, uint32_t op, ktime_t *timeout) in msm_gem_cpu_prep()
862 int msm_gem_cpu_fini(struct drm_gem_object *obj) in msm_gem_cpu_fini()
879 void msm_gem_describe(struct drm_gem_object *obj, struct seq_file *m, in msm_gem_describe()
985 struct drm_gem_object *obj = &msm_obj->base; in msm_gem_describe_objects() local
1004 void msm_gem_free_object(struct drm_gem_object *obj) in msm_gem_free_object()
1055 static int msm_gem_object_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma) in msm_gem_object_mmap()
1070 struct drm_gem_object *obj; in msm_gem_new_handle() local
1108 struct drm_gem_object **obj) in msm_gem_new_impl()
1148 struct drm_gem_object *obj = NULL; in msm_gem_new() local
1240 struct drm_gem_object *obj; in msm_gem_import() local
1298 struct drm_gem_object *obj = msm_gem_new(dev, size, flags); in msm_gem_kernel_new() local