Home
last modified time | relevance | path

Searched refs:ktime_set (Results 1 – 25 of 48) sorted by relevance

12

/Linux-v4.19/include/linux/
Dktime.h37 static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs) in ktime_set() function
72 return ktime_set(ts.tv_sec, ts.tv_nsec); in timespec_to_ktime()
78 return ktime_set(ts.tv_sec, ts.tv_nsec); in timespec64_to_ktime()
84 return ktime_set(tv.tv_sec, tv.tv_usec * NSEC_PER_USEC); in timeval_to_ktime()
/Linux-v4.19/drivers/iio/light/
Dvcnl4000.c154 data->vcnl4200_al.sampling_rate = ktime_set(0, 54000 * 1000); in vcnl4200_init()
155 data->vcnl4200_ps.sampling_rate = ktime_set(0, 4200 * 1000); in vcnl4200_init()
156 data->vcnl4200_al.last_measurement = ktime_set(0, 0); in vcnl4200_init()
157 data->vcnl4200_ps.last_measurement = ktime_set(0, 0); in vcnl4200_init()
/Linux-v4.19/drivers/watchdog/
Dsoftdog.c89 hrtimer_start(&softdog_ticktock, ktime_set(w->timeout, 0), in softdog_ping()
95 ktime_set(w->timeout - w->pretimeout, 0), in softdog_ping()
/Linux-v4.19/drivers/pps/generators/
Dpps_gen_parport.c147 ktime_set(expire_time.tv_sec + 1, in hrtimer_event()
187 return ktime_set(ts.tv_sec + in next_intr_time()
/Linux-v4.19/drivers/rtc/
Drtc-lib.c129 return ktime_set(rtc_tm_to_time64(&tm), 0); in rtc_tm_to_ktime()
Dinterface.c566 onesec = ktime_set(1, 0); in rtc_update_irq_enable()
569 rtc->uie_rtctimer.period = ktime_set(1, 0); in rtc_update_irq_enable()
/Linux-v4.19/drivers/gpu/drm/vkms/
Dvkms_crtc.c42 out->period_ns = ktime_set(0, vblank->framedur_ns); in vkms_enable_vblank()
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_kms.h74 ktime_compare(ktime_sub((A), (B)), ktime_set(0, 0))
/Linux-v4.19/drivers/power/reset/
Dltc2952-poweroff.c174 data->trigger_delay = ktime_set(2, 500L*1E6L); in ltc2952_poweroff_default()
/Linux-v4.19/drivers/net/ethernet/cadence/
Dmacb_ptp.c288 shhwtstamps->hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in gem_ptp_rxstamp()
300 shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in gem_tstamp_tx()
/Linux-v4.19/drivers/media/pci/cx88/
Dcx88-input.c184 ktime_set(0, ir->polling * 1000000)); in cx88_ir_work()
205 ktime_set(0, ir->polling * 1000000), in __cx88_ir_start()
/Linux-v4.19/arch/powerpc/kvm/
Demulate.c71 ktime_set(dec_time, dec_nsec), HRTIMER_MODE_REL); in kvmppc_emulate_dec()
/Linux-v4.19/drivers/power/supply/
Dabx500_chargalg.c456 ktime_set(timer_expiration * ONE_HOUR_IN_SECONDS, 0), in abx500_chargalg_start_safety_timer()
457 ktime_set(FIVE_MINUTES_IN_SECONDS, 0)); in abx500_chargalg_start_safety_timer()
486 ktime_set(duration * ONE_HOUR_IN_SECONDS, 0), in abx500_chargalg_start_maintenance_timer()
487 ktime_set(FIVE_MINUTES_IN_SECONDS, 0)); in abx500_chargalg_start_maintenance_timer()
/Linux-v4.19/fs/reiserfs/
Dprocfs.c302 ktime_t kt = ktime_set(mono, NSEC_PER_SEC/2); in ktime_mono_to_real_seconds()
/Linux-v4.19/kernel/
Dtorture.c520 shutdown_time = ktime_add(ktime_get(), ktime_set(ssecs, 0)); in torture_shutdown_init()
/Linux-v4.19/drivers/dma-buf/
Dsync_file.c401 ktime_set(0, 0); in sync_fill_fence_info()
/Linux-v4.19/drivers/gpu/drm/i915/gvt/
Dsched_policy.c352 ktime_set(GVT_SCHED_VGPU_PRI_TIME, 0)); in tbs_sched_start_schedule()
/Linux-v4.19/kernel/time/
Dtimekeeping.c145 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tk->tai_offset, 0)); in tk_set_wall_to_mono()
1361 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tai_offset, 0)); in __timekeeping_set_tai_offset()
2262 *offs_real = ktime_sub(tk->offs_real, ktime_set(1, 0)); in ktime_get_update_offsets_now()
Dntp.c384 return ktime_set(ntp_next_leap_sec, 0); in ntp_get_next_leap()
/Linux-v4.19/net/xfrm/
Dxfrm_state.c541 tasklet_hrtimer_start(&x->mtimer, ktime_set(next, 0), HRTIMER_MODE_REL); in xfrm_timer_handler()
1036 tasklet_hrtimer_start(&x->mtimer, ktime_set(net->xfrm.sysctl_acq_expires, 0), HRTIMER_MODE_REL); in xfrm_state_find()
1148 tasklet_hrtimer_start(&x->mtimer, ktime_set(1, 0), HRTIMER_MODE_REL); in __xfrm_state_insert()
1255 tasklet_hrtimer_start(&x->mtimer, ktime_set(net->xfrm.sysctl_acq_expires, 0), HRTIMER_MODE_REL); in __find_acq_core()
1560 tasklet_hrtimer_start(&x1->mtimer, ktime_set(1, 0), HRTIMER_MODE_REL); in xfrm_state_update()
/Linux-v4.19/drivers/net/ethernet/sfc/
Dptp.c454 ktime_t kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_ns_to_ktime_correction()
497 return ktime_set(nic_major, ns); in efx_ptp_s27_to_ktime()
533 kt = ktime_set(nic_major, nic_minor); in efx_ptp_s_qns_to_ktime_correction()
/Linux-v4.19/drivers/media/rc/
Dserial_ir.c372 if (ktime_compare(delkt, ktime_set(15, 0)) > 0) { in serial_ir_irq_handler()
/Linux-v4.19/drivers/usb/chipidea/
Dotg_fsm.c230 ktime_set(timer_sec, timer_nsec)); in ci_otg_add_timer()
/Linux-v4.19/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.c109 time_ref->tv_host = ktime_set(0, 0); in peak_usb_set_ts_now()
/Linux-v4.19/drivers/media/pci/pt3/
Dpt3.c447 delay = ktime_set(0, PT3_FETCH_DELAY * NSEC_PER_MSEC); in pt3_fetch_thread()

12