/linux/drivers/media/cec/core/ |
A D | cec-pin.c | 332 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/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
A D | clock.h | 77 return ns_to_ktime(nsec); in mlx5_timecounter_cyc2time() 87 return ns_to_ktime(time); in mlx5_real_time_cyc2time()
|
/linux/drivers/cpuidle/ |
A D | cpuidle.c | 143 time_start = ns_to_ktime(local_clock()); in enter_s2idle_proper() 162 time_end = ns_to_ktime(local_clock()); in enter_s2idle_proper() 232 time_start = ns_to_ktime(local_clock()); in cpuidle_enter_state() 243 time_end = ns_to_ktime(local_clock()); in cpuidle_enter_state()
|
/linux/drivers/powercap/ |
A D | idle_inject.c | 119 hrtimer_forward_now(timer, ns_to_ktime(duration_us * NSEC_PER_USEC)); in idle_inject_timer_fn() 210 ns_to_ktime((idle_duration_us + run_duration_us) * in idle_inject_start()
|
/linux/sound/soc/fsl/ |
A D | imx-pcm-fiq.c | 63 hrtimer_forward_now(hrt, ns_to_ktime(iprtd->poll_time_ns)); in snd_hrtimer_callback() 122 hrtimer_start(&iprtd->hrt, ns_to_ktime(iprtd->poll_time_ns), in snd_imx_pcm_trigger()
|
/linux/drivers/net/can/spi/mcp251xfd/ |
A D | mcp251xfd-timestamp.c | 49 hwtstamps->hwtstamp = ns_to_ktime(ns); in mcp251xfd_skb_set_timestamp()
|
/linux/drivers/net/dsa/hirschmann/ |
A D | hellcreek_hwtstamp.c | 272 shhwtstamps.hwtstamp = ns_to_ktime(ns); in hellcreek_txtstamp_work() 337 shwt->hwtstamp = ns_to_ktime(ns); in hellcreek_get_rxts()
|
/linux/kernel/ |
A D | watchdog.c | 376 hrtimer_forward_now(hrtimer, ns_to_ktime(sample_period)); in watchdog_timer_fn() 466 hrtimer_start(hrtimer, ns_to_ktime(sample_period), in watchdog_enable()
|
/linux/drivers/net/dsa/sja1105/ |
A D | sja1105_ptp.c | 372 event.timestamp = ns_to_ktime(sja1105_ticks_to_ns(ptpsyncts)); in sja1105_extts_poll() 405 shwt->hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(ts)); in sja1105_rxtstamp_work() 441 shwt->hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(ts)); in sja1110_rxtstamp() 983 shwt.hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(ts)); in sja1105_ptp_txtstamp_skb()
|
/linux/include/linux/ |
A D | ktime.h | 222 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime() function
|
/linux/sound/core/ |
A D | hrtimer.c | 101 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start()
|
/linux/drivers/char/hw_random/ |
A D | timeriomem-rng.c | 155 priv->period = ns_to_ktime(period * NSEC_PER_USEC); in timeriomem_rng_probe()
|
/linux/drivers/net/ethernet/qlogic/qede/ |
A D | qede_ptp.c | 169 shhwtstamps.hwtstamp = ns_to_ktime(ns); in qede_ptp_task() 548 skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(ns); in qede_ptp_rx_ts()
|
/linux/drivers/net/dsa/mv88e6xxx/ |
A D | hwtstamp.c | 305 shwt->hwtstamp = ns_to_ktime(ns); in mv88e6xxx_get_rxts() 423 shhwtstamps.hwtstamp = ns_to_ktime(ns); in mv88e6xxx_txtstamp_work()
|
/linux/drivers/media/rc/ |
A D | ir-rx51.c | 129 ns_to_ktime(US_TO_NS(ir_rx51->wbuf[0])), in ir_rx51_tx()
|
/linux/drivers/ptp/ |
A D | ptp_vclock.c | 218 hwtstamps->hwtstamp = ns_to_ktime(ns); in ptp_convert_timestamp()
|
/linux/kernel/time/ |
A D | sched_clock.c | 175 cd.wrap_kt = ns_to_ktime(wrap); in sched_clock_register()
|
/linux/drivers/net/ethernet/mellanox/mlx4/ |
A D | en_clock.c | 74 hwts->hwtstamp = ns_to_ktime(nsec); in mlx4_en_fill_hwtstamps()
|
/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
A D | hclge_ptp.c | 106 hwts.hwtstamp = ns_to_ktime(ns); in hclge_ptp_clean_tx_hwts() 135 skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(ns); in hclge_ptp_get_rx_hwts()
|
/linux/net/sched/ |
A D | act_gate.c | 41 base = ns_to_ktime(param->tcfg_basetime); in gate_get_start_time() 103 base = ns_to_ktime(p->tcfg_basetime); in gate_timer_func()
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | ptp.c | 133 *device = ns_to_ktime(timecounter_cyc2time(&adapter->tc, dev_cycles)); in e1000e_phc_get_syncdevicetime()
|
/linux/kernel/sched/ |
A D | idle.c | 384 hrtimer_start(&it.timer, ns_to_ktime(duration_ns), in play_idle_precise()
|
/linux/sound/drivers/pcsp/ |
A D | pcsp_lib.c | 146 hrtimer_forward_now(handle, ns_to_ktime(ns)); in pcsp_do_timer()
|
/linux/drivers/firmware/tegra/ |
A D | bpmp.c | 167 start = ns_to_ktime(local_clock()); in tegra_bpmp_wait_request_channel_free() 173 now = ns_to_ktime(local_clock()); in tegra_bpmp_wait_request_channel_free()
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_display.c | 115 if (stime) *stime = ns_to_ktime(args.scan.time[0]); in nouveau_display_scanoutpos_head() 116 if (etime) *etime = ns_to_ktime(args.scan.time[1]); in nouveau_display_scanoutpos_head()
|