Searched refs:next_cycle (Results 1 – 4 of 4) sorted by relevance
107 uint64_t next_cycle = last_cycle + CYC_PER_TICK; in arm_arch_timer_compare_isr() local109 arm_arch_timer_set_compare(next_cycle); in arm_arch_timer_compare_isr()152 uint64_t next_cycle; in sys_clock_set_timeout() local155 next_cycle = last_cycle + CYCLES_MAX; in sys_clock_set_timeout()157 next_cycle = (last_tick + last_elapsed + ticks) * CYC_PER_TICK; in sys_clock_set_timeout()158 if ((next_cycle - last_cycle) > CYCLES_MAX) { in sys_clock_set_timeout()159 next_cycle = last_cycle + CYCLES_MAX; in sys_clock_set_timeout()163 arm_arch_timer_set_compare(next_cycle); in sys_clock_set_timeout()
142 uint64_t next_cycle = last_cycle + CYC_PER_TICK; in isr() local144 set_trigger(next_cycle); in isr()160 uint64_t next_cycle; in sys_clock_set_timeout() local163 next_cycle = last_cycle + CYCLES_MAX; in sys_clock_set_timeout()165 next_cycle = (last_tick + last_elapsed + ticks) * CYC_PER_TICK; in sys_clock_set_timeout()166 if ((next_cycle - last_cycle) > CYCLES_MAX) { in sys_clock_set_timeout()167 next_cycle = last_cycle + CYCLES_MAX; in sys_clock_set_timeout()179 if (next_cycle < last_cycle) { in sys_clock_set_timeout()180 next_cycle = UINT64_MAX; in sys_clock_set_timeout()182 set_trigger(next_cycle); in sys_clock_set_timeout()
73 uint64_t next_cycle = curr_cycle + CYC_PER_TICK; in ti_dmtimer_isr() local75 TI_DM_TIMER_WRITE(next_cycle, TMAR, COMPARE_VALUE); in ti_dmtimer_isr()98 uint32_t next_cycle = curr_cycle + (ticks * CYC_PER_TICK); in sys_clock_set_timeout() local100 TI_DM_TIMER_WRITE(next_cycle, TMAR, COMPARE_VALUE); in sys_clock_set_timeout()
465 static int process_pubs(struct mqtt_sn_client *client, int64_t *next_cycle) in process_pubs() argument472 *next_cycle = 0; in process_pubs()515 if (next_attempt > now && (*next_cycle == 0 || next_attempt < *next_cycle)) { in process_pubs()516 *next_cycle = next_attempt; in process_pubs()523 static int process_topics(struct mqtt_sn_client *client, int64_t *next_cycle) in process_topics() argument581 if (next_attempt > now && (*next_cycle == 0 || next_attempt < *next_cycle)) { in process_topics()582 *next_cycle = next_attempt; in process_topics()589 static int process_ping(struct mqtt_sn_client *client, int64_t *next_cycle) in process_ping() argument614 if (*next_cycle == 0 || next_ping < *next_cycle) { in process_ping()615 *next_cycle = next_ping; in process_ping()[all …]