linux/sound/soc/qcom/qdsp6/q6dsp-errno.h

/* SPDX-License-Identifier: GPL-2.0 */

#ifndef __Q6DSP_ERR_NO_H__
#define __Q6DSP_ERR_NO_H__
#include <linux/kernel.h>

/* Success. The operation completed with no errors. */
#define ADSP_EOK
/* General failure. */
#define ADSP_EFAILED
/* Bad operation parameter. */
#define ADSP_EBADPARAM
/* Unsupported routine or operation. */
#define ADSP_EUNSUPPORTED
/* Unsupported version. */
#define ADSP_EVERSION
/* Unexpected problem encountered. */
#define ADSP_EUNEXPECTED
/* Unhandled problem occurred. */
#define ADSP_EPANIC
/* Unable to allocate resource. */
#define ADSP_ENORESOURCE
/* Invalid handle. */
#define ADSP_EHANDLE
/* Operation is already processed. */
#define ADSP_EALREADY
/* Operation is not ready to be processed. */
#define ADSP_ENOTREADY
/* Operation is pending completion. */
#define ADSP_EPENDING
/* Operation could not be accepted or processed. */
#define ADSP_EBUSY
/* Operation aborted due to an error. */
#define ADSP_EABORTED
/* Operation preempted by a higher priority. */
#define ADSP_EPREEMPTED
/* Operation requests intervention to complete. */
#define ADSP_ECONTINUE
/* Operation requests immediate intervention to complete. */
#define ADSP_EIMMEDIATE
/* Operation is not implemented. */
#define ADSP_ENOTIMPL
/* Operation needs more data or resources. */
#define ADSP_ENEEDMORE
/* Operation does not have memory. */
#define ADSP_ENOMEMORY
/* Item does not exist. */
#define ADSP_ENOTEXIST
/* Max count for adsp error code sent to HLOS*/

#endif /*__Q6DSP_ERR_NO_H__ */