Searched refs:s_periph_ref_counts (Results 1 – 1 of 1) sorted by relevance
19 static uint8_t s_periph_ref_counts = 0; variable32 if (s_periph_ref_counts == 0) { in periph_rtc_dig_clk8m_enable()43 s_periph_ref_counts++; in periph_rtc_dig_clk8m_enable()61 assert(s_periph_ref_counts > 0); in periph_rtc_dig_clk8m_disable()62 s_periph_ref_counts--; in periph_rtc_dig_clk8m_disable()63 if (s_periph_ref_counts == 0) { in periph_rtc_dig_clk8m_disable()