1 /* 2 * Copyright 2024 Microchip Technology Inc. and its subsidiaries. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 #ifndef _MEC_ESPI_API_H 7 #define _MEC_ESPI_API_H 8 9 #include <stdbool.h> 10 #include <stddef.h> 11 #include <stdint.h> 12 13 #define MEC_ESPI_GIRQ 19 14 #define MEC_ESPI_PC_GIRQ_POS 0 15 #define MEC_ESPI_PC_BM1_GIRQ_POS 1 16 #define MEC_ESPI_PC_BM2_GIRQ_POS 2 17 #define MEC_ESPI_PC_LTR_GIRQ_POS 3 18 #define MEC_ESPI_OOB_UP_GIRQ_POS 4 19 #define MEC_ESPI_OOB_DN_GIRQ_POS 5 20 #define MEC_ESPI_FC_GIRQ_POS 6 21 #define MEC_ESPI_RESET_GIRQ_POS 7 22 #define MEC_ESPI_VW_CHEN_GIRQ_POS 8 23 #define MEC_ESPI_TAF_ECP_GIRQ_POS 9 24 #define MEC_ESPI_TAF_HWMON_GIRQ_POS 10 25 26 #define MEC_ESPI_GIRQ_AGGR_NVIC 11 27 #define MEC_ESPI_PC_NVIC 103 28 #define MEC_ESPI_PC_BM1_NVIC 104 29 #define MEC_ESPI_PC_BM2_NVIC 105 30 #define MEC_ESPI_PC_LTR_NVIC 106 31 #define MEC_ESPI_OOB_UP_NVIC 107 32 #define MEC_ESPI_OOB_DN_NVIC 108 33 #define MEC_ESPI_FC_NVIC 109 34 #define MEC_ESPI_RESET_NVIC 110 35 #define MEC_ESPI_VW_CHEN_NVIC 156 36 #define MEC_ESPI_TAF_ECP_NVIC 166 37 #define MEC_ESPI_TAF_HWMON_NVIC 167 38 39 #include "mec_espi_core.h" 40 #include "mec_espi_fc.h" 41 #include "mec_espi_oob.h" 42 #include "mec_espi_pc.h" 43 #include "mec_espi_taf.h" 44 #include "mec_espi_vw.h" 45 46 #endif /* #ifndef _MEC_ESPI_API_H */ 47