Searched refs:apb_periph_ref_cnts (Results 1 – 1 of 1) sorted by relevance
49 int apb_periph_ref_cnts; //For the chips that ADC oneshot mode using APB_SARADC periph member119 s_ctx.apb_periph_ref_cnts++; in adc_oneshot_new_unit()120 if (s_ctx.apb_periph_ref_cnts == 1) { in adc_oneshot_new_unit()236 s_ctx.apb_periph_ref_cnts--; in adc_oneshot_del_unit()237 assert(s_ctx.apb_periph_ref_cnts >= 0); in adc_oneshot_del_unit()238 if (s_ctx.apb_periph_ref_cnts == 0) { in adc_oneshot_del_unit()