1 /* 2 * Copyright (c) 2020 Nuvoton Technology Corporation. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #ifndef _NUVOTON_NPCX_SOC_ESPI_H_ 8 #define _NUVOTON_NPCX_SOC_ESPI_H_ 9 10 #include <zephyr/device.h> 11 12 #ifdef __cplusplus 13 extern "C" { 14 #endif 15 16 /** 17 * @brief Turn on all interrupts of eSPI host interface module. 18 * 19 * @param dev Pointer to structure device of eSPI module 20 */ 21 void npcx_espi_enable_interrupts(const struct device *dev); 22 23 /** 24 * @brief Turn off all interrupts of eSPI host interface module. 25 * 26 * @param dev Pointer to structure device of eSPI module 27 */ 28 void npcx_espi_disable_interrupts(const struct device *dev); 29 30 #ifdef __cplusplus 31 } 32 #endif 33 34 #endif /* _NUVOTON_NPCX_SOC_ESPI_H_ */ 35