Home
last modified time | relevance | path

Searched refs:next_time (Results 1 – 21 of 21) sorted by relevance

/openbmc/qemu/hw/timer/
H A Di8254_common.c79 uint64_t d, next_time, base; in pit_get_next_transition_time() local
89 next_time = s->count; in pit_get_next_transition_time()
97 next_time = base + s->count; in pit_get_next_transition_time()
99 next_time = base + s->count + 1; in pit_get_next_transition_time()
106 next_time = base + period2; in pit_get_next_transition_time()
108 next_time = base + s->count; in pit_get_next_transition_time()
114 next_time = s->count; in pit_get_next_transition_time()
116 next_time = s->count + 1; in pit_get_next_transition_time()
123 next_time = s->count_load_time + muldiv64(next_time, NANOSECONDS_PER_SECOND, in pit_get_next_transition_time()
127 if (next_time <= current_time) { in pit_get_next_transition_time()
[all …]
H A Drenesas_cmt.c56 int64_t next_time; in update_events() local
62 next_time = cmt->cmcor[ch] - cmt->cmcnt[ch]; in update_events()
63 next_time *= NANOSECONDS_PER_SECOND; in update_events()
64 next_time /= cmt->input_freq; in update_events()
72 next_time *= 1 << (3 + FIELD_EX16(cmt->cmcr[ch], CMCR, CKS) * 2); in update_events()
73 next_time += qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in update_events()
74 timer_mod(&cmt->timer[ch], next_time); in update_events()
H A Drenesas_tmr.c66 int64_t next_time; in update_events() local
100 next_time = diff[event]; in update_events()
101 next_time *= clkdiv[FIELD_EX8(tmr->tccr[ch], TCCR, CKS)]; in update_events()
102 next_time *= NANOSECONDS_PER_SECOND; in update_events()
103 next_time /= tmr->input_freq; in update_events()
104 next_time += qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in update_events()
105 timer_mod(&tmr->timer[ch], next_time); in update_events()
/openbmc/qemu/hw/misc/
H A Dmos6522.c188 int64_t d, next_time; in get_next_irq_time() local
209 next_time = d + ti->latch + 1; in get_next_irq_time()
211 next_time = d + ti->latch + 2; in get_next_irq_time()
213 next_time = d + counter; in get_next_irq_time()
215 trace_mos6522_get_next_irq_time(ti->latch, d, next_time - d); in get_next_irq_time()
216 next_time = muldiv64(next_time, NANOSECONDS_PER_SECOND, ti->frequency) + in get_next_irq_time()
219 if (next_time <= current_time) { in get_next_irq_time()
220 next_time = current_time + 1; in get_next_irq_time()
222 return next_time; in get_next_irq_time()
/openbmc/qemu/hw/rtc/
H A Dm48t59.c92 uint64_t next_time; in alarm_cb() local
107 next_time = qemu_timedate_diff(&tm) - NVRAM->time_offset; in alarm_cb()
113 next_time = 24 * 60 * 60; in alarm_cb()
119 next_time = 60 * 60; in alarm_cb()
125 next_time = 60; in alarm_cb()
128 next_time = 1; in alarm_cb()
131 next_time * 1000); in alarm_cb()
/openbmc/linux/drivers/rtc/
H A Drtc-88pm80x.c79 unsigned long next_time; in rtc_next_alarm_time() local
90 next_time = rtc_tm_to_time64(next); in rtc_next_alarm_time()
92 if (next_time < now_time) { in rtc_next_alarm_time()
94 next_time += 60 * 60 * 24; in rtc_next_alarm_time()
95 rtc_time64_to_tm(next_time, next); in rtc_next_alarm_time()
/openbmc/linux/drivers/net/ethernet/engleder/
H A Dtsnep_selftests.c217 u64 next_time; in check_gate() local
236 index = get_operation(curr, system_time, &next_time); in check_gate()
250 index = get_operation(prev, system_time, &next_time); in check_gate()
251 next_time = curr->start_time; in check_gate()
270 next_time = curr->start_time; in check_gate()
275 if (gc_time != (next_time & 0xFFFFFFFF)) { in check_gate()
277 gc_time, next_time); in check_gate()
/openbmc/qemu/hw/intc/
H A Dapic_common.c172 s->next_time = s->initial_count_load_time + (d << s->count_shift); in apic_next_timer()
173 s->timer_expiry = s->next_time; in apic_next_timer()
222 s->next_time = 0; in apic_init_reset()
400 VMSTATE_INT64(next_time, APICCommonState),
H A Dapic.c777 timer_mod(s->timer, s->next_time); in apic_timer_update()
788 apic_timer_update(s, s->next_time); in apic_timer()
/openbmc/linux/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c2696 unsigned long next_time; in fcoe_ctlr_vn_age() local
2699 next_time = jiffies + msecs_to_jiffies(FIP_VN_BEACON_INT * 10); in fcoe_ctlr_vn_age()
2717 } else if (time_before(deadline, next_time)) in fcoe_ctlr_vn_age()
2718 next_time = deadline; in fcoe_ctlr_vn_age()
2722 return next_time; in fcoe_ctlr_vn_age()
3075 unsigned long next_time; in fcoe_ctlr_vn_timeout() local
3085 next_time = jiffies + msecs_to_jiffies(FIP_VN_PROBE_WAIT); in fcoe_ctlr_vn_timeout()
3091 next_time = jiffies + msecs_to_jiffies(FIP_VN_ANN_WAIT); in fcoe_ctlr_vn_timeout()
3102 next_time = jiffies + msecs_to_jiffies(FIP_VN_ANN_WAIT); in fcoe_ctlr_vn_timeout()
3109 next_time = fip->sol_time + msecs_to_jiffies(FIP_VN_ANN_WAIT); in fcoe_ctlr_vn_timeout()
[all …]
/openbmc/linux/net/sched/
H A Dsch_hfsc.c1379 u64 next_time = 0; in hfsc_schedule_watchdog() local
1383 next_time = cl->cl_e; in hfsc_schedule_watchdog()
1385 if (next_time == 0 || next_time > q->root.cl_cfmin) in hfsc_schedule_watchdog()
1386 next_time = q->root.cl_cfmin; in hfsc_schedule_watchdog()
1388 if (next_time) in hfsc_schedule_watchdog()
1389 qdisc_watchdog_schedule(&q->watchdog, next_time); in hfsc_schedule_watchdog()
/openbmc/linux/net/wireless/
H A Dmlme.c905 unsigned long timeout, next_time = 0; in cfg80211_dfs_channels_update_work() local
963 next_time = timeout - jiffies; in cfg80211_dfs_channels_update_work()
965 next_time = min(next_time, timeout - jiffies); in cfg80211_dfs_channels_update_work()
974 next_time); in cfg80211_dfs_channels_update_work()
/openbmc/qemu/include/hw/i386/
H A Dapic_internal.h182 int64_t next_time; member
/openbmc/linux/drivers/net/ethernet/cavium/liquidio/
H A Drequest_manager.c496 u64 next_time; in __check_db_timeout() local
509 next_time = iq->last_db_time + iq->db_timeout; in __check_db_timeout()
510 if (!time_after(jiffies, (unsigned long)next_time)) in __check_db_timeout()
/openbmc/qemu/hw/net/
H A Dpcnet.c658 int64_t next_time = current_time + in pcnet_get_next_poll_time() local
661 if (next_time <= current_time) { in pcnet_get_next_poll_time()
662 next_time = current_time + 1; in pcnet_get_next_poll_time()
664 return next_time; in pcnet_get_next_poll_time()
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_ap.c180 unsigned long next_time = 0; in ap_handle_timer() local
193 next_time = jiffies + HZ; in ap_handle_timer()
195 next_time = jiffies + ap->max_inactivity; in ap_handle_timer()
200 next_time = sta->last_rx + ap->max_inactivity; in ap_handle_timer()
205 next_time = jiffies + ap->max_inactivity; in ap_handle_timer()
208 if (next_time) { in ap_handle_timer()
209 sta->timer.expires = next_time; in ap_handle_timer()
/openbmc/linux/drivers/scsi/arcmsr/
H A Darcmsr_hba.c3855 unsigned int next_time; in arcmsr_set_iop_datetime() local
3938 next_time = ARCMSR_HOURS; in arcmsr_set_iop_datetime()
3940 next_time = ARCMSR_MINUTES; in arcmsr_set_iop_datetime()
3941 mod_timer(&pacb->refresh_timer, jiffies + msecs_to_jiffies(next_time)); in arcmsr_set_iop_datetime()
/openbmc/linux/net/ipv4/
H A Dnexthop.c615 static void nh_res_time_set_deadline(unsigned long next_time, in nh_res_time_set_deadline() argument
618 if (time_before(next_time, *deadline)) in nh_res_time_set_deadline()
619 *deadline = next_time; in nh_res_time_set_deadline()
/openbmc/linux/tools/perf/scripts/python/
H A Dexported-sql-viewer.py3473 next_time = int(query.value(0))
3475 if target_time > next_time:
3482 if target_time >= next_time:
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_sli.c1023 unsigned long next_time; in lpfc_handle_rrq_active() local
1029 next_time = jiffies + msecs_to_jiffies(1000 * (phba->fc_ratov + 1)); in lpfc_handle_rrq_active()
1034 else if (time_before(rrq->rrq_stop_time, next_time)) in lpfc_handle_rrq_active()
1035 next_time = rrq->rrq_stop_time; in lpfc_handle_rrq_active()
1040 mod_timer(&phba->rrq_tmr, next_time); in lpfc_handle_rrq_active()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/hddtemp/hddtemp/
H A Dhddtemp_0.3-beta15-52.diff2001 time_t next_time;