gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / drivers / net / ethernet / intel / ice / ice_status.h
bloba9a8bc3aca426f359a3c2bfc206ba9f8b1e66fae
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2018, Intel Corporation. */
4 #ifndef _ICE_STATUS_H_
5 #define _ICE_STATUS_H_
7 /* Error Codes */
8 enum ice_status {
9 ICE_SUCCESS = 0,
11 /* Generic codes : Range -1..-49 */
12 ICE_ERR_PARAM = -1,
13 ICE_ERR_NOT_IMPL = -2,
14 ICE_ERR_NOT_READY = -3,
15 ICE_ERR_NOT_SUPPORTED = -4,
16 ICE_ERR_BAD_PTR = -5,
17 ICE_ERR_INVAL_SIZE = -6,
18 ICE_ERR_DEVICE_NOT_SUPPORTED = -8,
19 ICE_ERR_RESET_FAILED = -9,
20 ICE_ERR_FW_API_VER = -10,
21 ICE_ERR_NO_MEMORY = -11,
22 ICE_ERR_CFG = -12,
23 ICE_ERR_OUT_OF_RANGE = -13,
24 ICE_ERR_ALREADY_EXISTS = -14,
25 ICE_ERR_DOES_NOT_EXIST = -15,
26 ICE_ERR_IN_USE = -16,
27 ICE_ERR_MAX_LIMIT = -17,
28 ICE_ERR_RESET_ONGOING = -18,
29 ICE_ERR_HW_TABLE = -19,
30 ICE_ERR_NVM_CHECKSUM = -51,
31 ICE_ERR_BUF_TOO_SHORT = -52,
32 ICE_ERR_NVM_BLANK_MODE = -53,
33 ICE_ERR_AQ_ERROR = -100,
34 ICE_ERR_AQ_TIMEOUT = -101,
35 ICE_ERR_AQ_FULL = -102,
36 ICE_ERR_AQ_NO_WORK = -103,
37 ICE_ERR_AQ_EMPTY = -104,
40 #endif /* _ICE_STATUS_H_ */