vpu_core.h (428B)
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright 2020-2021 NXP 4 */ 5 6#ifndef _AMPHION_VPU_CORE_H 7#define _AMPHION_VPU_CORE_H 8 9void csr_writel(struct vpu_core *core, u32 reg, u32 val); 10u32 csr_readl(struct vpu_core *core, u32 reg); 11int vpu_alloc_dma(struct vpu_core *core, struct vpu_buffer *buf); 12void vpu_free_dma(struct vpu_buffer *buf); 13struct vpu_inst *vpu_core_find_instance(struct vpu_core *core, u32 index); 14 15#endif