Home
last modified time | relevance | path

Searched refs:max_rel_val (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-3.6.0/drivers/counter/
Dcounter_smartbond_timer.c113 uint32_t max_rel_val; in counter_smartbond_set_alarm() local
132 max_rel_val = TIMER_TOP_VALUE - data->guard_period; in counter_smartbond_set_alarm()
146 max_rel_val = irq_on_late ? TIMER_TOP_VALUE / 2U : TIMER_TOP_VALUE; in counter_smartbond_set_alarm()
155 if (diff > max_rel_val) { in counter_smartbond_set_alarm()
Dcounter_ifx_cat1.c362 uint32_t max_rel_val; in ifx_cat1_counter_set_alarm() local
372 max_rel_val = top_val - data->guard_period; in ifx_cat1_counter_set_alarm()
386 max_rel_val = irq_on_late ? (top_val / 2U) : top_val; in ifx_cat1_counter_set_alarm()
397 if ((absolute && (val < curr)) || (diff > max_rel_val)) { in ifx_cat1_counter_set_alarm()
Dcounter_nrfx_timer.c147 uint32_t max_rel_val; in set_cc() local
163 max_rel_val = top - data->guard_period; in set_cc()
177 max_rel_val = irq_on_late ? top / 2 : top; in set_cc()
187 if (diff > max_rel_val) { in set_cc()
Dcounter_gd32_timer.c217 uint32_t now, diff, max_rel_val; in set_cc() local
234 max_rel_val = top - data->guard_period; in set_cc()
248 max_rel_val = irq_on_late ? top / 2 : top; in set_cc()
258 if (diff > max_rel_val) { in set_cc()
Dcounter_ll_stm32_timer.c211 uint32_t max_rel_val; in counter_stm32_set_cc() local
226 max_rel_val = top - data->guard_period; in counter_stm32_set_cc()
240 max_rel_val = irq_on_late ? top / 2U : top; in counter_stm32_set_cc()
250 if (diff > max_rel_val) { in counter_stm32_set_cc()
Dcounter_andes_atcpit100.c251 uint32_t irq_on_late, max_rel_val; in atcpit100_set_alarm() local
254 max_rel_val = top - (data->guard_period * config->divider); in atcpit100_set_alarm()
266 if (reg > max_rel_val) { in atcpit100_set_alarm()
Dcounter_nrfx_rtc.c236 uint32_t max_rel_val; in set_cc() local
268 max_rel_val = top - data->guard_period; in set_cc()
281 max_rel_val = irq_on_late ? top / 2 : top; in set_cc()
301 if (diff > max_rel_val) { in set_cc()