blob: d9c0b4a8cb68a225dc493b37c0b6a658c8f936e1 [file] [log] [blame]
yu.dongc33b3072024-08-21 23:14:49 -07001
2#ifndef __AUDIO_LP_EXPORT__
3#define __AUDIO_LP_EXPORT__
4
5
6typedef enum {
7 AUDLP_OK = 0,
8 AUDLP_WARN_LAST_SEVERAL_PST,
9 AUDLP_ERR_NO_ENOUGH_PST,
10 AUDLP_ERR_FS_GET_DEVICEID,
11 AUDLP_ERR_FS_PST_API,
12 AUDLP_ERR_FS_PST_VALIDENTRY_NOTENOUGH,
13 AUDLP_ERR_XXX1
14} AUDLP_STATUS;
15
16typedef enum {
17 AUDMA_ID_MED = 0,
18 AUDMA_ID_FS = 1,
19 AUDMA_ID_NFI = 2,
20 AUDMA_ID_ECC = 3,
21 AUDMA_ID_MSDC = 4,
22 AUDMA_ID_RESERVED = 5
23} AUDMA_USER_ID;
24
25AUDLP_STATUS AUDMA_LOCK( AUDMA_USER_ID register_id);
26AUDLP_STATUS AUDMA_UNLOCK( AUDMA_USER_ID register_id);
27
28
29#endif //__AUDIO_LP_EXPORT__