Home
last modified time | relevance | path

Searched refs:t_now (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Dtlv320dac33.c1142 unsigned long long t0, t1, t_now; in dac33_dai_delay() local
1156 t_now = ktime_to_us(ktime_get()); in dac33_dai_delay()
1167 time_delta = t_now - t0; in dac33_dai_delay()
1176 } else if ((t_now - t1) <= dac33->mode1_us_burst) { in dac33_dai_delay()
1181 time_delta = t_now - t0; in dac33_dai_delay()
1186 time_delta = t_now - t1; in dac33_dai_delay()
1203 time_delta = t_now - t0; in dac33_dai_delay()
1224 t_now = ktime_to_us(ktime_get()); in dac33_dai_delay()
1230 if (t_now <= t0) { in dac33_dai_delay()
1239 time_delta = t_now - t0; in dac33_dai_delay()
/openbmc/linux/drivers/rtc/
H A Drtc-cmos.c1186 time64_t t_now; in cmos_aie_poweroff() local
1202 t_now = rtc_tm_to_time64(&now); in cmos_aie_poweroff()
1213 if (cmos->alarm_expires == t_now + 1) { in cmos_aie_poweroff()
1217 rtc_time64_to_tm(t_now - 1, &alarm.time); in cmos_aie_poweroff()
1220 } else if (cmos->alarm_expires > t_now + 1) { in cmos_aie_poweroff()
1286 time64_t t_now; in cmos_check_wkalrm() local
1296 t_now = rtc_tm_to_time64(&now); in cmos_check_wkalrm()
1302 if (t_now >= cmos->alarm_expires && cmos_use_acpi_alarm()) { in cmos_check_wkalrm()
H A Dinterface.c217 time64_t t_now, t_alm; in __rtc_read_alarm() local
326 t_now = rtc_tm_to_time64(&now); in __rtc_read_alarm()
328 if (t_now < t_alm) in __rtc_read_alarm()
/openbmc/qemu/hw/usb/
H A Dhcd-uhci.c1105 uint64_t t_now, t_last_run; in uhci_frame_timer() local
1124 t_now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in uhci_frame_timer()
1127 frames = (t_now - t_last_run) / frame_t; in uhci_frame_timer()
1160 timer_mod(s->frame_timer, t_now + frame_t); in uhci_frame_timer()
H A Dhcd-dwc2.c573 int64_t t_now, expire_time; in dwc2_work_bh() local
583 t_now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in dwc2_work_bh()
605 expire_time = t_now + NANOSECONDS_PER_SECOND / 4000; in dwc2_work_bh()
H A Dhcd-ehci.c2268 int64_t expire_time, t_now; in ehci_work_bh() local
2278 t_now = qemu_clock_get_ns(QEMU_CLOCK_VIRTUAL); in ehci_work_bh()
2279 ns_elapsed = t_now - ehci->last_run_ns; in ehci_work_bh()
2350 expire_time = t_now + in ehci_work_bh()
2354 expire_time = t_now + (NANOSECONDS_PER_SECOND in ehci_work_bh()