Lines Matching refs:MEC_BIT
35 if (rtmr_config & MEC_BIT(MEC_RTMR_CFG_EN_POS)) { in mec_hal_rtimer_init()
36 ctrl |= MEC_BIT(MEC_RTMR_CTRL_ENABLE_Pos); in mec_hal_rtimer_init()
39 if (rtmr_config & MEC_BIT(MEC_RTMR_CFG_AUTO_RELOAD_POS)) { in mec_hal_rtimer_init()
40 ctrl |= MEC_BIT(MEC_RTMR_CTRL_AUTO_RELOAD_Pos); in mec_hal_rtimer_init()
43 if (rtmr_config & MEC_BIT(MEC_RTMR_CFG_START_POS)) { in mec_hal_rtimer_init()
44 ctrl |= MEC_BIT(MEC_RTMR_CTRL_START_Pos); in mec_hal_rtimer_init()
47 if (rtmr_config & MEC_BIT(MEC_RTMR_CFG_DBG_HALT_POS)) { in mec_hal_rtimer_init()
48 ctrl |= MEC_BIT(MEC_RTMR_CTRL_EXT_HALT_Pos); in mec_hal_rtimer_init()
51 if (rtmr_config & MEC_BIT(MEC_RTMR_CFG_IEN_POS)) { in mec_hal_rtimer_init()
68 return MEC_BIT(MEC_RTMR_STATUS_TERM_POS); in mec_hal_rtimer_status()
78 if (status & MEC_BIT(MEC_RTMR_STATUS_TERM_POS)) { in mec_hal_rtimer_status_clear()
113 ctrl &= (uint32_t)~MEC_BIT(MEC_RTMR_CTRL_FW_HALT_Pos); in mec_hal_rtimer_restart()
114 ctrl |= MEC_BIT(MEC_RTMR_CTRL_ENABLE_Pos); in mec_hal_rtimer_restart()
116 ctrl |= MEC_BIT(MEC_RTMR_CTRL_START_Pos); in mec_hal_rtimer_restart()