/openbmc/linux/drivers/staging/media/atomisp/pci/hmm/ |
H 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 …]
|
H A D | hmm.c | 52 struct hmm_buffer_object *bo; in bo_show() local 173 struct hmm_buffer_object *bo; in __hmm_alloc() local 232 struct hmm_buffer_object *bo; in hmm_free() local 281 struct hmm_buffer_object *bo; in load_and_flush_by_kmap() local 324 struct hmm_buffer_object *bo; in load_and_flush() local 381 struct hmm_buffer_object *bo; in hmm_store() local 464 struct hmm_buffer_object *bo; in hmm_set() local 525 struct hmm_buffer_object *bo; in hmm_virt_to_phys() local 543 struct hmm_buffer_object *bo; in hmm_mmap() local 559 struct hmm_buffer_object *bo; in hmm_vmap() local [all …]
|
/openbmc/linux/drivers/accel/ivpu/ |
H A D | ivpu_gem.c | 333 struct ivpu_bo *bo, *tmp; in ivpu_bo_remove_all_bos_from_context() local 344 struct ivpu_bo *bo; in ivpu_bo_alloc() local 406 struct ivpu_bo *bo = to_ivpu_bo(obj); in ivpu_bo_free() local 437 struct ivpu_bo *bo = to_ivpu_bo(obj); in ivpu_bo_mmap() local 458 struct ivpu_bo *bo = to_ivpu_bo(obj); in ivpu_bo_get_sg_table() local 479 struct ivpu_bo *bo = to_ivpu_bo(obj); in ivpu_vm_fault() local 531 struct ivpu_bo *bo; in ivpu_bo_create_ioctl() local 566 struct ivpu_bo *bo; in ivpu_bo_alloc_internal() local 626 struct ivpu_bo *bo; in ivpu_gem_prime_import() local 658 struct ivpu_bo *bo; in ivpu_bo_info_ioctl() local [all …]
|
H A D | ivpu_gem.h | 71 static inline struct page *ivpu_bo_get_page(struct ivpu_bo *bo, u64 offset) in ivpu_bo_get_page() 79 static inline u32 ivpu_bo_cache_mode(struct ivpu_bo *bo) in ivpu_bo_cache_mode() 84 static inline bool ivpu_bo_is_snooped(struct ivpu_bo *bo) in ivpu_bo_is_snooped() 89 static inline pgprot_t ivpu_bo_pgprot(struct ivpu_bo *bo, pgprot_t prot) in ivpu_bo_pgprot() 100 static inline struct ivpu_device *ivpu_bo_to_vdev(struct ivpu_bo *bo) in ivpu_bo_to_vdev() 105 static inline void *ivpu_to_cpu_addr(struct ivpu_bo *bo, u32 vpu_addr) in ivpu_to_cpu_addr() 116 static inline u32 cpu_to_vpu_addr(struct ivpu_bo *bo, void *cpu_addr) in cpu_to_vpu_addr()
|
/openbmc/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_object.c | 37 struct qxl_bo *bo; in qxl_ttm_bo_destroy() local 115 struct qxl_bo *bo; in qxl_bo_create() local 208 struct qxl_bo *bo, int page_offset) in qxl_bo_kmap_atomic_page() 240 void qxl_bo_vunmap_locked(struct qxl_bo *bo) in qxl_bo_vunmap_locked() 254 int qxl_bo_vunmap(struct qxl_bo *bo) in qxl_bo_vunmap() 268 struct qxl_bo *bo, void *pmap) in qxl_bo_kunmap_atomic_page() 280 void qxl_bo_unref(struct qxl_bo **bo) in qxl_bo_unref() 295 static int __qxl_bo_pin(struct qxl_bo *bo) in __qxl_bo_pin() 324 int qxl_bo_pin(struct qxl_bo *bo) in qxl_bo_pin() 342 int qxl_bo_unpin(struct qxl_bo *bo) in qxl_bo_unpin() [all …]
|
H 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
|
H A 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
|
/openbmc/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_bo.c | 97 void ttm_bo_set_bulk_move(struct ttm_buffer_object *bo, in ttm_bo_set_bulk_move() 307 struct ttm_buffer_object *bo; in ttm_bo_delayed_delete() local 321 struct ttm_buffer_object *bo = in ttm_bo_release() local 392 void ttm_bo_put(struct ttm_buffer_object *bo) in ttm_bo_put() 423 static int ttm_bo_evict(struct ttm_buffer_object *bo, in ttm_bo_evict() 595 struct ttm_buffer_object *bo = NULL, *busy_bo = NULL; in ttm_mem_evict_first() local 657 void ttm_bo_pin(struct ttm_buffer_object *bo) in ttm_bo_pin() 675 void ttm_bo_unpin(struct ttm_buffer_object *bo) in ttm_bo_unpin() 771 int ttm_bo_mem_space(struct ttm_buffer_object *bo, in ttm_bo_mem_space() 890 int ttm_bo_validate(struct ttm_buffer_object *bo, in ttm_bo_validate() [all …]
|
H 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() 201 static void ttm_transfered_destroy(struct ttm_buffer_object *bo) in ttm_transfered_destroy() 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() 557 static int ttm_bo_wait_free_node(struct ttm_buffer_object *bo, in ttm_bo_wait_free_node() 575 static int ttm_bo_move_to_ghost(struct ttm_buffer_object *bo, in ttm_bo_move_to_ghost() 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() [all …]
|
H 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 …]
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | gem.c | 292 struct tegra_bo *bo; in tegra_bo_alloc_object() local 397 struct tegra_bo *bo; in tegra_bo_create() local 428 struct tegra_bo *bo; in tegra_bo_create_with_handle() local 451 struct tegra_bo *bo; in tegra_bo_import() local 498 struct tegra_bo *bo = to_tegra_bo(gem); in tegra_bo_free_object() local 529 struct tegra_bo *bo; in tegra_bo_dumb_create() local 546 struct tegra_bo *bo = to_tegra_bo(gem); in tegra_bo_fault() local 567 struct tegra_bo *bo = to_tegra_bo(gem); in __tegra_gem_mmap() local 619 struct tegra_bo *bo = to_tegra_bo(gem); in tegra_gem_prime_map_dma_buf() local 756 struct tegra_bo *bo; in tegra_gem_prime_import() local [all …]
|
H A D | submit.c | 44 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 68 gather_bo_pin(struct device *dev, struct host1x_bo *bo, enum dma_data_direction direction) in gather_bo_pin() 127 struct gather_bo *bo = container_of(host_bo, struct gather_bo, base); in gather_bo_mmap() local 183 struct gather_bo *bo; in submit_copy_gather_data() local 228 static int submit_write_reloc(struct tegra_drm_context *context, struct gather_bo *bo, in submit_write_reloc() 257 static int submit_process_bufs(struct tegra_drm_context *context, struct gather_bo *bo, in submit_process_bufs() 352 struct gather_bo *bo, u32 *offset, in submit_job_add_gather() 393 submit_create_job(struct tegra_drm_context *context, struct gather_bo *bo, in submit_create_job() [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | radeon_object.c | 54 struct radeon_bo *bo; in radeon_ttm_bo_destroy() local 136 struct radeon_bo *bo; in radeon_bo_create() local 219 int radeon_bo_kmap(struct radeon_bo *bo, void **ptr) in radeon_bo_kmap() 247 void radeon_bo_kunmap(struct radeon_bo *bo) in radeon_bo_kunmap() 256 struct radeon_bo *radeon_bo_ref(struct radeon_bo *bo) in radeon_bo_ref() 265 void radeon_bo_unref(struct radeon_bo **bo) in radeon_bo_unref() 340 void radeon_bo_unpin(struct radeon_bo *bo) in radeon_bo_unpin() 372 struct radeon_bo *bo, *n; in radeon_bo_force_delete() local 488 struct radeon_bo *bo = lobj->robj; in radeon_bo_list_validate() local 542 int radeon_bo_get_surface_reg(struct radeon_bo *bo) in radeon_bo_get_surface_reg() [all …]
|
H 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()
|
H 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 91 struct radeon_bo *bo = gem_to_radeon_bo(obj); in radeon_gem_prime_unpin() local 108 struct radeon_bo *bo = gem_to_radeon_bo(gobj); in radeon_gem_prime_export() local
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_object.c | 58 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_destroy() local 71 struct amdgpu_bo *bo = ttm_to_amdgpu_bo(tbo); in amdgpu_bo_user_destroy() local 555 struct amdgpu_bo *bo; in amdgpu_bo_create() local 784 int amdgpu_bo_kmap(struct amdgpu_bo *bo, void **ptr) in amdgpu_bo_kmap() 823 void *amdgpu_bo_kptr(struct amdgpu_bo *bo) in amdgpu_bo_kptr() 836 void amdgpu_bo_kunmap(struct amdgpu_bo *bo) in amdgpu_bo_kunmap() 866 void amdgpu_bo_unref(struct amdgpu_bo **bo) in amdgpu_bo_unref() 1007 int amdgpu_bo_pin(struct amdgpu_bo *bo, u32 domain) in amdgpu_bo_pin() 1023 void amdgpu_bo_unpin(struct amdgpu_bo *bo) in amdgpu_bo_unpin() 1285 void amdgpu_bo_get_memory(struct amdgpu_bo *bo, in amdgpu_bo_get_memory() [all …]
|
H A D | amdgpu_dma_buf.c | 58 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_attach() local 88 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_detach() local 105 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_pin() local 121 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_unpin() local 144 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_map() local 238 struct amdgpu_bo *bo = gem_to_amdgpu_bo(dma_buf->priv); in amdgpu_dma_buf_begin_cpu_access() local 291 struct amdgpu_bo *bo = gem_to_amdgpu_bo(gobj); in amdgpu_gem_prime_export() local 323 struct amdgpu_bo *bo; in amdgpu_dma_buf_create_obj() local 368 struct amdgpu_bo *bo = gem_to_amdgpu_bo(obj); in amdgpu_dma_buf_move_notify() local 480 struct amdgpu_bo *bo) in amdgpu_dmabuf_is_xgmi_accessible()
|
/openbmc/linux/drivers/gpu/drm/vc4/ |
H 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 …]
|
/openbmc/linux/drivers/gpu/drm/lima/ |
H 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 …]
|
/openbmc/linux/drivers/gpu/drm/panfrost/ |
H 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 241 struct panfrost_gem_object *bo; in panfrost_gem_create() local 264 struct panfrost_gem_object *bo; in panfrost_gem_prime_import_sg_table() local
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_bo.c | 48 static void vmw_bo_free(struct ttm_buffer_object *bo) in vmw_bo_free() 74 struct ttm_buffer_object *bo = &buf->tbo; in vmw_bo_pin_in_placement() local 110 struct ttm_buffer_object *bo = &buf->tbo; in vmw_bo_pin_in_vram_or_gmr() local 179 struct ttm_buffer_object *bo = &buf->tbo; in vmw_bo_pin_in_start_of_vram() local 237 struct ttm_buffer_object *bo = &buf->tbo; in vmw_bo_unpin() local 284 struct ttm_buffer_object *bo = &vbo->tbo; in vmw_bo_pin_reserved() local 329 struct ttm_buffer_object *bo = &vbo->tbo; in vmw_bo_map_and_cache() local 454 struct ttm_buffer_object *bo = &vmw_bo->tbo; in vmw_user_bo_synccpu_grab() local 635 void vmw_bo_fence_single(struct ttm_buffer_object *bo, in vmw_bo_fence_single() 708 void vmw_bo_swap_notify(struct ttm_buffer_object *bo) in vmw_bo_swap_notify() [all …]
|
/openbmc/linux/crypto/ |
H 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
|
/openbmc/linux/include/drm/ttm/ |
H A D | ttm_bo.h | 160 struct ttm_buffer_object *bo; member 193 static inline void ttm_bo_get(struct ttm_buffer_object *bo) in ttm_bo_get() 209 ttm_bo_get_unless_zero(struct ttm_buffer_object *bo) in ttm_bo_get_unless_zero() 238 static inline int ttm_bo_reserve(struct ttm_buffer_object *bo, in ttm_bo_reserve() 273 static inline int ttm_bo_reserve_slowpath(struct ttm_buffer_object *bo, in ttm_bo_reserve_slowpath() 291 ttm_bo_move_to_lru_tail_unlocked(struct ttm_buffer_object *bo) in ttm_bo_move_to_lru_tail_unlocked() 298 static inline void ttm_bo_assign_mem(struct ttm_buffer_object *bo, in ttm_bo_assign_mem() 312 static inline void ttm_bo_move_null(struct ttm_buffer_object *bo, in ttm_bo_move_null() 326 static inline void ttm_bo_unreserve(struct ttm_buffer_object *bo) in ttm_bo_unreserve()
|
/openbmc/linux/drivers/gpu/drm/v3d/ |
H A D | v3d_bo.c | 34 struct v3d_bo *bo = to_v3d_bo(obj); in v3d_free_object() local 70 struct v3d_bo *bo; in v3d_create_object() local 92 struct v3d_bo *bo = to_v3d_bo(obj); in v3d_bo_create_finish() local 130 struct v3d_bo *bo; in v3d_bo_create() local 174 struct v3d_bo *bo = NULL; in v3d_create_bo_ioctl() local 222 struct v3d_bo *bo; in v3d_get_bo_offset_ioctl() local
|
/openbmc/linux/drivers/gpu/drm/virtio/ |
H A D | virtgpu_prime.c | 34 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() 110 struct virtio_gpu_object *bo = gem_to_virtio_gpu_obj(obj); in virtgpu_gem_prime_export() local
|