/Linux-v4.19/include/linux/ |
D | ktime.h | 37 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/ |
D | vcnl4000.c | 154 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/ |
D | softdog.c | 89 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/ |
D | pps_gen_parport.c | 147 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/ |
D | rtc-lib.c | 129 return ktime_set(rtc_tm_to_time64(&tm), 0); in rtc_tm_to_ktime()
|
D | interface.c | 566 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/ |
D | vkms_crtc.c | 42 out->period_ns = ktime_set(0, vblank->framedur_ns); in vkms_enable_vblank()
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_kms.h | 74 ktime_compare(ktime_sub((A), (B)), ktime_set(0, 0))
|
/Linux-v4.19/drivers/power/reset/ |
D | ltc2952-poweroff.c | 174 data->trigger_delay = ktime_set(2, 500L*1E6L); in ltc2952_poweroff_default()
|
/Linux-v4.19/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 288 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/ |
D | cx88-input.c | 184 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/ |
D | emulate.c | 71 ktime_set(dec_time, dec_nsec), HRTIMER_MODE_REL); in kvmppc_emulate_dec()
|
/Linux-v4.19/drivers/power/supply/ |
D | abx500_chargalg.c | 456 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/ |
D | procfs.c | 302 ktime_t kt = ktime_set(mono, NSEC_PER_SEC/2); in ktime_mono_to_real_seconds()
|
/Linux-v4.19/kernel/ |
D | torture.c | 520 shutdown_time = ktime_add(ktime_get(), ktime_set(ssecs, 0)); in torture_shutdown_init()
|
/Linux-v4.19/drivers/dma-buf/ |
D | sync_file.c | 401 ktime_set(0, 0); in sync_fill_fence_info()
|
/Linux-v4.19/drivers/gpu/drm/i915/gvt/ |
D | sched_policy.c | 352 ktime_set(GVT_SCHED_VGPU_PRI_TIME, 0)); in tbs_sched_start_schedule()
|
/Linux-v4.19/kernel/time/ |
D | timekeeping.c | 145 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()
|
D | ntp.c | 384 return ktime_set(ntp_next_leap_sec, 0); in ntp_get_next_leap()
|
/Linux-v4.19/net/xfrm/ |
D | xfrm_state.c | 541 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/ |
D | ptp.c | 454 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/ |
D | serial_ir.c | 372 if (ktime_compare(delkt, ktime_set(15, 0)) > 0) { in serial_ir_irq_handler()
|
/Linux-v4.19/drivers/usb/chipidea/ |
D | otg_fsm.c | 230 ktime_set(timer_sec, timer_nsec)); in ci_otg_add_timer()
|
/Linux-v4.19/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_core.c | 109 time_ref->tv_host = ktime_set(0, 0); in peak_usb_set_ts_now()
|
/Linux-v4.19/drivers/media/pci/pt3/ |
D | pt3.c | 447 delay = ktime_set(0, PT3_FETCH_DELAY * NSEC_PER_MSEC); in pt3_fetch_thread()
|