Searched refs:max_rel_val (Results 1 – 7 of 7) sorted by relevance
113 uint32_t max_rel_val; in counter_smartbond_set_alarm() local132 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()
362 uint32_t max_rel_val; in ifx_cat1_counter_set_alarm() local372 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()
147 uint32_t max_rel_val; in set_cc() local163 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()
217 uint32_t now, diff, max_rel_val; in set_cc() local234 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()
211 uint32_t max_rel_val; in counter_stm32_set_cc() local226 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()
251 uint32_t irq_on_late, max_rel_val; in atcpit100_set_alarm() local254 max_rel_val = top - (data->guard_period * config->divider); in atcpit100_set_alarm()266 if (reg > max_rel_val) { in atcpit100_set_alarm()
236 uint32_t max_rel_val; in set_cc() local268 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()