Lines Matching refs:tmp_reg
311 uint32_t tmp_reg = 0; in clock_lpm_init() local
327 tmp_reg = XTALOSC24M->OSC_CONFIG0; in clock_lpm_init()
328 tmp_reg &= ~(XTALOSC24M_OSC_CONFIG0_HYST_PLUS_MASK | in clock_lpm_init()
330 tmp_reg |= XTALOSC24M_OSC_CONFIG0_HYST_PLUS(3) | XTALOSC24M_OSC_CONFIG0_HYST_MINUS(3); in clock_lpm_init()
331 XTALOSC24M->OSC_CONFIG0 = tmp_reg; in clock_lpm_init()
333 tmp_reg = XTALOSC24M->OSC_CONFIG2; in clock_lpm_init()
334 tmp_reg &= ~XTALOSC24M_OSC_CONFIG2_COUNT_1M_TRG_MASK; in clock_lpm_init()
335 tmp_reg |= XTALOSC24M_OSC_CONFIG2_COUNT_1M_TRG(0x2d7); in clock_lpm_init()
336 XTALOSC24M->OSC_CONFIG2 = tmp_reg; in clock_lpm_init()
338 tmp_reg = XTALOSC24M->OSC_CONFIG1; in clock_lpm_init()
339 XTALOSC24M->OSC_CONFIG1 = tmp_reg; in clock_lpm_init()