yu.dong | c33b307 | 2024-08-21 23:14:49 -0700 | [diff] [blame^] | 1 | |
| 2 | #ifndef __AUDIO_LP_EXPORT__ |
| 3 | #define __AUDIO_LP_EXPORT__ |
| 4 | |
| 5 | |
| 6 | typedef 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 | |
| 16 | typedef 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 | |
| 25 | AUDLP_STATUS AUDMA_LOCK( AUDMA_USER_ID register_id); |
| 26 | AUDLP_STATUS AUDMA_UNLOCK( AUDMA_USER_ID register_id); |
| 27 | |
| 28 | |
| 29 | #endif //__AUDIO_LP_EXPORT__ |