Searched refs:ivpu_bo_vaddr (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/accel/ivpu/ |
D | ivpu_gem.h | 48 static inline void *ivpu_bo_vaddr(struct ivpu_bo *bo) in ivpu_bo_vaddr() function 84 return ivpu_bo_vaddr(bo) + (vpu_addr - bo->vpu_addr); in ivpu_to_cpu_addr() 89 if (cpu_addr < ivpu_bo_vaddr(bo)) in cpu_to_vpu_addr() 92 if (cpu_addr >= (ivpu_bo_vaddr(bo) + ivpu_bo_size(bo))) in cpu_to_vpu_addr() 95 return bo->vpu_addr + (cpu_addr - ivpu_bo_vaddr(bo)); in cpu_to_vpu_addr()
|
D | ivpu_fw_log.c | 37 log = ivpu_bo_vaddr(bo) + *offset; in fw_log_ptr() 46 if ((char *)log + log->size > (char *)ivpu_bo_vaddr(bo) + ivpu_bo_size(bo)) { in fw_log_ptr()
|
D | ivpu_ms.c | 80 ms->active_buff_ptr = ivpu_bo_vaddr(ms->bo); in ivpu_ms_start_ioctl() 81 ms->inactive_buff_ptr = ivpu_bo_vaddr(ms->bo) + ms->buff_size; in ivpu_ms_start_ioctl() 271 if (copy_to_user(u64_to_user_ptr(args->buffer_ptr), ivpu_bo_vaddr(bo), info_size)) in ivpu_ms_get_info_ioctl()
|
D | ivpu_fw.c | 404 memset(ivpu_bo_vaddr(fw->mem), 0, fw->image_load_offset); in ivpu_fw_load() 405 memcpy(ivpu_bo_vaddr(fw->mem) + fw->image_load_offset, in ivpu_fw_load() 409 u8 *start = ivpu_bo_vaddr(fw->mem) + image_end_offset; in ivpu_fw_load()
|
D | ivpu_ipc.c | 572 memset(ivpu_bo_vaddr(ipc->mem_tx), 0, ivpu_bo_size(ipc->mem_tx)); in ivpu_ipc_reset() 573 memset(ivpu_bo_vaddr(ipc->mem_rx), 0, ivpu_bo_size(ipc->mem_rx)); in ivpu_ipc_reset()
|
D | ivpu_pm.c | 47 struct vpu_boot_params *bp = ivpu_bo_vaddr(fw->mem); in ivpu_pm_prepare_warm_boot()
|
D | ivpu_drv.c | 372 ivpu_fw_boot_params_setup(vdev, ivpu_bo_vaddr(vdev->fw->mem)); in ivpu_boot()
|
D | ivpu_job.c | 180 cmdq->jobq = (struct vpu_job_queue *)ivpu_bo_vaddr(cmdq->mem); in ivpu_cmdq_init()
|