| /linux/drivers/staging/media/atomisp/pci/hmm/ |
| A D | hmm_bo.c | 132 struct hmm_buffer_object *bo; in __bo_search_by_addr() local 157 struct hmm_buffer_object *bo; in __bo_search_by_addr_in_range() local 212 struct hmm_buffer_object *bo) in __bo_insert_to_alloc_rbtree() 237 struct hmm_buffer_object *bo, in __bo_break_up() 336 struct hmm_buffer_object *bo; in hmm_bo_device_init() local 503 struct hmm_buffer_object *bo; in hmm_bo_device_exit() local 556 struct hmm_buffer_object *bo; in hmm_bo_device_search_start() local 576 struct hmm_buffer_object *bo; in hmm_bo_device_search_in_range() local 597 struct hmm_buffer_object *bo; in hmm_bo_device_search_vmap_start() local 990 struct hmm_buffer_object *bo = in hmm_bo_vm_open() local [all …]
|
| A D | hmm.c | 52 struct hmm_buffer_object *bo; in bo_show() local 173 struct hmm_buffer_object *bo; in __hmm_alloc() local 229 struct hmm_buffer_object *bo; in hmm_free() local 276 struct hmm_buffer_object *bo; in load_and_flush_by_kmap() local 319 struct hmm_buffer_object *bo; in load_and_flush() local 376 struct hmm_buffer_object *bo; in hmm_store() local 459 struct hmm_buffer_object *bo; in hmm_set() local 520 struct hmm_buffer_object *bo; in hmm_virt_to_phys() local 538 struct hmm_buffer_object *bo; in hmm_mmap() local 554 struct hmm_buffer_object *bo; in hmm_vmap() local [all …]
|
| /linux/drivers/gpu/drm/qxl/ |
| A D | qxl_object.c | 34 struct qxl_bo *bo; in qxl_ttm_bo_destroy() local 110 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() 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 int qxl_bo_pin_locked(struct qxl_bo *bo) in qxl_bo_pin_locked() 315 void qxl_bo_unpin_locked(struct qxl_bo *bo) in qxl_bo_unpin_locked() 327 int qxl_bo_pin(struct qxl_bo *bo) in qxl_bo_pin() 345 int qxl_bo_unpin(struct qxl_bo *bo) in qxl_bo_unpin() [all …]
|
| A D | qxl_release.c | 124 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
|
| /linux/drivers/gpu/drm/tegra/ |
| A D | gem.c | 302 struct tegra_bo *bo; in tegra_bo_alloc_object() local 407 struct tegra_bo *bo; in tegra_bo_create() local 438 struct tegra_bo *bo; in tegra_bo_create_with_handle() local 461 struct tegra_bo *bo; in tegra_bo_import() local 508 struct tegra_bo *bo = to_tegra_bo(gem); in tegra_bo_free_object() local 539 struct tegra_bo *bo; in tegra_bo_dumb_create() local 556 struct tegra_bo *bo = to_tegra_bo(gem); in tegra_bo_fault() local 577 struct tegra_bo *bo = to_tegra_bo(gem); in __tegra_gem_mmap() local 629 struct tegra_bo *bo = to_tegra_bo(gem); in tegra_gem_prime_map_dma_buf() local 766 struct tegra_bo *bo; in tegra_gem_prime_import() local [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| A D | xe_bo.c | 87 bool xe_bo_is_vram(struct xe_bo *bo) in xe_bo_is_vram() 1030 struct xe_bo *bo; in xe_ttm_bo_release_notify() local 1393 struct xe_bo *bo, in __xe_bo_fixed_placement() 1436 struct xe_bo *bo = NULL; in __xe_bo_create_locked() local 1546 struct xe_bo *bo; in xe_bo_create_pin_map_at() local 1610 struct xe_bo *bo; in xe_managed_bo_create_pin_map() local 1652 struct xe_bo *bo; in xe_managed_bo_reinit_in_vram() local 1727 int xe_bo_pin(struct xe_bo *bo) in xe_bo_pin() 1970 struct xe_bo *bo; in xe_gem_create_ioctl() local 2313 struct xe_bo *bo, *next; in xe_bo_put_commit() local [all …]
|
| A D | xe_bo.h | 119 #define xe_bo_device(bo) ttm_to_xe_device((bo)->ttm.bdev) argument 121 static inline struct xe_bo *xe_bo_get(struct xe_bo *bo) in xe_bo_get() 131 static inline void __xe_bo_unset_bulk_move(struct xe_bo *bo) in __xe_bo_unset_bulk_move() 137 static inline void xe_bo_assert_held(struct xe_bo *bo) in xe_bo_assert_held() 147 static inline void xe_bo_unlock_vm_held(struct xe_bo *bo) in xe_bo_unlock_vm_held() 164 static inline bool xe_bo_is_pinned(struct xe_bo *bo) in xe_bo_is_pinned() 169 static inline void xe_bo_unpin_map_no_vm(struct xe_bo *bo) in xe_bo_unpin_map_no_vm() 185 xe_bo_main_addr(struct xe_bo *bo, size_t page_size) in xe_bo_main_addr() 191 xe_bo_ggtt_addr(struct xe_bo *bo) in xe_bo_ggtt_addr() 234 static inline size_t xe_bo_ccs_pages_start(struct xe_bo *bo) in xe_bo_ccs_pages_start() [all …]
|
| A D | xe_dma_buf.c | 52 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_pin() local 84 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_unpin() local 94 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_map() local 149 struct xe_bo *bo = gem_to_xe_bo(dma_buf->priv); in xe_dma_buf_unmap() local 164 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_begin_cpu_access() local 195 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_gem_prime_export() local 214 struct xe_bo *bo; in xe_dma_buf_init_obj() local 237 struct xe_bo *bo = gem_to_xe_bo(obj); in xe_dma_buf_move_notify() local 269 struct xe_bo *bo; in xe_gem_prime_import() local
|
| /linux/drivers/gpu/drm/ttm/ |
| A D | ttm_bo.c | 97 void ttm_bo_set_bulk_move(struct ttm_buffer_object *bo, in ttm_bo_set_bulk_move() 233 struct ttm_buffer_object *bo; in ttm_bo_delayed_delete() local 247 struct ttm_buffer_object *bo = in ttm_bo_release() local 325 void ttm_bo_put(struct ttm_buffer_object *bo) in ttm_bo_put() 355 static int ttm_bo_evict(struct ttm_buffer_object *bo, in ttm_bo_evict() 447 struct ttm_buffer_object *bo; in ttm_bo_evict_first() local 590 void ttm_bo_pin(struct ttm_buffer_object *bo) in ttm_bo_pin() 608 void ttm_bo_unpin(struct ttm_buffer_object *bo) in ttm_bo_unpin() 742 int ttm_bo_mem_space(struct ttm_buffer_object *bo, in ttm_bo_mem_space() 775 int ttm_bo_validate(struct ttm_buffer_object *bo, in ttm_bo_validate() [all …]
|
| A D | ttm_bo_util.c | 42 struct ttm_buffer_object *bo; member 142 int ttm_bo_move_memcpy(struct ttm_buffer_object *bo, in ttm_bo_move_memcpy() 309 static int ttm_bo_ioremap(struct ttm_buffer_object *bo, in ttm_bo_ioremap() 335 static int ttm_bo_kmap_ttm(struct ttm_buffer_object *bo, in ttm_bo_kmap_ttm() 396 int ttm_bo_kmap(struct ttm_buffer_object *bo, in ttm_bo_kmap() 651 int ttm_bo_move_accel_cleanup(struct ttm_buffer_object *bo, in ttm_bo_move_accel_cleanup() 688 void ttm_bo_move_sync_cleanup(struct ttm_buffer_object *bo, in ttm_bo_move_sync_cleanup() 714 int ttm_bo_pipeline_gutting(struct ttm_buffer_object *bo) in ttm_bo_pipeline_gutting() 773 struct ttm_buffer_object *bo, in ttm_lru_walk_trylock() 794 struct ttm_buffer_object *bo, in ttm_lru_walk_ticketlock() [all …]
|
| A D | ttm_bo_vm.c | 41 static vm_fault_t ttm_bo_vm_fault_idle(struct ttm_buffer_object *bo, in ttm_bo_vm_fault_idle() 84 static unsigned long ttm_bo_io_mem_pfn(struct ttm_buffer_object *bo, in ttm_bo_io_mem_pfn() 116 vm_fault_t ttm_bo_vm_reserve(struct ttm_buffer_object *bo, in ttm_bo_vm_reserve() 186 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_fault_reserved() local 294 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_dummy_page() local 325 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_fault() local 352 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_open() local 362 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_close() local 369 static int ttm_bo_vm_access_kmap(struct ttm_buffer_object *bo, in ttm_bo_vm_access_kmap() 411 struct ttm_buffer_object *bo = vma->vm_private_data; in ttm_bo_vm_access() local [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| A D | radeon_object.c | 54 struct radeon_bo *bo; in radeon_ttm_bo_destroy() local 134 struct radeon_bo *bo; in radeon_bo_create() local 218 int radeon_bo_kmap(struct radeon_bo *bo, void **ptr) in radeon_bo_kmap() 246 void radeon_bo_kunmap(struct radeon_bo *bo) in radeon_bo_kunmap() 255 struct radeon_bo *radeon_bo_ref(struct radeon_bo *bo) in radeon_bo_ref() 264 void radeon_bo_unref(struct radeon_bo **bo) in radeon_bo_unref() 336 void radeon_bo_unpin(struct radeon_bo *bo) in radeon_bo_unpin() 368 struct radeon_bo *bo, *n; in radeon_bo_force_delete() local 484 struct radeon_bo *bo = lobj->robj; in radeon_bo_list_validate() local 538 int radeon_bo_get_surface_reg(struct radeon_bo *bo) in radeon_bo_get_surface_reg() [all …]
|
| A D | radeon_object.h | 64 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 D | radeon_prime.c | 39 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_get_sg_table() local 51 struct radeon_bo *bo; in radeon_gem_prime_import_sg_table() local 73 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_pin() local 86 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_unpin() local 97 struct radeon_bo *bo = gem_to_radeon_bo(gobj); in radeon_gem_prime_export() local
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| A D | amdgpu_object.c | 59 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_destroy() local 72 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_user_destroy() local 538 struct amdgpu_bo *bo; in amdgpu_bo_create() local 719 int amdgpu_bo_kmap(struct amdgpu_bo *bo, void **ptr) in amdgpu_bo_kmap() 758 void *amdgpu_bo_kptr(struct amdgpu_bo *bo) in amdgpu_bo_kptr() 771 void amdgpu_bo_kunmap(struct amdgpu_bo *bo) in amdgpu_bo_kunmap() 801 void amdgpu_bo_unref(struct amdgpu_bo **bo) in amdgpu_bo_unref() 826 int amdgpu_bo_pin(struct amdgpu_bo *bo, u32 domain) in amdgpu_bo_pin() 911 void amdgpu_bo_unpin(struct amdgpu_bo *bo) in amdgpu_bo_unpin() 1173 void amdgpu_bo_get_memory(struct amdgpu_bo *bo, in amdgpu_bo_get_memory() [all …]
|
| A D | amdgpu_dma_buf.c | 57 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_attach() local 76 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_pin() local 92 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_unpin() local 115 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_map() local 208 struct amdgpu_bo *bo = gem_to_amdgpu_bo(dma_buf->priv); in amdgpu_dma_buf_begin_cpu_access() local 260 struct amdgpu_bo *bo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_prime_export() local 292 struct amdgpu_bo *bo; in amdgpu_dma_buf_create_obj() local 338 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_move_notify() local 454 struct amdgpu_bo *bo) in amdgpu_dmabuf_is_xgmi_accessible()
|
| /linux/drivers/accel/ivpu/ |
| A D | ivpu_gem.c | 41 int __must_check ivpu_bo_pin(struct ivpu_bo *bo) in ivpu_bo_pin() 138 struct ivpu_bo *bo; in ivpu_bo_unbind_all_bos_from_context() local 157 struct ivpu_bo *bo; in ivpu_gem_create_object() local 178 struct ivpu_bo *bo; in ivpu_bo_alloc() local 207 struct ivpu_bo *bo = to_ivpu_bo(obj); in ivpu_gem_bo_open() local 229 struct ivpu_bo *bo = to_ivpu_bo(obj); in ivpu_gem_bo_free() local 265 struct ivpu_bo *bo; in ivpu_bo_create_ioctl() local 295 struct ivpu_bo *bo; in ivpu_bo_create() local 341 void ivpu_bo_free(struct ivpu_bo *bo) in ivpu_bo_free() 358 struct ivpu_bo *bo; in ivpu_bo_info_ioctl() local [all …]
|
| A D | ivpu_gem.h | 48 static inline void *ivpu_bo_vaddr(struct ivpu_bo *bo) in ivpu_bo_vaddr() 53 static inline size_t ivpu_bo_size(struct ivpu_bo *bo) in ivpu_bo_size() 58 static inline u32 ivpu_bo_cache_mode(struct ivpu_bo *bo) in ivpu_bo_cache_mode() 63 static inline struct ivpu_device *ivpu_bo_to_vdev(struct ivpu_bo *bo) in ivpu_bo_to_vdev() 68 static inline bool ivpu_bo_is_snooped(struct ivpu_bo *bo) in ivpu_bo_is_snooped() 76 static inline void *ivpu_to_cpu_addr(struct ivpu_bo *bo, u32 vpu_addr) in ivpu_to_cpu_addr() 87 static inline u32 cpu_to_vpu_addr(struct ivpu_bo *bo, void *cpu_addr) in cpu_to_vpu_addr()
|
| /linux/drivers/gpu/drm/vc4/ |
| A D | vc4_bo.c | 299 struct vc4_bo *bo = to_vc4_bo(obj); in vc4_bo_purge() local 365 struct vc4_bo *bo = NULL; in vc4_bo_get_from_cache() local 397 struct vc4_bo *bo; in vc4_create_object() local 428 struct vc4_bo *bo; in vc4_bo_create() local 496 struct vc4_bo *bo = NULL; in vc4_bo_dumb_create() local 689 struct vc4_bo *bo = to_vc4_bo(obj); in vc4_prime_export() local 720 struct vc4_bo *bo = to_vc4_bo(obj); in vc4_fault() local 783 struct vc4_bo *bo = NULL; in vc4_create_bo_ioctl() local 839 struct vc4_bo *bo = NULL; in vc4_create_shader_bo_ioctl() local 918 struct vc4_bo *bo; in vc4_set_tiling_ioctl() local [all …]
|
| /linux/drivers/gpu/drm/ttm/tests/ |
| A D | ttm_tt_test.c | 42 struct ttm_buffer_object *bo; in ttm_tt_init_basic() local 69 struct ttm_buffer_object *bo; in ttm_tt_init_misaligned() local 92 struct ttm_buffer_object *bo; in ttm_tt_fini_basic() local 112 struct ttm_buffer_object *bo; in ttm_tt_fini_sg() local 132 struct ttm_buffer_object *bo; in ttm_tt_fini_shmem() local 155 struct ttm_buffer_object *bo; in ttm_tt_create_basic() local 174 struct ttm_buffer_object *bo; in ttm_tt_create_invalid_bo_type() local 190 struct ttm_buffer_object *bo; in ttm_tt_create_ttm_exists() local 226 struct ttm_buffer_object *bo; in ttm_tt_create_failed() local 244 struct ttm_buffer_object *bo; in ttm_tt_destroy_basic() local [all …]
|
| /linux/drivers/gpu/drm/panfrost/ |
| A D | panfrost_gem.c | 19 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 190 struct panfrost_gem_object *bo = to_panfrost_bo(obj); in panfrost_gem_pin() local 200 struct panfrost_gem_object *bo = to_panfrost_bo(obj); in panfrost_gem_status() local 214 struct panfrost_gem_object *bo = to_panfrost_bo(obj); in panfrost_gem_rss() local 271 struct panfrost_gem_object *bo; in panfrost_gem_create() local 294 struct panfrost_gem_object *bo; in panfrost_gem_prime_import_sg_table() local
|
| /linux/drivers/gpu/drm/lima/ |
| A D | lima_gem.c | 21 int lima_heap_alloc(struct lima_bo *bo, struct lima_vm *vm) in lima_heap_alloc() 115 struct lima_bo *bo; in lima_gem_create_handle() local 155 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_free_object() local 165 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_object_open() local 174 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_object_close() local 183 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_pin() local 193 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_vmap() local 203 struct lima_bo *bo = to_lima_bo(obj); in lima_gem_mmap() local 227 struct lima_bo *bo; in lima_gem_create_object() local 244 struct lima_bo *bo; in lima_gem_get_info() local [all …]
|
| /linux/drivers/gpu/drm/v3d/ |
| A D | v3d_bo.c | 31 struct v3d_bo *bo = to_v3d_bo(obj); in v3d_gem_status() local 46 struct v3d_bo *bo = to_v3d_bo(obj); in v3d_free_object() local 86 struct v3d_bo *bo; in v3d_create_object() local 108 struct v3d_bo *bo = to_v3d_bo(obj); in v3d_bo_create_finish() local 146 struct v3d_bo *bo; in v3d_bo_create() local 187 void v3d_get_bo_vaddr(struct v3d_bo *bo) in v3d_get_bo_vaddr() 195 void v3d_put_bo_vaddr(struct v3d_bo *bo) in v3d_put_bo_vaddr() 205 struct v3d_bo *bo = NULL; in v3d_create_bo_ioctl() local 253 struct v3d_bo *bo; in v3d_get_bo_offset_ioctl() local
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| A D | vmwgfx_bo.c | 72 static void vmw_bo_free(struct ttm_buffer_object *bo) in vmw_bo_free() 98 struct ttm_buffer_object *bo = &buf->tbo; in vmw_bo_pin_in_placement() local 134 struct ttm_buffer_object *bo = &buf->tbo; in vmw_bo_pin_in_vram_or_gmr() local 203 struct ttm_buffer_object *bo = &buf->tbo; in vmw_bo_pin_in_start_of_vram() local 261 struct ttm_buffer_object *bo = &buf->tbo; in vmw_bo_unpin() local 308 struct ttm_buffer_object *bo = &vbo->tbo; in vmw_bo_pin_reserved() local 358 struct ttm_buffer_object *bo = &vbo->tbo; in vmw_bo_map_and_cache_size() local 494 struct ttm_buffer_object *bo = &vmw_bo->tbo; in vmw_user_bo_synccpu_grab() local 675 void vmw_bo_fence_single(struct ttm_buffer_object *bo, in vmw_bo_fence_single() 702 void vmw_bo_swap_notify(struct ttm_buffer_object *bo) in vmw_bo_swap_notify() [all …]
|
| /linux/crypto/ |
| A D | aes_generic.c | 1147 #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
|