Home
last modified time | relevance | path

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

123456789

/linux/drivers/staging/media/atomisp/pci/hmm/
A Dhmm_bo.c143 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
223 struct hmm_buffer_object *bo) in __bo_insert_to_alloc_rbtree()
248 struct hmm_buffer_object *bo, in __bo_break_up()
347 struct hmm_buffer_object *bo; in hmm_bo_device_init() local
514 struct hmm_buffer_object *bo; in hmm_bo_device_exit() local
567 struct hmm_buffer_object *bo; in hmm_bo_device_search_start() local
587 struct hmm_buffer_object *bo; in hmm_bo_device_search_in_range() local
608 struct hmm_buffer_object *bo; in hmm_bo_device_search_vmap_start() local
1327 struct hmm_buffer_object *bo = in hmm_bo_vm_open() local
[all …]
A 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
337 struct hmm_buffer_object *bo; in load_and_flush_by_kmap() local
380 struct hmm_buffer_object *bo; in load_and_flush() local
437 struct hmm_buffer_object *bo; in hmm_store() local
530 struct hmm_buffer_object *bo; in hmm_set() local
591 struct hmm_buffer_object *bo; in hmm_virt_to_phys() local
609 struct hmm_buffer_object *bo; in hmm_mmap() local
625 struct hmm_buffer_object *bo; in hmm_vmap() local
[all …]
/linux/drivers/gpu/drm/qxl/
A Dqxl_object.c37 struct qxl_bo *bo; in qxl_ttm_bo_destroy() local
115 struct qxl_bo *bo; in qxl_bo_create() local
207 struct qxl_bo *bo, int page_offset) in qxl_bo_kmap_atomic_page()
239 void qxl_bo_vunmap_locked(struct qxl_bo *bo) in qxl_bo_vunmap_locked()
252 int qxl_bo_vunmap(struct qxl_bo *bo) in qxl_bo_vunmap()
267 struct qxl_bo *bo, void *pmap) in qxl_bo_kunmap_atomic_page()
279 void qxl_bo_unref(struct qxl_bo **bo) in qxl_bo_unref()
294 static int __qxl_bo_pin(struct qxl_bo *bo) in __qxl_bo_pin()
323 int qxl_bo_pin(struct qxl_bo *bo) in qxl_bo_pin()
341 int qxl_bo_unpin(struct qxl_bo *bo) in qxl_bo_unpin()
[all …]
A Dqxl_release.c124 struct qxl_bo *bo; in qxl_release_free_list() local
163 struct qxl_bo **bo, in qxl_release_bo_alloc()
171 int qxl_release_list_add(struct qxl_release *release, struct qxl_bo *bo) in qxl_release_list_add()
191 static int qxl_release_validate_bo(struct qxl_bo *bo) in qxl_release_validate_bo()
230 struct qxl_bo *bo = to_qxl_bo(entry->tv.bo); in qxl_release_reserve_list() local
258 struct qxl_bo *bo; in qxl_alloc_surface_release_reserved() local
286 struct qxl_bo *bo, *free_bo = NULL; in qxl_alloc_release_reserved() local
385 struct qxl_bo *bo = release->release_bo; in qxl_release_map() local
398 struct qxl_bo *bo = release->release_bo; in qxl_release_unmap() local
407 struct ttm_buffer_object *bo; in qxl_release_fence_buffer_objects() local
A 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
/linux/drivers/gpu/drm/tegra/
A Dgem.c26 static void tegra_bo_put(struct host1x_bo *bo) in tegra_bo_put()
250 struct tegra_bo *bo; in tegra_bo_alloc_object() local
355 struct tegra_bo *bo; in tegra_bo_create() local
386 struct tegra_bo *bo; in tegra_bo_create_with_handle() local
409 struct tegra_bo *bo; in tegra_bo_import() local
455 struct tegra_bo *bo = to_tegra_bo(gem); in tegra_bo_free_object() local
477 struct tegra_bo *bo; in tegra_bo_dumb_create() local
494 struct tegra_bo *bo = to_tegra_bo(gem); in tegra_bo_fault() local
515 struct tegra_bo *bo = to_tegra_bo(gem); in __tegra_gem_mmap() local
696 struct tegra_bo *bo; in tegra_gem_prime_import() local
[all …]
A Dsubmit.c44 struct gather_bo *bo = container_of(host_bo, struct gather_bo, base); in gather_bo_get() local
53 struct gather_bo *bo = container_of(ref, struct gather_bo, ref); in gather_bo_release() local
62 struct gather_bo *bo = container_of(host_bo, struct gather_bo, base); in gather_bo_put() local
70 struct gather_bo *bo = container_of(host_bo, struct gather_bo, base); in gather_bo_pin() local
98 struct gather_bo *bo = container_of(host_bo, struct gather_bo, base); in gather_bo_mmap() local
159 struct gather_bo *bo; in submit_copy_gather_data() local
204 static int submit_write_reloc(struct tegra_drm_context *context, struct gather_bo *bo, in submit_write_reloc()
233 static int submit_process_bufs(struct tegra_drm_context *context, struct gather_bo *bo, in submit_process_bufs()
328 struct gather_bo *bo, u32 *offset, in submit_job_add_gather()
369 submit_create_job(struct tegra_drm_context *context, struct gather_bo *bo, in submit_create_job()
[all …]
/linux/drivers/gpu/drm/ttm/
A Dttm_bo.c93 struct ttm_buffer_object *bo) in ttm_bo_bulk_move_set_pos()
373 struct ttm_buffer_object *bo; in ttm_bo_delayed_delete() local
406 struct ttm_buffer_object *bo = in ttm_bo_release() local
473 void ttm_bo_put(struct ttm_buffer_object *bo) in ttm_bo_put()
518 static int ttm_bo_evict(struct ttm_buffer_object *bo, in ttm_bo_evict()
813 int ttm_bo_mem_space(struct ttm_buffer_object *bo, in ttm_bo_mem_space()
920 int ttm_bo_validate(struct ttm_buffer_object *bo, in ttm_bo_validate()
955 struct ttm_buffer_object *bo, in ttm_bo_init_reserved()
1029 struct ttm_buffer_object *bo, in ttm_bo_init()
1067 int ttm_bo_wait(struct ttm_buffer_object *bo, in ttm_bo_wait()
[all …]
A Dttm_bo_util.c47 struct ttm_buffer_object *bo; member
131 int ttm_bo_move_memcpy(struct ttm_buffer_object *bo, in ttm_bo_move_memcpy()
187 static void ttm_transfered_destroy(struct ttm_buffer_object *bo) in ttm_transfered_destroy()
212 static int ttm_buffer_object_transfer(struct ttm_buffer_object *bo, in ttm_buffer_object_transfer()
268 static int ttm_bo_ioremap(struct ttm_buffer_object *bo, in ttm_bo_ioremap()
294 static int ttm_bo_kmap_ttm(struct ttm_buffer_object *bo, in ttm_bo_kmap_ttm()
336 int ttm_bo_kmap(struct ttm_buffer_object *bo, in ttm_bo_kmap()
464 static int ttm_bo_wait_free_node(struct ttm_buffer_object *bo, in ttm_bo_wait_free_node()
478 static int ttm_bo_move_to_ghost(struct ttm_buffer_object *bo, in ttm_bo_move_to_ghost()
544 int ttm_bo_move_accel_cleanup(struct ttm_buffer_object *bo, in ttm_bo_move_accel_cleanup()
[all …]
A Dttm_bo_vm.c46 static vm_fault_t ttm_bo_vm_fault_idle(struct ttm_buffer_object *bo, in ttm_bo_vm_fault_idle()
97 static unsigned long ttm_bo_io_mem_pfn(struct ttm_buffer_object *bo, in ttm_bo_io_mem_pfn()
129 vm_fault_t ttm_bo_vm_reserve(struct ttm_buffer_object *bo, in ttm_bo_vm_reserve()
199 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_fault_reserved() local
300 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_dummy_page() local
331 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_fault() local
358 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_open() local
368 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_close() local
375 static int ttm_bo_vm_access_kmap(struct ttm_buffer_object *bo, in ttm_bo_vm_access_kmap()
417 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_access() local
[all …]
/linux/drivers/gpu/drm/radeon/
A Dradeon_object.c75 struct radeon_bo *bo; in radeon_ttm_bo_destroy() local
157 struct radeon_bo *bo; in radeon_bo_create() local
240 int radeon_bo_kmap(struct radeon_bo *bo, void **ptr) in radeon_bo_kmap()
263 void radeon_bo_kunmap(struct radeon_bo *bo) in radeon_bo_kunmap()
272 struct radeon_bo *radeon_bo_ref(struct radeon_bo *bo) in radeon_bo_ref()
281 void radeon_bo_unref(struct radeon_bo **bo) in radeon_bo_unref()
356 void radeon_bo_unpin(struct radeon_bo *bo) in radeon_bo_unpin()
388 struct radeon_bo *bo, *n; in radeon_bo_force_delete() local
502 struct radeon_bo *bo = lobj->robj; in radeon_bo_list_validate() local
556 int radeon_bo_get_surface_reg(struct radeon_bo *bo) in radeon_bo_get_surface_reg()
[all …]
A 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()
A Dradeon_prime.c37 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_get_sg_table() local
49 struct radeon_bo *bo; in radeon_gem_prime_import_sg_table() local
71 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_pin() local
99 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_unpin() local
116 struct radeon_bo *bo = gem_to_radeon_bo(gobj); in radeon_gem_prime_export() local
/linux/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_object.c57 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_destroy() local
70 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_user_destroy() local
81 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_vm_destroy() local
535 struct amdgpu_bo *bo; in amdgpu_bo_create() local
752 int amdgpu_bo_kmap(struct amdgpu_bo *bo, void **ptr) in amdgpu_bo_kmap()
791 void *amdgpu_bo_kptr(struct amdgpu_bo *bo) in amdgpu_bo_kptr()
804 void amdgpu_bo_kunmap(struct amdgpu_bo *bo) in amdgpu_bo_kunmap()
834 void amdgpu_bo_unref(struct amdgpu_bo **bo) in amdgpu_bo_unref()
971 int amdgpu_bo_pin(struct amdgpu_bo *bo, u32 domain) in amdgpu_bo_pin()
987 void amdgpu_bo_unpin(struct amdgpu_bo *bo) in amdgpu_bo_unpin()
[all …]
A Damdgpu_dma_buf.c57 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_attach() local
90 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_detach() local
107 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_pin() local
135 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_unpin() local
158 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_map() local
252 struct amdgpu_bo *bo = gem_to_amdgpu_bo(dma_buf->priv); in amdgpu_dma_buf_begin_cpu_access() local
305 struct amdgpu_bo *bo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_prime_export() local
337 struct amdgpu_bo *bo; in amdgpu_dma_buf_create_obj() local
380 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_move_notify() local
489 struct amdgpu_bo *bo) in amdgpu_dmabuf_is_xgmi_accessible()
A Damdgpu_object.h115 struct amdgpu_bo bo; member
124 struct amdgpu_bo bo; member
171 static inline int amdgpu_bo_reserve(struct amdgpu_bo *bo, bool no_intr) in amdgpu_bo_reserve()
185 static inline void amdgpu_bo_unreserve(struct amdgpu_bo *bo) in amdgpu_bo_unreserve()
190 static inline unsigned long amdgpu_bo_size(struct amdgpu_bo *bo) in amdgpu_bo_size()
195 static inline unsigned amdgpu_bo_ngpu_pages(struct amdgpu_bo *bo) in amdgpu_bo_ngpu_pages()
211 static inline u64 amdgpu_bo_mmap_offset(struct amdgpu_bo *bo) in amdgpu_bo_mmap_offset()
219 static inline bool amdgpu_bo_in_cpu_visible_vram(struct amdgpu_bo *bo) in amdgpu_bo_in_cpu_visible_vram()
241 static inline bool amdgpu_bo_explicit_sync(struct amdgpu_bo *bo) in amdgpu_bo_explicit_sync()
252 static inline bool amdgpu_bo_encrypted(struct amdgpu_bo *bo) in amdgpu_bo_encrypted()
[all …]
/linux/drivers/gpu/drm/vc4/
A Dvc4_bo.c290 struct vc4_bo *bo = to_vc4_bo(obj); in vc4_bo_purge() local
356 struct vc4_bo *bo = NULL; in vc4_bo_get_from_cache() local
390 struct vc4_bo *bo; in vc4_create_object() local
416 struct vc4_bo *bo; in vc4_bo_create() local
481 struct vc4_bo *bo = NULL; in vc4_dumb_create() local
664 struct vc4_bo *bo = to_vc4_bo(obj); in vc4_prime_export() local
695 struct vc4_bo *bo = to_vc4_bo(obj); in vc4_fault() local
764 struct vc4_bo *bo = NULL; in vc4_create_bo_ioctl() local
813 struct vc4_bo *bo = NULL; in vc4_create_shader_bo_ioctl() local
888 struct vc4_bo *bo; in vc4_set_tiling_ioctl() local
[all …]
/linux/drivers/gpu/drm/lima/
A 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 …]
/linux/include/drm/ttm/
A Dttm_bo_driver.h132 static inline int ttm_bo_reserve(struct ttm_buffer_object *bo, in ttm_bo_reserve()
166 static inline int ttm_bo_reserve_slowpath(struct ttm_buffer_object *bo, in ttm_bo_reserve_slowpath()
182 ttm_bo_move_to_lru_tail_unlocked(struct ttm_buffer_object *bo) in ttm_bo_move_to_lru_tail_unlocked()
189 static inline void ttm_bo_assign_mem(struct ttm_buffer_object *bo, in ttm_bo_assign_mem()
203 static inline void ttm_bo_move_null(struct ttm_buffer_object *bo, in ttm_bo_move_null()
217 static inline void ttm_bo_unreserve(struct ttm_buffer_object *bo) in ttm_bo_unreserve()
283 static inline void ttm_bo_move_sync_cleanup(struct ttm_buffer_object *bo, in ttm_bo_move_sync_cleanup()
/linux/drivers/gpu/drm/vmwgfx/
A 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
136 struct ttm_buffer_object *bo = &buf->base; in vmw_bo_pin_in_vram_or_gmr() local
205 struct ttm_buffer_object *bo = &buf->base; in vmw_bo_pin_in_start_of_vram() local
268 struct ttm_buffer_object *bo = &buf->base; in vmw_bo_unpin() local
315 struct ttm_buffer_object *bo = &vbo->base; in vmw_bo_pin_reserved() local
360 struct ttm_buffer_object *bo = &vbo->base; in vmw_bo_map_and_cache() local
432 void vmw_bo_bo_free(struct ttm_buffer_object *bo) in vmw_bo_bo_free()
475 struct ttm_buffer_object *bo; in vmw_bo_create_kernel() local
[all …]
/linux/crypto/
A 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
/linux/drivers/gpu/drm/panfrost/
A 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
242 struct panfrost_gem_object *bo; in panfrost_gem_create_with_handle() local
275 struct panfrost_gem_object *bo; in panfrost_gem_prime_import_sg_table() local
/linux/drivers/gpu/drm/v3d/
A 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
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_ttm.c242 static void i915_ttm_evict_flags(struct ttm_buffer_object *bo, in i915_ttm_evict_flags()
248 static int i915_ttm_move_notify(struct ttm_buffer_object *bo) in i915_ttm_move_notify()
285 struct ttm_buffer_object *bo = i915_gem_to_ttm(obj); in i915_ttm_adjust_domains_after_move() local
298 struct ttm_buffer_object *bo = i915_gem_to_ttm(obj); in i915_ttm_adjust_gem_after_move() local
333 struct ttm_buffer_object *bo = i915_gem_to_ttm(obj); in i915_ttm_purge() local
355 static void i915_ttm_swap_notify(struct ttm_buffer_object *bo) in i915_ttm_swap_notify()
429 struct ttm_buffer_object *bo = i915_gem_to_ttm(obj); in i915_ttm_resource_get_st() local
442 static int i915_ttm_accel_move(struct ttm_buffer_object *bo, in i915_ttm_accel_move()
647 struct ttm_buffer_object *bo = i915_gem_to_ttm(obj); in __i915_ttm_get_pages() local
774 struct ttm_buffer_object *bo = i915_gem_to_ttm(obj); in i915_ttm_adjust_lru() local
[all …]
/linux/drivers/gpu/drm/virtio/
A Dvirtgpu_prime.c34 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); in virtgpu_virtio_get_uuid() local
51 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); in virtgpu_gem_map_dma_buf() local
64 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); in virtgpu_gem_unmap_dma_buf() local
91 struct virtio_gpu_object *bo) in virtio_gpu_resource_assign_uuid()
114 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); in virtgpu_gem_prime_export() local

Completed in 41 milliseconds

123456789