Home
last modified time | relevance | path

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

123

/linux/drivers/watchdog/
A Dsoftdog.c137 hrtimer_start(&softdog_ticktock, ktime_set(w->timeout, 0), in softdog_ping()
143 ktime_set(w->timeout - w->pretimeout, 0), in softdog_ping()
A Dwatchdog_hrtimer_pretimeout.c35 ktime_set(wdd->timeout - wdd->pretimeout, 0), in watchdog_hrtimer_pretimeout_start()
/linux/include/linux/
A Dktime.h38 static inline ktime_t ktime_set(const s64 secs, const unsigned long nsecs) in ktime_set() function
73 return ktime_set(ts.tv_sec, ts.tv_nsec); in timespec64_to_ktime()
/linux/drivers/power/reset/
A Dltc2952-poweroff.c163 data->trigger_delay = ktime_set(2, 500L * NSEC_PER_MSEC); in ltc2952_poweroff_default()
182 data->trigger_delay = ktime_set(trigger_delay_ms / MSEC_PER_SEC, in ltc2952_poweroff_init()
/linux/drivers/pps/generators/
A Dpps_gen_parport.c133 ktime_set(expire_time.tv_sec + 1, in hrtimer_event()
173 return ktime_set(ts.tv_sec + in next_intr_time()
/linux/arch/riscv/kvm/
A Dvcpu_timer.c51 hrtimer_forward_now(&t->hrt, ktime_set(0, delta_ns)); in kvm_riscv_vcpu_hrtimer_expired()
85 hrtimer_start(&t->hrt, ktime_set(0, delta_ns), HRTIMER_MODE_REL); in kvm_riscv_vcpu_timer_next_event()
/linux/drivers/net/wwan/iosm/
A Diosm_ipc_imem.c75 ktime_set(0, IPC_TD_ALLOC_TIMER_PERIOD_MS * 1000 * 1000ULL); in ipc_imem_tq_td_alloc_timer()
167 ktime_set(0, TD_UPDATE_DEFAULT_TIMEOUT_USEC * 1000ULL); in ipc_imem_td_update_timer_start()
341 ktime_set(0, FORCE_UPDATE_DEFAULT_TIMEOUT_USEC * 1000ULL); in ipc_imem_dl_pipe_process()
455 ipc_imem->hrtimer_period = ktime_set(0, 100 * 1000UL * 1000ULL); in ipc_imem_tq_startup_timer_cb()
686 ktime_set(0, TD_UPDATE_DEFAULT_TIMEOUT_USEC * 1000ULL); in ipc_imem_handle_irq()
709 ktime_set(0, IPC_TD_ALLOC_TIMER_PERIOD_MS * 1000 * 1000ULL); in ipc_imem_handle_irq()
1215 ipc_imem->hrtimer_period = ktime_set(0, 1000 * 1000 * 1000ULL); in ipc_imem_config()
/linux/net/can/
A Disotp.c237 so->lastrxcf_tstamp = ktime_set(0, 0); in isotp_send_fc()
240 hrtimer_start(&so->rxtimer, ktime_set(1, 0), HRTIMER_MODE_REL_SOFT); in isotp_send_fc()
359 so->tx_gap = ktime_set(0, 0); in isotp_rcv_fc()
387 hrtimer_start(&so->txtimer, ktime_set(1, 0), in isotp_rcv_fc()
582 hrtimer_start(&so->rxtimer, ktime_set(1, 0), in isotp_rcv_cf()
824 ktime_set(1, 0))); in isotp_tx_timer_handler()
955 hrtimer_start(&so->txtimer, ktime_set(1, 0), HRTIMER_MODE_REL_SOFT); in isotp_sendmsg()
/linux/drivers/iio/light/
A Dvcnl4000.c243 data->vcnl4200_al.sampling_rate = ktime_set(0, 60000 * 1000); in vcnl4200_init()
245 data->vcnl4200_ps.sampling_rate = ktime_set(0, 5760 * 1000); in vcnl4200_init()
250 data->vcnl4200_al.sampling_rate = ktime_set(0, 96000 * 1000); in vcnl4200_init()
252 data->vcnl4200_ps.sampling_rate = ktime_set(0, 6000 * 1000); in vcnl4200_init()
/linux/drivers/gpu/drm/msm/disp/dpu1/
A Ddpu_kms.h65 ktime_compare(ktime_sub((A), (B)), ktime_set(0, 0))
/linux/drivers/rtc/
A Dlib.c180 return ktime_set(rtc_tm_to_time64(&tm), 0); in rtc_tm_to_ktime()
A Dinterface.c591 onesec = ktime_set(1, 0); in rtc_update_irq_enable()
594 rtc->uie_rtctimer.period = ktime_set(1, 0); in rtc_update_irq_enable()
/linux/include/net/
A Dpkt_sched.h193 skb->tstamp = ktime_set(0, 0); in skb_txtime_consumed()
/linux/drivers/media/pci/cx88/
A Dcx88-input.c175 ktime_set(0, ir->polling * 1000000)); in cx88_ir_work()
196 ktime_set(0, ir->polling * 1000000), in __cx88_ir_start()
/linux/drivers/net/ethernet/cadence/
A Dmacb_ptp.c291 shhwtstamps->hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in gem_ptp_rxstamp()
303 shhwtstamps.hwtstamp = ktime_set(ts.tv_sec, ts.tv_nsec); in gem_tstamp_tx()
/linux/net/netfilter/
A Dxt_IDLETIMER.c229 tout = ktime_set(info->timeout, 0); in idletimer_tg_create_v1()
276 ktime_t tout = ktime_set(info->timeout, 0); in idletimer_tg_target_v1()
/linux/drivers/hwmon/
A Dbt1-pvt.c710 kt = ktime_set(0, 0); in pvt_write_timeout()
1042 pvt->timeout = ktime_set(PVT_SENSORS_NUM * PVT_TOUT_DEF, 0); in pvt_init_iface()
1046 pvt->timeout = ktime_set(PVT_TOUT_DEF, 0); in pvt_init_iface()
/linux/drivers/net/ethernet/intel/igc/
A Digc_tsn.c216 systim = ktime_set(sec, nsec); in igc_tsn_enable_offload()
A Digc_ptp.c428 hwtstamps->hwtstamp = ktime_set(systim >> 32, in igc_ptp_systim_to_hwtstamp()
466 timestamp = ktime_set(secs, nsecs); in igc_ptp_rx_pktstamp()
885 t1 = ktime_set(rd32(IGC_PTM_T1_TIM0_H), rd32(IGC_PTM_T1_TIM0_L)); in igc_phc_get_syncdevicetime()
/linux/arch/powerpc/kvm/
A Demulate.c59 ktime_set(dec_time, dec_nsec), HRTIMER_MODE_REL); in kvmppc_emulate_dec()
/linux/drivers/base/power/
A Ddomain_governor.c357 domain_wakeup = ktime_set(KTIME_SEC_MAX, 0); in cpu_power_down_ok()
/linux/kernel/time/
A Dntp.c385 return ktime_set(ntp_next_leap_sec, 0); in ntp_get_next_leap()
512 ktime_t exp = ktime_set(ktime_get_real_seconds(), 0); in sched_sync_hw_clock()
/linux/drivers/gpu/drm/vkms/
A Dvkms_crtc.c73 out->period_ns = ktime_set(0, vblank->framedur_ns); in vkms_enable_vblank()
/linux/drivers/power/supply/
A Dab8500_chargalg.c458 ktime_set(timer_expiration * ONE_HOUR_IN_SECONDS, 0), in ab8500_chargalg_start_safety_timer()
459 ktime_set(FIVE_MINUTES_IN_SECONDS, 0)); in ab8500_chargalg_start_safety_timer()
488 ktime_set(duration * ONE_HOUR_IN_SECONDS, 0), in ab8500_chargalg_start_maintenance_timer()
489 ktime_set(FIVE_MINUTES_IN_SECONDS, 0)); in ab8500_chargalg_start_maintenance_timer()
/linux/net/rds/
A Drecv.c51 inc->i_usercopy.rx_tstamp = ktime_set(0, 0); in rds_inc_init()
66 inc->i_usercopy.rx_tstamp = ktime_set(0, 0); in rds_inc_path_init()

Completed in 58 milliseconds

123