Searched refs:s_apll_ref_cnt (Results 1 – 1 of 1) sorted by relevance
25 static int s_apll_ref_cnt = 0; variable74 s_apll_ref_cnt++; in periph_rtc_apll_acquire()75 if (s_apll_ref_cnt == 1) { in periph_rtc_apll_acquire()85 assert(s_apll_ref_cnt > 0); in periph_rtc_apll_release()86 s_apll_ref_cnt--; in periph_rtc_apll_release()87 if (s_apll_ref_cnt == 0) { in periph_rtc_apll_release()102 assert(s_apll_ref_cnt > 0); in periph_rtc_apll_freq_set()110 if (s_cur_apll_freq == 0 || s_apll_ref_cnt < 2) { in periph_rtc_apll_freq_set()