Lines Matching refs:u32RegVal
1536 uint32_t u32RegVal; in POWER_Xtal16mhzCapabankTrim() local
1577 u32RegVal = ANACTRL->XO32M_CTRL; in POWER_Xtal16mhzCapabankTrim()
1578 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in POWER_Xtal16mhzCapabankTrim()
1581 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in POWER_Xtal16mhzCapabankTrim()
1583 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in POWER_Xtal16mhzCapabankTrim()
1586 …u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in POWER_Xtal16mhzCapabankTrim()
1587 …u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in POWER_Xtal16mhzCapabankTrim()
1589 ANACTRL->XO32M_CTRL = u32RegVal; in POWER_Xtal16mhzCapabankTrim()
1601 uint32_t u32RegVal; in POWER_Xtal32khzCapabankTrim() local
1638 u32RegVal = PMC->XTAL32K; in POWER_Xtal32khzCapabankTrim()
1639 u32RegVal &= ~(PMC_XTAL32K_CAPBANKIN_MASK | PMC_XTAL32K_CAPBANKOUT_MASK); in POWER_Xtal32khzCapabankTrim()
1642 u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 23) << PMC_XTAL32K_CAPBANKIN_SHIFT; in POWER_Xtal32khzCapabankTrim()
1643 … u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 23) << PMC_XTAL32K_CAPBANKOUT_SHIFT; in POWER_Xtal32khzCapabankTrim()
1646 PMC->XTAL32K = u32RegVal; in POWER_Xtal32khzCapabankTrim()