Home
last modified time | relevance | path

Searched refs:ns_to_ktime (Results 1 – 25 of 93) sorted by relevance

1234

/Linux-v5.4/drivers/oprofile/
Dtimer_int.c29 hrtimer_forward_now(hrtimer, ns_to_ktime(TICK_NSEC)); in oprofile_hrtimer_notify()
43 hrtimer_start(hrtimer, ns_to_ktime(TICK_NSEC), in __oprofile_hrtimer_start()
/Linux-v5.4/drivers/media/cec/
Dcec-pin.c332 pin->ts = ns_to_ktime(0); in cec_pin_to_idle()
875 hrtimer_forward_now(timer, ns_to_ktime(100000)); in cec_pin_timer()
882 ns_to_ktime(pin->wait_usecs * 1000)); in cec_pin_timer()
887 ns_to_ktime(pin->wait_usecs * 1000)); in cec_pin_timer()
1023 ns_to_ktime(usecs * 1000)); in cec_pin_timer()
1028 hrtimer_forward_now(timer, ns_to_ktime(100000)); in cec_pin_timer()
1060 ns_to_ktime(pin->work_rx_msg.rx_ts)); in cec_pin_thread_func()
1089 hrtimer_start(&pin->timer, ns_to_ktime(0), in cec_pin_thread_func()
1096 hrtimer_start(&pin->timer, ns_to_ktime(0), in cec_pin_thread_func()
1122 pin->timer_ts = ns_to_ktime(0); in cec_pin_adap_enable()
[all …]
/Linux-v5.4/drivers/cpuidle/
Dcpuidle.c136 time_start = ns_to_ktime(local_clock()); in enter_s2idle_proper()
160 time_end = ns_to_ktime(local_clock()); in enter_s2idle_proper()
226 time_start = ns_to_ktime(local_clock()); in cpuidle_enter_state()
233 time_end = ns_to_ktime(local_clock()); in cpuidle_enter_state()
/Linux-v5.4/drivers/powercap/
Didle_inject.c116 hrtimer_forward_now(timer, ns_to_ktime(duration_us * NSEC_PER_USEC)); in idle_inject_timer_fn()
196 ns_to_ktime((idle_duration_us + run_duration_us) * in idle_inject_start()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.h56 return ns_to_ktime(nsec); in mlx5_timecounter_cyc2time()
/Linux-v5.4/sound/soc/fsl/
Dimx-pcm-fiq.c63 hrtimer_forward_now(hrt, ns_to_ktime(iprtd->poll_time_ns)); in snd_hrtimer_callback()
120 hrtimer_start(&iprtd->hrt, ns_to_ktime(iprtd->poll_time_ns), in snd_imx_pcm_trigger()
/Linux-v5.4/kernel/
Dwatchdog.c384 hrtimer_forward_now(hrtimer, ns_to_ktime(sample_period)); in watchdog_timer_fn()
495 hrtimer_start(hrtimer, ns_to_ktime(sample_period), in watchdog_enable()
/Linux-v5.4/sound/core/
Dhrtimer.c101 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start()
/Linux-v5.4/drivers/char/hw_random/
Dtimeriomem-rng.c155 priv->period = ns_to_ktime(period * NSEC_PER_USEC); in timeriomem_rng_probe()
/Linux-v5.4/drivers/net/ethernet/ti/
Dcpts.c118 ssh.hwtstamp = ns_to_ktime(ns); in cpts_match_tx_ts()
427 ssh->hwtstamp = ns_to_ktime(ns); in cpts_rx_timestamp()
442 ssh.hwtstamp = ns_to_ktime(ns); in cpts_tx_timestamp()
/Linux-v5.4/include/linux/
Dktime.h265 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime() function
Dhrtimer.h254 timer->node.expires = ktime_add_safe(time, ns_to_ktime(delta)); in hrtimer_set_expires_range_ns()
/Linux-v5.4/net/rxrpc/
Dcall_event.c169 timeout = ns_to_ktime(call->peer->rtt * 3 / 2); in rxrpc_resend()
172 min_timeo = ns_to_ktime((1000000000 / HZ) * 4); in rxrpc_resend()
/Linux-v5.4/drivers/net/ethernet/qlogic/qede/
Dqede_ptp.c194 shhwtstamps.hwtstamp = ns_to_ktime(ns); in qede_ptp_task()
577 skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(ns); in qede_ptp_rx_ts()
/Linux-v5.4/kernel/time/
Dsched_clock.c189 cd.wrap_kt = ns_to_ktime(wrap); in sched_clock_register()
/Linux-v5.4/drivers/media/rc/
Dir-rx51.c129 ns_to_ktime(US_TO_NS(ir_rx51->wbuf[0])), in ir_rx51_tx()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c74 hwts->hwtstamp = ns_to_ktime(nsec); in mlx4_en_fill_hwtstamps()
/Linux-v5.4/kernel/sched/
Didle.c336 hrtimer_start(&it.timer, ns_to_ktime(duration_us * NSEC_PER_USEC), in play_idle()
/Linux-v5.4/drivers/net/dsa/mv88e6xxx/
Dhwtstamp.c335 shwt->hwtstamp = ns_to_ktime(ns); in mv88e6xxx_get_rxts()
453 shhwtstamps.hwtstamp = ns_to_ktime(ns); in mv88e6xxx_txtstamp_work()
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/
Dptp.c133 *device = ns_to_ktime(timecounter_cyc2time(&adapter->tc, dev_cycles)); in e1000e_phc_get_syncdevicetime()
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_display.c132 if (stime) *stime = ns_to_ktime(args.scan.time[0]); in nouveau_display_scanoutpos_head()
133 if (etime) *etime = ns_to_ktime(args.scan.time[1]); in nouveau_display_scanoutpos_head()
/Linux-v5.4/drivers/perf/
Dthunderx2_pmu.c463 ns_to_ktime(tx2_pmu->hrtimer_interval), in tx2_uncore_event_start()
545 hrtimer_forward_now(timer, ns_to_ktime(tx2_pmu->hrtimer_interval)); in tx2_hrtimer_callback()
/Linux-v5.4/sound/drivers/pcsp/
Dpcsp_lib.c148 hrtimer_forward(handle, hrtimer_get_expires(handle), ns_to_ktime(ns)); in pcsp_do_timer()
/Linux-v5.4/drivers/firmware/tegra/
Dbpmp.c166 start = ns_to_ktime(local_clock()); in tegra_bpmp_wait_request_channel_free()
172 now = ns_to_ktime(local_clock()); in tegra_bpmp_wait_request_channel_free()
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/
Dpll.c206 wait = ns_to_ktime(1000 * 1000); in wait_for_bit_change()

1234