Lines Matching refs:ecs_pm_save_buf
213 static uint8_t ecs_pm_save_buf[MEC_ECS_PM_SAVE_ITEMS_CNT]; variable
217 ecs_pm_save_buf[0] = (uint8_t)(MEC_ECS->ETM_CTRL & 0xffu); in mec_hal_ecs_debug_ifc_save_disable()
220 ecs_pm_save_buf[1] = (uint8_t)(MEC_ECS->DBG_CTRL & 0xffu); in mec_hal_ecs_debug_ifc_save_disable()
226 MEC_ECS->ETM_CTRL = ecs_pm_save_buf[0]; in mec_hal_ecs_debug_ifc_restore()
227 MEC_ECS->DBG_CTRL = ecs_pm_save_buf[1]; in mec_hal_ecs_debug_ifc_restore()
233 ecs_pm_save_buf[0] = (uint8_t)(MEC_ECS->ETM_CTRL & 0xffu); in mec_hal_ecs_pm_save_disable()
234 ecs_pm_save_buf[1] = (uint8_t)(MEC_ECS->DBG_CTRL & 0xffu); in mec_hal_ecs_pm_save_disable()
235 ecs_pm_save_buf[2] = (uint8_t)(MEC_ECS->PECI_CTRL & 0xffu); in mec_hal_ecs_pm_save_disable()
250 MEC_ECS->PECI_CTRL = ecs_pm_save_buf[2]; in mec_hal_ecs_pm_restore()
251 MEC_ECS->ETM_CTRL = ecs_pm_save_buf[0]; in mec_hal_ecs_pm_restore()
252 MEC_ECS->DBG_CTRL = ecs_pm_save_buf[1]; in mec_hal_ecs_pm_restore()