Lines Matching refs:MEC_BIT
56 regs->CONFIG = MEC_BIT(MEC_BDP_CFG_REG_SRESET_POS); in mec_hal_bdp_init()
64 if (cfg_flags & MEC_BIT(MEC5_BDP_CFG_ALIAS_EN_POS)) { in mec_hal_bdp_init()
70 if (cfg_flags & MEC_BIT(MEC5_BDP_CFG_THRH_IEN_POS)) { in mec_hal_bdp_init()
71 regs->IEN |= MEC_BIT(MEC_BDP_IEN_REG_THRH_POS); in mec_hal_bdp_init()
75 if (cfg_flags & MEC_BIT(MEC5_BDP_CFG_ALIAS_EN_POS)) { in mec_hal_bdp_init()
76 if (cfg_flags & MEC_BIT(MEC5_BDP_CFG_ALIAS_ACTV_POS)) { in mec_hal_bdp_init()
77 regs->ACTV80A |= MEC_BIT(MEC_BDP_ACTV_REG_EN_POS); in mec_hal_bdp_init()
81 if (cfg_flags & MEC_BIT(MEC5_BDP_CFG_ACTV_POS)) { in mec_hal_bdp_init()
82 regs->ACTV80 |= MEC_BIT(MEC_BDP_ACTV_REG_EN_POS); in mec_hal_bdp_init()
96 regs->ACTV80 |= MEC_BIT(MEC_BDP_ACTV_REG_EN_POS); in mec_hal_bdp_activate()
98 regs->ACTV80 &= (uint8_t)~MEC_BIT(MEC_BDP_ACTV_REG_EN_POS); in mec_hal_bdp_activate()
102 regs->ACTV80A |= MEC_BIT(MEC_BDP_ACTV_REG_EN_POS); in mec_hal_bdp_activate()
104 regs->ACTV80A &= (uint8_t)~MEC_BIT(MEC_BDP_ACTV_REG_EN_POS); in mec_hal_bdp_activate()
168 regs->IEN |= MEC_BIT(MEC_BDP_INTR_EN_THRES_POS); in mec_hal_bdp_intr_en()
170 regs->IEN &= (uint8_t)~MEC_BIT(MEC_BDP_INTR_EN_THRES_POS); in mec_hal_bdp_intr_en()
242 while (da & MEC_BIT(MEC_BDP_DATRB_NOT_EMPTY_Pos)) { in mec_hal_bdp_get_host_io()
248 ioflags |= MEC_BIT(blane); in mec_hal_bdp_get_host_io()
260 ioflags |= MEC_BIT(blane); in mec_hal_bdp_get_host_io()
264 ioflags |= MEC_BIT(blane); in mec_hal_bdp_get_host_io()
266 ioflags &= (uint8_t)~MEC_BIT(blane); in mec_hal_bdp_get_host_io()