Lines Matching refs:delta
297 uint64_t delta; in hpet_set_periodic() local
300 delta = ((uint64_t)(NSEC_PER_SEC / HZ)) * evt->mult; in hpet_set_periodic()
301 delta >>= evt->shift; in hpet_set_periodic()
303 cmp = now + (unsigned int)delta; in hpet_set_periodic()
317 hpet_writel((unsigned int)delta, HPET_Tn_CMP(timer)); in hpet_set_periodic()
364 static int hpet_next_event(unsigned long delta, in hpet_next_event() argument
371 cnt += (u32) delta; in hpet_next_event()
421 static int hpet_legacy_next_event(unsigned long delta, in hpet_legacy_next_event() argument
424 return hpet_next_event(delta, evt, 0); in hpet_legacy_next_event()
515 static int hpet_msi_next_event(unsigned long delta, in hpet_msi_next_event() argument
519 return hpet_next_event(delta, evt, hdev->num); in hpet_msi_next_event()
1086 unsigned int cfg, cnt, delta; in hpet_rtc_timer_init() local
1101 delta = hpet_default_delta; in hpet_rtc_timer_init()
1103 delta = hpet_pie_delta; in hpet_rtc_timer_init()
1107 cnt = delta + hpet_readl(HPET_COUNTER); in hpet_rtc_timer_init()
1208 unsigned int delta; in hpet_rtc_timer_reinit() local
1215 delta = hpet_default_delta; in hpet_rtc_timer_reinit()
1217 delta = hpet_pie_delta; in hpet_rtc_timer_reinit()
1224 hpet_t1_cmp += delta; in hpet_rtc_timer_reinit()