Home
last modified time | relevance | path

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

/Zephyr-Core-3.4.0/drivers/counter/
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.c219 uint32_t max_rel_val; in counter_stm32_set_cc() local
234 max_rel_val = top - data->guard_period; in counter_stm32_set_cc()
248 max_rel_val = irq_on_late ? top / 2U : top; in counter_stm32_set_cc()
258 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.c235 uint32_t max_rel_val; in set_cc() local
267 max_rel_val = top - data->guard_period; in set_cc()
280 max_rel_val = irq_on_late ? top / 2 : top; in set_cc()
300 if (diff > max_rel_val) { in set_cc()