Sound Open Firmware
Loading...
Searching...
No Matches
adsp_error_code.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: BSD-3-Clause
2 *
3 * Copyright(c) 2022 - 2023 Intel Corporation. All rights reserved.
4 *
5 * Author: Adrian Warecki <adrian.warecki@intel.com>
6 */
7
8#ifndef __MODULE_IADK_ADSP_ERROR_CODE_H__
9#define __MODULE_IADK_ADSP_ERROR_CODE_H__
10
11#include <stdint.h>
12
18typedef uint32_t AdspErrorCode;
19
20 /* Reports no error */
21#define ADSP_NO_ERROR 0
22/* Reports that some parameters passed to the method are invalid */
23#define ADSP_INVALID_PARAMETERS 1
24/* Reports that the system or resource is busy. */
25#define ADSP_BUSY_RESOURCE 4
31#define ADSP_FATAL_FAILURE 6
32/* Report out of memory. */
33#define ADSP_OUT_OF_MEMORY 15
34/* Report invalid target. */
35#define ADSP_INVALID_TARGET 142
36/* Service is not supported on target platform. */
37#define ADSP_SERVICE_UNAVAILABLE 143
38/* Service version is not supported on target platform. */
39#define ADSP_SERVICE_VERSION_UNAVAILABLE 145
40
41/* SystemAgentInterface */
42#define ADSP_MODULE_CREATION_FAILURE 16
43
44/* ProcessingModuleFactoryInterface */
45
46/* Reports that the given value of Input Buffer Size is invalid */
47#define ADSP_INVALID_IBS 17
48/* Reports that the given value of Output Buffer Size is invalid */
49#define ADSP_INVALID_OBS 18
50/* Reports that the given value of Cycles Per Chunk processing is invalid */
51#define ADSP_INVALID_CPC 19
52/* Reports that the settings provided for module creation are invalid */
53#define ADSP_INVALID_SETTINGS 20
54
55/* ProcessingModuleInterface */
56/* Reports that the message content given for configuration is invalid */
57#define ADSP_INVALID_CONFIGURATION 21
58
59/* Reports that the module does not support retrieval of its current configuration information */
60#define ADSP_NO_CONFIGURATION 22
61
62#endif /* __MODULE_IADK_ADSP_ERROR_CODE_H__ */
uint32_t AdspErrorCode
Defines error codes that are returned in the ADSP project.
Definition adsp_error_code.h:18