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()
74 uint64_t next_cycle = curr_cycle + CYC_PER_TICK; in ti_dmtimer_isr() local76 TI_DM_TIMER_WRITE(next_cycle, TMAR, COMPARE_VALUE); in ti_dmtimer_isr()99 uint32_t next_cycle = curr_cycle + (ticks * CYC_PER_TICK); in sys_clock_set_timeout() local101 TI_DM_TIMER_WRITE(next_cycle, TMAR, COMPARE_VALUE); in sys_clock_set_timeout()
582 static int process_pubs(struct mqtt_sn_client *client, int64_t *next_cycle) in process_pubs() argument630 if (next_attempt > now && (*next_cycle == 0 || next_attempt < *next_cycle)) { in process_pubs()631 *next_cycle = next_attempt; in process_pubs()635 LOG_DBG("next_cycle: %lld", *next_cycle); in process_pubs()640 static int process_topics(struct mqtt_sn_client *client, int64_t *next_cycle) in process_topics() argument698 if (next_attempt > now && (*next_cycle == 0 || next_attempt < *next_cycle)) { in process_topics()699 *next_cycle = next_attempt; in process_topics()703 LOG_DBG("next_cycle: %lld", *next_cycle); in process_topics()708 static int process_ping(struct mqtt_sn_client *client, int64_t *next_cycle) in process_ping() argument737 if (*next_cycle == 0 || next_ping < *next_cycle) { in process_ping()[all …]