Home
last modified time | relevance | path

Searched defs:bo (Results 1 – 25 of 191) sorted by relevance

12345678

/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/
Dhmm_bo.c58 static int __bo_init(struct hmm_bo_device *bdev, struct hmm_buffer_object *bo, in __bo_init()
143 struct hmm_buffer_object *bo; in __bo_search_by_addr() local
168 struct hmm_buffer_object *bo; in __bo_search_by_addr_in_range() local
190 struct hmm_buffer_object *bo) in __bo_insert_to_free_rbtree()
223 struct hmm_buffer_object *bo) in __bo_insert_to_alloc_rbtree()
248 struct hmm_buffer_object *bo, in __bo_break_up()
279 static void __bo_take_off_handling(struct hmm_buffer_object *bo) in __bo_take_off_handling()
320 static struct hmm_buffer_object *__bo_merge(struct hmm_buffer_object *bo, in __bo_merge()
347 struct hmm_buffer_object *bo; in hmm_bo_device_init() local
407 struct hmm_buffer_object *bo, *new_bo; in hmm_bo_alloc() local
[all …]
Dhmm.c58 struct hmm_buffer_object *bo; in bo_show() local
229 struct hmm_buffer_object *bo; in hmm_alloc() local
287 struct hmm_buffer_object *bo; in hmm_free() local
310 static inline int hmm_check_bo(struct hmm_buffer_object *bo, unsigned int ptr) in hmm_check_bo()
338 struct hmm_buffer_object *bo; in load_and_flush_by_kmap() local
381 struct hmm_buffer_object *bo; in load_and_flush() local
438 struct hmm_buffer_object *bo; in hmm_store() local
531 struct hmm_buffer_object *bo; in hmm_set() local
592 struct hmm_buffer_object *bo; in hmm_virt_to_phys() local
610 struct hmm_buffer_object *bo; in hmm_mmap() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Dgem.c23 static void tegra_bo_put(struct host1x_bo *bo) in tegra_bo_put()
53 static struct sg_table *tegra_bo_pin(struct device *dev, struct host1x_bo *bo, in tegra_bo_pin()
132 static void *tegra_bo_mmap(struct host1x_bo *bo) in tegra_bo_mmap()
145 static void tegra_bo_munmap(struct host1x_bo *bo, void *addr) in tegra_bo_munmap()
157 static struct host1x_bo *tegra_bo_get(struct host1x_bo *bo) in tegra_bo_get()
175 static int tegra_bo_iommu_map(struct tegra_drm *tegra, struct tegra_bo *bo) in tegra_bo_iommu_map()
218 static int tegra_bo_iommu_unmap(struct tegra_drm *tegra, struct tegra_bo *bo) in tegra_bo_iommu_unmap()
236 struct tegra_bo *bo; in tegra_bo_alloc_object() local
263 static void tegra_bo_free(struct drm_device *drm, struct tegra_bo *bo) in tegra_bo_free()
275 static int tegra_bo_get_pages(struct drm_device *drm, struct tegra_bo *bo) in tegra_bo_get_pages()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_object.c32 struct qxl_bo *bo; in qxl_ttm_bo_destroy() local
47 bool qxl_ttm_bo_is_qxl_bo(struct ttm_buffer_object *bo) in qxl_ttm_bo_is_qxl_bo()
111 struct qxl_bo *bo; in qxl_bo_create() local
155 int qxl_bo_kmap(struct qxl_bo *bo, void **ptr) in qxl_bo_kmap()
177 struct qxl_bo *bo, int page_offset) in qxl_bo_kmap_atomic_page()
207 void qxl_bo_kunmap(struct qxl_bo *bo) in qxl_bo_kunmap()
219 struct qxl_bo *bo, void *pmap) in qxl_bo_kunmap_atomic_page()
231 void qxl_bo_unref(struct qxl_bo **bo) in qxl_bo_unref()
240 struct qxl_bo *qxl_bo_ref(struct qxl_bo *bo) in qxl_bo_ref()
246 static int __qxl_bo_pin(struct qxl_bo *bo) in __qxl_bo_pin()
[all …]
Dqxl_object.h30 static inline int qxl_bo_reserve(struct qxl_bo *bo) in qxl_bo_reserve()
46 static inline void qxl_bo_unreserve(struct qxl_bo *bo) in qxl_bo_unreserve()
51 static inline unsigned long qxl_bo_size(struct qxl_bo *bo) in qxl_bo_size()
56 static inline u64 qxl_bo_mmap_offset(struct qxl_bo *bo) in qxl_bo_mmap_offset()
61 static inline int qxl_bo_wait(struct qxl_bo *bo, u32 *mem_type, in qxl_bo_wait()
Dqxl_release.c164 struct qxl_bo *bo; in qxl_release_free_list() local
202 struct qxl_bo **bo, in qxl_release_bo_alloc()
210 int qxl_release_list_add(struct qxl_release *release, struct qxl_bo *bo) in qxl_release_list_add()
230 static int qxl_release_validate_bo(struct qxl_bo *bo) in qxl_release_validate_bo()
269 struct qxl_bo *bo = to_qxl_bo(entry->tv.bo); in qxl_release_reserve_list() local
297 struct qxl_bo *bo; in qxl_alloc_surface_release_reserved() local
325 struct qxl_bo *bo; in qxl_alloc_release_reserved() local
415 struct qxl_bo *bo = release->release_bo; in qxl_release_map() local
428 struct qxl_bo *bo = release->release_bo; in qxl_release_unmap() local
437 struct ttm_buffer_object *bo; in qxl_release_fence_buffer_objects() local
Dqxl_prime.c33 struct qxl_bo *bo = gem_to_qxl_bo(obj); in qxl_gem_prime_pin() local
40 struct qxl_bo *bo = gem_to_qxl_bo(obj); in qxl_gem_prime_unpin() local
59 struct qxl_bo *bo = gem_to_qxl_bo(obj); in qxl_gem_prime_vmap() local
72 struct qxl_bo *bo = gem_to_qxl_bo(obj); in qxl_gem_prime_vunmap() local
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_object.c53 static void radeon_update_memory_usage(struct radeon_bo *bo, in radeon_update_memory_usage()
77 struct radeon_bo *bo; in radeon_ttm_bo_destroy() local
94 bool radeon_ttm_bo_is_radeon_bo(struct ttm_buffer_object *bo) in radeon_ttm_bo_is_radeon_bo()
189 struct radeon_bo *bo; in radeon_bo_create() local
276 int radeon_bo_kmap(struct radeon_bo *bo, void **ptr) in radeon_bo_kmap()
299 void radeon_bo_kunmap(struct radeon_bo *bo) in radeon_bo_kunmap()
308 struct radeon_bo *radeon_bo_ref(struct radeon_bo *bo) in radeon_bo_ref()
317 void radeon_bo_unref(struct radeon_bo **bo) in radeon_bo_unref()
328 int radeon_bo_pin_restricted(struct radeon_bo *bo, u32 domain, u64 max_offset, in radeon_bo_pin_restricted()
389 int radeon_bo_pin(struct radeon_bo *bo, u32 domain, u64 *gpu_addr) in radeon_bo_pin()
[all …]
Dradeon_object.h64 static inline int radeon_bo_reserve(struct radeon_bo *bo, bool no_intr) in radeon_bo_reserve()
77 static inline void radeon_bo_unreserve(struct radeon_bo *bo) in radeon_bo_unreserve()
91 static inline u64 radeon_bo_gpu_offset(struct radeon_bo *bo) in radeon_bo_gpu_offset()
110 static inline unsigned long radeon_bo_size(struct radeon_bo *bo) in radeon_bo_size()
115 static inline unsigned radeon_bo_ngpu_pages(struct radeon_bo *bo) in radeon_bo_ngpu_pages()
120 static inline unsigned radeon_bo_gpu_page_alignment(struct radeon_bo *bo) in radeon_bo_gpu_page_alignment()
131 static inline u64 radeon_bo_mmap_offset(struct radeon_bo *bo) in radeon_bo_mmap_offset()
Dradeon_prime.c36 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_get_sg_table() local
44 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_vmap() local
57 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_vunmap() local
68 struct radeon_bo *bo; in radeon_gem_prime_import_sg_table() local
88 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_pin() local
116 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_unpin() local
133 struct radeon_bo *bo = gem_to_radeon_bo(gobj); in radeon_gem_prime_export() local
Dradeon_mn.c52 struct radeon_bo *bo = container_of(mn, struct radeon_bo, notifier); in radeon_mn_invalidate() local
95 int radeon_mn_register(struct radeon_bo *bo, unsigned long addr) in radeon_mn_register()
121 void radeon_mn_unregister(struct radeon_bo *bo) in radeon_mn_unregister()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c63 static void amdgpu_bo_subtract_pin_size(struct amdgpu_bo *bo) in amdgpu_bo_subtract_pin_size()
79 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_destroy() local
111 bool amdgpu_bo_is_amdgpu_bo(struct ttm_buffer_object *bo) in amdgpu_bo_is_amdgpu_bo()
428 void amdgpu_bo_free_kernel(struct amdgpu_bo **bo, u64 *gpu_addr, in amdgpu_bo_free_kernel()
533 struct amdgpu_bo *bo; in amdgpu_bo_do_create() local
636 struct amdgpu_bo *bo) in amdgpu_bo_create_shadow()
718 int amdgpu_bo_validate(struct amdgpu_bo *bo) in amdgpu_bo_validate()
779 int amdgpu_bo_kmap(struct amdgpu_bo *bo, void **ptr) in amdgpu_bo_kmap()
818 void *amdgpu_bo_kptr(struct amdgpu_bo *bo) in amdgpu_bo_kptr()
831 void amdgpu_bo_kunmap(struct amdgpu_bo *bo) in amdgpu_bo_kunmap()
[all …]
Damdgpu_dma_buf.c55 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_prime_vmap() local
75 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_prime_vunmap() local
94 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_gem_prime_mmap() local
180 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_attach() local
223 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_detach() local
240 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_pin() local
268 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_unpin() local
291 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_map() local
362 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_unmap() local
389 struct amdgpu_bo *bo = gem_to_amdgpu_bo(dma_buf->priv); in amdgpu_dma_buf_begin_cpu_access() local
[all …]
Damdgpu_mn.c67 struct amdgpu_bo *bo = container_of(mni, struct amdgpu_bo, notifier); in amdgpu_mn_invalidate_gfx() local
104 struct amdgpu_bo *bo = container_of(mni, struct amdgpu_bo, notifier); in amdgpu_mn_invalidate_hsa() local
133 int amdgpu_mn_register(struct amdgpu_bo *bo, unsigned long addr) in amdgpu_mn_register()
151 void amdgpu_mn_unregister(struct amdgpu_bo *bo) in amdgpu_mn_unregister()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_bo.c130 struct vc4_bo *bo = to_vc4_bo(gem_obj); in vc4_bo_set_label() local
162 static void vc4_bo_destroy(struct vc4_bo *bo) in vc4_bo_destroy()
181 static void vc4_bo_remove_from_cache(struct vc4_bo *bo) in vc4_bo_remove_from_cache()
237 struct vc4_bo *bo = list_last_entry(&vc4->bo_cache.time_list, in vc4_bo_cache_purge() local
245 void vc4_bo_add_to_purgeable_pool(struct vc4_bo *bo) in vc4_bo_add_to_purgeable_pool()
256 static void vc4_bo_remove_from_purgeable_pool_locked(struct vc4_bo *bo) in vc4_bo_remove_from_purgeable_pool_locked()
277 void vc4_bo_remove_from_purgeable_pool(struct vc4_bo *bo) in vc4_bo_remove_from_purgeable_pool()
288 struct vc4_bo *bo = to_vc4_bo(obj); in vc4_bo_purge() local
307 struct vc4_bo *bo = list_first_entry(&vc4->purgeable.list, in vc4_bo_userspace_cache_purge() local
354 struct vc4_bo *bo = NULL; in vc4_bo_get_from_cache() local
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_bo_vm.c45 static vm_fault_t ttm_bo_vm_fault_idle(struct ttm_buffer_object *bo, in ttm_bo_vm_fault_idle()
96 static unsigned long ttm_bo_io_mem_pfn(struct ttm_buffer_object *bo, in ttm_bo_io_mem_pfn()
128 vm_fault_t ttm_bo_vm_reserve(struct ttm_buffer_object *bo, in ttm_bo_vm_reserve()
179 struct ttm_buffer_object *bo, in ttm_bo_vm_insert_huge()
238 struct ttm_buffer_object *bo, in ttm_bo_vm_insert_huge()
272 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_fault_reserved() local
409 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_fault() local
429 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_open() local
439 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_close() local
446 static int ttm_bo_vm_access_kmap(struct ttm_buffer_object *bo, in ttm_bo_vm_access_kmap()
[all …]
Dttm_bo.c62 static void ttm_bo_default_destroy(struct ttm_buffer_object *bo) in ttm_bo_default_destroy()
67 static void ttm_bo_mem_space_debug(struct ttm_buffer_object *bo, in ttm_bo_mem_space_debug()
112 static void ttm_bo_add_mem_to_lru(struct ttm_buffer_object *bo, in ttm_bo_add_mem_to_lru()
134 static void ttm_bo_del_from_lru(struct ttm_buffer_object *bo) in ttm_bo_del_from_lru()
153 struct ttm_buffer_object *bo) in ttm_bo_bulk_move_set_pos()
160 void ttm_bo_move_to_lru_tail(struct ttm_buffer_object *bo, in ttm_bo_move_to_lru_tail()
235 static int ttm_bo_handle_move_mem(struct ttm_buffer_object *bo, in ttm_bo_handle_move_mem()
320 static void ttm_bo_cleanup_memtype_use(struct ttm_buffer_object *bo) in ttm_bo_cleanup_memtype_use()
329 static int ttm_bo_individualize_resv(struct ttm_buffer_object *bo) in ttm_bo_individualize_resv()
356 static void ttm_bo_flush_all_fences(struct ttm_buffer_object *bo) in ttm_bo_flush_all_fences()
[all …]
Dttm_bo_util.c45 struct ttm_buffer_object *bo; member
48 void ttm_bo_free_old_node(struct ttm_buffer_object *bo) in ttm_bo_free_old_node()
53 int ttm_bo_move_ttm(struct ttm_buffer_object *bo, in ttm_bo_move_ttm()
217 int ttm_bo_move_memcpy(struct ttm_buffer_object *bo, in ttm_bo_move_memcpy()
320 static void ttm_transfered_destroy(struct ttm_buffer_object *bo) in ttm_transfered_destroy()
344 static int ttm_buffer_object_transfer(struct ttm_buffer_object *bo, in ttm_buffer_object_transfer()
413 static int ttm_bo_ioremap(struct ttm_buffer_object *bo, in ttm_bo_ioremap()
435 static int ttm_bo_kmap_ttm(struct ttm_buffer_object *bo, in ttm_bo_kmap_ttm()
477 int ttm_bo_kmap(struct ttm_buffer_object *bo, in ttm_bo_kmap()
529 static int ttm_bo_wait_free_node(struct ttm_buffer_object *bo, in ttm_bo_wait_free_node()
[all …]
Dttm_execbuf_util.c40 struct ttm_buffer_object *bo = entry->bo; in ttm_eu_backoff_reservation_reverse() local
56 struct ttm_buffer_object *bo = entry->bo; in ttm_eu_backoff_reservation() local
94 struct ttm_buffer_object *bo = entry->bo; in ttm_eu_reserve_buffers() local
159 struct ttm_buffer_object *bo = entry->bo; in ttm_eu_fence_buffer_objects() local
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
Dlima_gem.c20 int lima_heap_alloc(struct lima_bo *bo, struct lima_vm *vm) in lima_heap_alloc()
109 struct lima_bo *bo; in lima_gem_create_handle() local
149 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_free_object() local
159 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_object_open() local
168 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_object_close() local
177 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_pin() local
187 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_vmap() local
197 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_mmap() local
220 struct lima_bo *bo; in lima_gem_create_object() local
237 struct lima_bo *bo; in lima_gem_get_info() local
[all …]
/kernel/linux/linux-5.10/crypto/
Daes_generic.c1147 #define f_rn(bo, bi, n, k) do { \ argument
1154 #define f_nround(bo, bi, k) do {\ argument
1162 #define f_rl(bo, bi, n, k) do { \ argument
1169 #define f_lround(bo, bi, k) do {\ argument
1217 #define i_rn(bo, bi, n, k) do { \ argument
1224 #define i_nround(bo, bi, k) do {\ argument
1232 #define i_rl(bo, bi, n, k) do { \ argument
1239 #define i_lround(bo, bi, k) do {\ argument
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/
Dpanfrost_gem.c19 struct panfrost_gem_object *bo = to_panfrost_bo(obj); in panfrost_gem_free_object() local
56 panfrost_gem_mapping_get(struct panfrost_gem_object *bo, in panfrost_gem_mapping_get()
106 void panfrost_gem_teardown_mappings_locked(struct panfrost_gem_object *bo) in panfrost_gem_teardown_mappings_locked()
119 struct panfrost_gem_object *bo = to_panfrost_bo(obj); in panfrost_gem_open() local
172 struct panfrost_gem_object *bo = to_panfrost_bo(obj); in panfrost_gem_close() local
238 struct panfrost_gem_object *bo; in panfrost_gem_create() local
261 struct panfrost_gem_object *bo; in panfrost_gem_prime_import_sg_table() local
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_bo.c56 vmw_buffer_object(struct ttm_buffer_object *bo) in vmw_buffer_object()
71 vmw_user_buffer_object(struct ttm_buffer_object *bo) in vmw_user_buffer_object()
95 struct ttm_buffer_object *bo = &buf->base; in vmw_bo_pin_in_placement() local
144 struct ttm_buffer_object *bo = &buf->base; in vmw_bo_pin_in_vram_or_gmr() local
219 struct ttm_buffer_object *bo = &buf->base; in vmw_bo_pin_in_start_of_vram() local
288 struct ttm_buffer_object *bo = &buf->base; in vmw_bo_unpin() local
315 void vmw_bo_get_guest_ptr(const struct ttm_buffer_object *bo, in vmw_bo_get_guest_ptr()
340 struct ttm_buffer_object *bo = &vbo->base; in vmw_bo_pin_reserved() local
391 struct ttm_buffer_object *bo = &vbo->base; in vmw_bo_map_and_cache() local
463 void vmw_bo_bo_free(struct ttm_buffer_object *bo) in vmw_bo_bo_free()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/v3d/
Dv3d_bo.c34 struct v3d_bo *bo = to_v3d_bo(obj); in v3d_free_object() local
69 struct v3d_bo *bo; in v3d_create_object() local
91 struct v3d_bo *bo = to_v3d_bo(obj); in v3d_bo_create_finish() local
129 struct v3d_bo *bo; in v3d_bo_create() local
173 struct v3d_bo *bo = NULL; in v3d_create_bo_ioctl() local
221 struct v3d_bo *bo; in v3d_get_bo_offset_ioctl() local
/kernel/linux/linux-5.10/drivers/gpu/drm/virtio/
Dvirtgpu_object.c65 void virtio_gpu_cleanup_object(struct virtio_gpu_object *bo) in virtio_gpu_cleanup_object()
92 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); in virtio_gpu_free_object() local
118 bool virtio_gpu_is_shmem(struct virtio_gpu_object *bo) in virtio_gpu_is_shmem()
140 struct virtio_gpu_object *bo, in virtio_gpu_object_shmem_init()
208 struct virtio_gpu_object *bo; in virtio_gpu_object_create() local

12345678