Home
last modified time | relevance | path

Searched refs:ivpu_bo_vaddr (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/accel/ivpu/
Divpu_gem.h48 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()
Divpu_fw_log.c37 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()
Divpu_ms.c80 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()
Divpu_fw.c404 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()
Divpu_ipc.c572 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()
Divpu_pm.c47 struct vpu_boot_params *bp = ivpu_bo_vaddr(fw->mem); in ivpu_pm_prepare_warm_boot()
Divpu_drv.c372 ivpu_fw_boot_params_setup(vdev, ivpu_bo_vaddr(vdev->fw->mem)); in ivpu_boot()
Divpu_job.c180 cmdq->jobq = (struct vpu_job_queue *)ivpu_bo_vaddr(cmdq->mem); in ivpu_cmdq_init()