52 lines · c
1/* SPDX-License-Identifier: GPL-2.0 */2 3#ifndef __Q6DSP_ERR_NO_H__4#define __Q6DSP_ERR_NO_H__5#include <linux/kernel.h>6 7/* Success. The operation completed with no errors. */8#define ADSP_EOK 0x000000009/* General failure. */10#define ADSP_EFAILED 0x0000000111/* Bad operation parameter. */12#define ADSP_EBADPARAM 0x0000000213/* Unsupported routine or operation. */14#define ADSP_EUNSUPPORTED 0x0000000315/* Unsupported version. */16#define ADSP_EVERSION 0x0000000417/* Unexpected problem encountered. */18#define ADSP_EUNEXPECTED 0x0000000519/* Unhandled problem occurred. */20#define ADSP_EPANIC 0x0000000621/* Unable to allocate resource. */22#define ADSP_ENORESOURCE 0x0000000723/* Invalid handle. */24#define ADSP_EHANDLE 0x0000000825/* Operation is already processed. */26#define ADSP_EALREADY 0x0000000927/* Operation is not ready to be processed. */28#define ADSP_ENOTREADY 0x0000000A29/* Operation is pending completion. */30#define ADSP_EPENDING 0x0000000B31/* Operation could not be accepted or processed. */32#define ADSP_EBUSY 0x0000000C33/* Operation aborted due to an error. */34#define ADSP_EABORTED 0x0000000D35/* Operation preempted by a higher priority. */36#define ADSP_EPREEMPTED 0x0000000E37/* Operation requests intervention to complete. */38#define ADSP_ECONTINUE 0x0000000F39/* Operation requests immediate intervention to complete. */40#define ADSP_EIMMEDIATE 0x0000001041/* Operation is not implemented. */42#define ADSP_ENOTIMPL 0x0000001143/* Operation needs more data or resources. */44#define ADSP_ENEEDMORE 0x0000001245/* Operation does not have memory. */46#define ADSP_ENOMEMORY 0x0000001447/* Item does not exist. */48#define ADSP_ENOTEXIST 0x0000001549/* Max count for adsp error code sent to HLOS*/50 51#endif /*__Q6DSP_ERR_NO_H__ */52