Searched refs:max_rel_val (Results 1 – 5 of 5) sorted by relevance
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()
219 uint32_t max_rel_val; in counter_stm32_set_cc() local234 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()
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()
235 uint32_t max_rel_val; in set_cc() local267 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()