FILE
vpu_core.h
File preview with syntax highlighting.
linux-6.19.14/drivers/media/platform/amphion/vpu_core.h
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); 14void vpu_core_set_state(struct vpu_core *core, enum vpu_core_state state); 15 16#endif
~/
Read-only file preview.