Lines Matching refs:u32RegVal
2275 uint32_t u32RegVal; in CLOCK_XtalHfCapabankTrim() local
2313 u32RegVal = ANACTRL->XO32M_CTRL; in CLOCK_XtalHfCapabankTrim()
2314 u32RegVal &= ~(ANACTRL_XO32M_CTRL_OSC_CAP_IN_MASK | ANACTRL_XO32M_CTRL_OSC_CAP_OUT_MASK); in CLOCK_XtalHfCapabankTrim()
2317 u32RegVal &= ~(ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK); in CLOCK_XtalHfCapabankTrim()
2319 u32RegVal |= ANACTRL_XO32M_CTRL_SLAVE_MASK | ANACTRL_XO32M_CTRL_ACBUF_PASS_ENABLE_MASK; in CLOCK_XtalHfCapabankTrim()
2322 …u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapInCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_IN_S… in CLOCK_XtalHfCapabankTrim()
2323 …u32RegVal |= (uint32_t)CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 13) << ANACTRL_XO32M_CTRL_OSC_CAP_OUT… in CLOCK_XtalHfCapabankTrim()
2325 ANACTRL->XO32M_CTRL = u32RegVal; in CLOCK_XtalHfCapabankTrim()
2348 uint32_t u32RegVal; in CLOCK_Xtal32khzCapabankTrim() local
2382 u32RegVal = PMC->XTAL32K; in CLOCK_Xtal32khzCapabankTrim()
2383 u32RegVal &= ~(PMC_XTAL32K_CAPBANKIN_MASK | PMC_XTAL32K_CAPBANKOUT_MASK); in CLOCK_Xtal32khzCapabankTrim()
2386 … u32RegVal |= (uint32_t)(CLOCK_u8OscCapConvert(u8XOCapInCtrl, 23)) << PMC_XTAL32K_CAPBANKIN_SHIFT; in CLOCK_Xtal32khzCapabankTrim()
2387 …u32RegVal |= (uint32_t)(CLOCK_u8OscCapConvert(u8XOCapOutCtrl, 23)) << PMC_XTAL32K_CAPBANKOUT_SHIFT; in CLOCK_Xtal32khzCapabankTrim()
2390 PMC->XTAL32K = u32RegVal; in CLOCK_Xtal32khzCapabankTrim()