Initial commit: TXW82x FPV v2.7.0.7-42229 SDK + project sources
This commit is contained in:
23
sdk/include/dev/sysaes/hg_sysaes_v2.h
Normal file
23
sdk/include/dev/sysaes/hg_sysaes_v2.h
Normal file
@@ -0,0 +1,23 @@
|
||||
#ifndef _HG_SYSAES_V2_H_
|
||||
#define _HG_SYSAES_V2_H_
|
||||
#include "hal/sysaes.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct hg_sysaes_v2 {
|
||||
struct sysaes_dev dev;
|
||||
void *hw;
|
||||
os_mutex_t lock;
|
||||
os_semaphore_t done;
|
||||
uint32 irq_num;
|
||||
uint32 flags;
|
||||
#ifdef CONFIG_SLEEP
|
||||
uint32 *regs;
|
||||
#endif
|
||||
};
|
||||
|
||||
int32 hg_sysaes_v2_attach(uint32 dev_id, struct hg_sysaes_v2 *sysaes);
|
||||
|
||||
#endif /* _HG_SYSAES_V2_H_ */
|
||||
20
sdk/include/dev/sysaes/hg_sysaes_v3.h
Normal file
20
sdk/include/dev/sysaes/hg_sysaes_v3.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef _HG_SYSAES_V3_H_
|
||||
#define _HG_SYSAES_V3_H_
|
||||
#include "hal/sysaes.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct hg_sysaes_v3 {
|
||||
struct sysaes_dev dev;
|
||||
void *hw;
|
||||
os_mutex_t lock;
|
||||
os_semaphore_t done;
|
||||
uint32 irq_num;
|
||||
uint32 flags;
|
||||
};
|
||||
|
||||
int32 hg_sysaes_v3_attach(uint32 dev_id, struct hg_sysaes_v3 *sysaes);
|
||||
|
||||
#endif /* _HG_SYSAES_V3_H_ */
|
||||
Reference in New Issue
Block a user