Files
SDK_SG200x_V2/osdrv/interdrv/v2/tpu/common/cvi_regcpu.h
carbon 0545e9dc6d init version 2024-05-07
commit d1edce71135cc6d98c0a4b5729774542b676e769
Author: sophgo-forum-service <forum_service@sophgo.com>
Date:   Fri Mar 15 16:07:33 2024 +0800

    [fix] recommend using ssh method to clone repo.
    [fix] fix sensor driver repo branch name.
2024-05-07 19:36:36 +08:00

25 lines
580 B
C

/*
* Copyright (C) Cvitek Co., Ltd. 2019-2021. All rights reserved.
*
* File Name: cvi_regcpu.h
* Description: tpu dma_buf header structure
*/
#ifndef __CVI_REG_CPU_H__
#define __CVI_REG_CPU_H__
#define CPU_ENGINE_DESCRIPTOR_NUM 56
// CPU_OP_SYNC structure
struct cvi_cpu_sync_desc_t {
u32 op_type; // CPU_CMD_ACCPI0
u32 num_bd; // CPU_CMD_ACCPI1
u32 num_gdma; // CPU_CMD_ACCPI2
u32 offset_bd; // CPU_CMD_ACCPI3
u32 offset_gdma; // CPU_CMD_ACCPI4
u32 reserved[2]; // CPU_CMD_ACCPI5-CPU_CMD_ACCPI6
char str[(CPU_ENGINE_DESCRIPTOR_NUM - 7) * sizeof(u32)];
};
#endif