1 /* SPDX-License-Identifier: GPL-2.0 */
3 #ifndef __Q6DSP_ERR_NO_H__
4 #define __Q6DSP_ERR_NO_H__
5 #include <linux/kernel.h>
7 /* Success. The operation completed with no errors. */
8 #define ADSP_EOK 0x00000000
10 #define ADSP_EFAILED 0x00000001
11 /* Bad operation parameter. */
12 #define ADSP_EBADPARAM 0x00000002
13 /* Unsupported routine or operation. */
14 #define ADSP_EUNSUPPORTED 0x00000003
15 /* Unsupported version. */
16 #define ADSP_EVERSION 0x00000004
17 /* Unexpected problem encountered. */
18 #define ADSP_EUNEXPECTED 0x00000005
19 /* Unhandled problem occurred. */
20 #define ADSP_EPANIC 0x00000006
21 /* Unable to allocate resource. */
22 #define ADSP_ENORESOURCE 0x00000007
24 #define ADSP_EHANDLE 0x00000008
25 /* Operation is already processed. */
26 #define ADSP_EALREADY 0x00000009
27 /* Operation is not ready to be processed. */
28 #define ADSP_ENOTREADY 0x0000000A
29 /* Operation is pending completion. */
30 #define ADSP_EPENDING 0x0000000B
31 /* Operation could not be accepted or processed. */
32 #define ADSP_EBUSY 0x0000000C
33 /* Operation aborted due to an error. */
34 #define ADSP_EABORTED 0x0000000D
35 /* Operation preempted by a higher priority. */
36 #define ADSP_EPREEMPTED 0x0000000E
37 /* Operation requests intervention to complete. */
38 #define ADSP_ECONTINUE 0x0000000F
39 /* Operation requests immediate intervention to complete. */
40 #define ADSP_EIMMEDIATE 0x00000010
41 /* Operation is not implemented. */
42 #define ADSP_ENOTIMPL 0x00000011
43 /* Operation needs more data or resources. */
44 #define ADSP_ENEEDMORE 0x00000012
45 /* Operation does not have memory. */
46 #define ADSP_ENOMEMORY 0x00000014
47 /* Item does not exist. */
48 #define ADSP_ENOTEXIST 0x00000015
49 /* Max count for adsp error code sent to HLOS*/
51 #endif /*__Q6DSP_ERR_NO_H__ */