/Linux-v4.19/drivers/oprofile/ |
D | timer_int.c | 29 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-v4.19/drivers/media/cec/ |
D | cec-pin.c | 332 pin->ts = ns_to_ktime(0); in cec_pin_to_idle() 874 hrtimer_forward_now(timer, ns_to_ktime(100000)); in cec_pin_timer() 881 ns_to_ktime(pin->wait_usecs * 1000)); in cec_pin_timer() 886 ns_to_ktime(pin->wait_usecs * 1000)); in cec_pin_timer() 1011 ns_to_ktime(usecs * 1000)); in cec_pin_timer() 1016 hrtimer_forward_now(timer, ns_to_ktime(100000)); in cec_pin_timer() 1048 ns_to_ktime(pin->work_rx_msg.rx_ts)); in cec_pin_thread_func() 1077 hrtimer_start(&pin->timer, ns_to_ktime(0), in cec_pin_thread_func() 1084 hrtimer_start(&pin->timer, ns_to_ktime(0), in cec_pin_thread_func() 1110 pin->timer_ts = ns_to_ktime(0); in cec_pin_adap_enable() [all …]
|
/Linux-v4.19/drivers/cpuidle/ |
D | cpuidle.c | 136 time_start = ns_to_ktime(local_clock()); in enter_s2idle_proper() 160 time_end = ns_to_ktime(local_clock()); in enter_s2idle_proper() 227 time_start = ns_to_ktime(local_clock()); in cpuidle_enter_state() 234 time_end = ns_to_ktime(local_clock()); in cpuidle_enter_state()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.h | 55 return ns_to_ktime(nsec); in mlx5_timecounter_cyc2time()
|
/Linux-v4.19/sound/soc/fsl/ |
D | imx-pcm-fiq.c | 68 hrtimer_forward_now(hrt, ns_to_ktime(iprtd->poll_time_ns)); in snd_hrtimer_callback() 125 hrtimer_start(&iprtd->hrt, ns_to_ktime(iprtd->poll_time_ns), in snd_imx_pcm_trigger()
|
/Linux-v4.19/drivers/net/ethernet/ti/ |
D | cpts.c | 110 ssh.hwtstamp = ns_to_ktime(ns); in cpts_match_tx_ts() 420 ssh->hwtstamp = ns_to_ktime(ns); in cpts_rx_timestamp() 435 ssh.hwtstamp = ns_to_ktime(ns); in cpts_tx_timestamp()
|
/Linux-v4.19/kernel/ |
D | watchdog.c | 377 hrtimer_forward_now(hrtimer, ns_to_ktime(sample_period)); in watchdog_timer_fn() 488 hrtimer_start(hrtimer, ns_to_ktime(sample_period), in watchdog_enable()
|
/Linux-v4.19/sound/core/ |
D | hrtimer.c | 115 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start()
|
/Linux-v4.19/drivers/char/hw_random/ |
D | timeriomem-rng.c | 158 priv->period = ns_to_ktime(period * NSEC_PER_USEC); in timeriomem_rng_probe()
|
/Linux-v4.19/include/linux/ |
D | ktime.h | 265 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime() function
|
D | hrtimer.h | 238 timer->node.expires = ktime_add_safe(time, ns_to_ktime(delta)); in hrtimer_set_expires_range_ns()
|
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/ |
D | qede_ptp.c | 180 shhwtstamps.hwtstamp = ns_to_ktime(ns); in qede_ptp_task() 555 skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(ns); in qede_ptp_rx_ts()
|
/Linux-v4.19/net/rxrpc/ |
D | call_event.c | 175 timeout = ns_to_ktime(call->peer->rtt * 3 / 2); in rxrpc_resend() 178 min_timeo = ns_to_ktime((1000000000 / HZ) * 4); in rxrpc_resend()
|
/Linux-v4.19/drivers/media/rc/ |
D | ir-rx51.c | 138 ns_to_ktime(US_TO_NS(ir_rx51->wbuf[0])), in ir_rx51_tx()
|
/Linux-v4.19/kernel/time/ |
D | sched_clock.c | 190 cd.wrap_kt = ns_to_ktime(wrap); in sched_clock_register()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 74 hwts->hwtstamp = ns_to_ktime(nsec); in mlx4_en_fill_hwtstamps()
|
/Linux-v4.19/drivers/net/dsa/mv88e6xxx/ |
D | hwtstamp.c | 339 shwt->hwtstamp = ns_to_ktime(ns); in mv88e6xxx_get_rxts() 457 shhwtstamps.hwtstamp = ns_to_ktime(ns); in mv88e6xxx_txtstamp_work()
|
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/ |
D | ptp.c | 133 *device = ns_to_ktime(timecounter_cyc2time(&adapter->tc, dev_cycles)); in e1000e_phc_get_syncdevicetime()
|
/Linux-v4.19/virt/kvm/arm/ |
D | arch_timer.c | 187 hrtimer_forward_now(hrt, ns_to_ktime(ns)); in kvm_bg_timer_expire() 213 hrtimer_forward_now(hrt, ns_to_ktime(ns)); in kvm_phys_timer_expire()
|
/Linux-v4.19/sound/drivers/pcsp/ |
D | pcsp_lib.c | 148 hrtimer_forward(handle, hrtimer_get_expires(handle), ns_to_ktime(ns)); in pcsp_do_timer()
|
/Linux-v4.19/drivers/firmware/tegra/ |
D | bpmp.c | 147 start = ns_to_ktime(local_clock()); in tegra_bpmp_wait_master_free() 153 now = ns_to_ktime(local_clock()); in tegra_bpmp_wait_master_free()
|
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/ |
D | pll.c | 217 wait = ns_to_ktime(1000 * 1000); in wait_for_bit_change()
|
/Linux-v4.19/drivers/gpu/drm/nouveau/ |
D | nouveau_display.c | 134 if (stime) *stime = ns_to_ktime(args.scan.time[0]); in nouveau_display_scanoutpos_head() 135 if (etime) *etime = ns_to_ktime(args.scan.time[1]); in nouveau_display_scanoutpos_head()
|
/Linux-v4.19/kernel/sched/ |
D | rt.c | 43 rt_b->rt_period = ns_to_ktime(period); in init_rt_bandwidth() 69 hrtimer_forward_now(&rt_b->rt_period_timer, ns_to_ktime(0)); in start_rt_bandwidth() 2536 tg->rt_bandwidth.rt_period = ns_to_ktime(rt_period); in tg_set_rt_bandwidth() 2654 def_rt_bandwidth.rt_period = ns_to_ktime(global_rt_period()); in sched_rt_do_global()
|
/Linux-v4.19/drivers/net/phy/ |
D | dp83640.c | 879 shhwtstamps->hwtstamp = ns_to_ktime(rxts->ns); in decode_rxts() 924 shhwtstamps.hwtstamp = ns_to_ktime(ns); in decode_txts() 1450 shhwtstamps->hwtstamp = ns_to_ktime(rxts->ns); in dp83640_rxtstamp()
|