Home
last modified time | relevance | path

Searched refs:ktime_divns (Results 1 – 19 of 19) sorted by relevance

/Linux-v6.6/include/linux/
Dktime.h130 static inline s64 ktime_divns(const ktime_t kt, s64 div) in ktime_divns() function
148 static inline s64 ktime_divns(const ktime_t kt, s64 div) in ktime_divns() function
161 return ktime_divns(kt, NSEC_PER_USEC); in ktime_to_us()
166 return ktime_divns(kt, NSEC_PER_MSEC); in ktime_to_ms()
Dtimekeeping.h200 return ktime_divns(ktime_get_coarse_boottime(), NSEC_PER_SEC); in ktime_get_boottime_seconds()
215 return ktime_divns(ktime_get_coarse_clocktai(), NSEC_PER_SEC); in ktime_get_clocktai_seconds()
/Linux-v6.6/drivers/isdn/mISDN/
Dclock.c165 delta = ktime_divns(ktime_sub(timestamp_now, iclock_timestamp), in mISDN_clock_update()
190 delta = ktime_divns(ktime_sub(timestamp_now, iclock_timestamp), in mISDN_clock_get()
/Linux-v6.6/drivers/hwmon/
Dbt1-pvt.c677 kt = ktime_divns(kt, PVT_SENSORS_NUM); in pvt_write_timeout()
692 data = ktime_divns(kt * rate, NSEC_PER_SEC); in pvt_write_timeout()
1012 pvt->timeout = ktime_divns(pvt->timeout, rate); in pvt_init_iface()
1016 pvt->timeout = ktime_divns(pvt->timeout, rate); in pvt_init_iface()
/Linux-v6.6/drivers/media/test-drivers/vivid/
Dvivid-radio-tx.c50 blk = ktime_divns(timestamp, VIVID_RDS_NSEC_PER_BLK); in vivid_radio_tx_write()
Dvivid-radio-rx.c56 blk = ktime_divns(timestamp, VIVID_RDS_NSEC_PER_BLK); in vivid_radio_rx_read()
/Linux-v6.6/sound/core/
Dhrtimer.c48 ticks += ktime_divns(delta, ticks * resolution); in snd_hrtimer_callback()
/Linux-v6.6/include/net/
Derspan.h232 h_usecs = ktime_divns(kt, 100 * NSEC_PER_USEC); in erspan_get_timestamp()
/Linux-v6.6/drivers/gpu/drm/msm/
Dmsm_drv.h554 remaining_jiffies = ktime_divns(rem, NSEC_PER_SEC / HZ); in timeout_to_jiffies()
/Linux-v6.6/fs/reiserfs/
Dprocfs.c304 return ktime_divns(ktime_mono_to_real(kt), NSEC_PER_SEC); in ktime_mono_to_real_seconds()
/Linux-v6.6/drivers/gpu/drm/i915/gvt/
Dsched_policy.c114 fair_timeslice = ktime_divns(ms_to_ktime(GVT_TS_BALANCE_PERIOD_MS), in gvt_balance_timeslice()
/Linux-v6.6/kernel/power/
Dhibernate.c268 elapsed_centisecs64 = ktime_divns(diff, 10*NSEC_PER_MSEC); in swsusp_show_speed()
/Linux-v6.6/kernel/time/
Dalarmtimer.c453 overrun = ktime_divns(delta, incr); in alarm_forward()
Dtick-sched.c108 ticks += ktime_divns(delta, incr); in tick_do_update_jiffies64()
Dhrtimer.c1059 orun = ktime_divns(delta, incr); in hrtimer_forward()
/Linux-v6.6/fs/afs/
Dyfsclient.c236 cb->expires_at = ktime_divns(cb_expiry, NSEC_PER_SEC); in xdr_decode_YFSCallBack()
Dfsclient.c134 return ktime_divns(call->issue_time, NSEC_PER_SEC) + expiry; in xdr_decode_expiry()
/Linux-v6.6/drivers/ptp/
Dptp_ocp.c1835 s->pulse = ktime_divns(s->period * s->duty, 100); in ptp_ocp_signal_set()
1875 s.duty = ktime_divns(s.pulse * 100, s.period); in ptp_ocp_signal_from_perout()
/Linux-v6.6/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c528 ktime_divns(NSEC_PER_SEC, frame_duration_ns)); in dm_vupdate_high_irq()