/Linux-v5.10/drivers/staging/media/atomisp/pci/hmm/ |
D | hmm_bo.c | 58 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 …]
|
D | hmm.c | 58 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 309 static inline int hmm_check_bo(struct hmm_buffer_object *bo, unsigned int ptr) in hmm_check_bo() 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 [all …]
|
/Linux-v5.10/drivers/gpu/drm/tegra/ |
D | gem.c | 23 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 …]
|
/Linux-v5.10/drivers/gpu/drm/qxl/ |
D | qxl_object.c | 32 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 154 int qxl_bo_kmap(struct qxl_bo *bo, void **ptr) in qxl_bo_kmap() 176 struct qxl_bo *bo, int page_offset) in qxl_bo_kmap_atomic_page() 206 void qxl_bo_kunmap(struct qxl_bo *bo) in qxl_bo_kunmap() 218 struct qxl_bo *bo, void *pmap) in qxl_bo_kunmap_atomic_page() 230 void qxl_bo_unref(struct qxl_bo **bo) in qxl_bo_unref() 239 struct qxl_bo *qxl_bo_ref(struct qxl_bo *bo) in qxl_bo_ref() 245 static int __qxl_bo_pin(struct qxl_bo *bo) in __qxl_bo_pin() [all …]
|
D | qxl_object.h | 30 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()
|
D | qxl_release.c | 164 struct qxl_bo *bo; in qxl_release_free_list() local 202 struct qxl_bo **bo) in qxl_release_bo_alloc() 209 int qxl_release_list_add(struct qxl_release *release, struct qxl_bo *bo) in qxl_release_list_add() 229 static int qxl_release_validate_bo(struct qxl_bo *bo) in qxl_release_validate_bo() 268 struct qxl_bo *bo = to_qxl_bo(entry->tv.bo); in qxl_release_reserve_list() local 296 struct qxl_bo *bo; in qxl_alloc_surface_release_reserved() local 324 struct qxl_bo *bo; in qxl_alloc_release_reserved() local 409 struct qxl_bo *bo = release->release_bo; in qxl_release_map() local 422 struct qxl_bo *bo = release->release_bo; in qxl_release_unmap() local 431 struct ttm_buffer_object *bo; in qxl_release_fence_buffer_objects() local
|
D | qxl_prime.c | 33 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-v5.10/drivers/gpu/drm/radeon/ |
D | radeon_object.c | 53 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 …]
|
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()
|
D | radeon_prime.c | 36 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 106 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_unpin() local 123 struct radeon_bo *bo = gem_to_radeon_bo(gobj); in radeon_gem_prime_export() local
|
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_object.c | 63 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 …]
|
D | amdgpu_dma_buf.c | 55 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 256 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_unpin() local 279 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_map() local 350 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_unmap() local 377 struct amdgpu_bo *bo = gem_to_amdgpu_bo(dma_buf->priv); in amdgpu_dma_buf_begin_cpu_access() local [all …]
|
D | amdgpu_mn.c | 67 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()
|
D | amdgpu_object.h | 158 static inline int amdgpu_bo_reserve(struct amdgpu_bo *bo, bool no_intr) in amdgpu_bo_reserve() 172 static inline void amdgpu_bo_unreserve(struct amdgpu_bo *bo) in amdgpu_bo_unreserve() 177 static inline unsigned long amdgpu_bo_size(struct amdgpu_bo *bo) in amdgpu_bo_size() 182 static inline unsigned amdgpu_bo_ngpu_pages(struct amdgpu_bo *bo) in amdgpu_bo_ngpu_pages() 187 static inline unsigned amdgpu_bo_gpu_page_alignment(struct amdgpu_bo *bo) in amdgpu_bo_gpu_page_alignment() 198 static inline u64 amdgpu_bo_mmap_offset(struct amdgpu_bo *bo) in amdgpu_bo_mmap_offset() 206 static inline bool amdgpu_bo_in_cpu_visible_vram(struct amdgpu_bo *bo) in amdgpu_bo_in_cpu_visible_vram() 227 static inline bool amdgpu_bo_explicit_sync(struct amdgpu_bo *bo) in amdgpu_bo_explicit_sync() 238 static inline bool amdgpu_bo_encrypted(struct amdgpu_bo *bo) in amdgpu_bo_encrypted()
|
/Linux-v5.10/drivers/gpu/drm/vc4/ |
D | vc4_bo.c | 130 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 …]
|
/Linux-v5.10/drivers/gpu/drm/ttm/ |
D | ttm_bo.c | 62 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 …]
|
D | ttm_bo_vm.c | 45 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 …]
|
D | ttm_bo_util.c | 45 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 …]
|
D | ttm_execbuf_util.c | 40 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
|
/Linux-v5.10/drivers/gpu/drm/lima/ |
D | lima_gem.c | 20 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-v5.10/crypto/ |
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
|
/Linux-v5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_bo.c | 56 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 …]
|
/Linux-v5.10/drivers/gpu/drm/panfrost/ |
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() 108 void panfrost_gem_teardown_mappings_locked(struct panfrost_gem_object *bo) in panfrost_gem_teardown_mappings_locked() 121 struct panfrost_gem_object *bo = to_panfrost_bo(obj); in panfrost_gem_open() local 174 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-v5.10/drivers/gpu/drm/v3d/ |
D | v3d_bo.c | 34 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-v5.10/drivers/gpu/drm/virtio/ |
D | virtgpu_object.c | 65 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() 206 struct virtio_gpu_object *bo; in virtio_gpu_object_create() local
|