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