| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
| 2 | |
| 3 | #ifndef _SOC_INTEL_COMMON_CNVI_H_ |
| 4 | #define _SOC_INTEL_COMMON_CNVI_H_ |
| 5 | |
| 6 | /* CNVi PCI configuration Registers */ |
| 7 | #define CNVI_DEV_CAP 0x44 |
| 8 | #define CNVI_DEV_CONTROL 0x48 |
| 9 | #define CNVI_POWER_STATUS 0xcc |
| 10 | #define CNVI_DEV_CAP_2 0x64 |
| 11 | #define CNVI_DEV_CONTROL_2 0x68 |
| 12 | |
| 13 | /* CNVi PLDR Results */ |
| 14 | #define CNVI_PLDR_COMPLETE 0x02 |
| 15 | #define CNVI_PLDR_NOT_COMPLETE 0x03 |
| 16 | #define CNVI_PLDR_TIMEOUT 0x04 |
| 17 | |
| 18 | #define CNVI_ABORT_ENABLE BIT(0) |
| 19 | #define CNVI_ABORT_REQUEST BIT(1) |
| 20 | #define CNVI_READY BIT(2) |
| 21 | |
| 22 | #endif // _SOC_INTEL_COMMON_CNVI_H_ |