/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
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-6.1.9/drivers/media/cec/core/ |
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() 1064 ns_to_ktime(pin->work_rx_msg.rx_ts)); in cec_pin_thread_func() 1099 hrtimer_start(&pin->timer, ns_to_ktime(0), in cec_pin_thread_func() 1108 hrtimer_start(&pin->timer, ns_to_ktime(0), in cec_pin_thread_func() 1129 pin->timer_ts = ns_to_ktime(0); in cec_pin_adap_enable() [all …]
|
/linux-6.1.9/drivers/cpuidle/ |
D | cpuidle.c | 145 time_start = ns_to_ktime(local_clock()); in enter_s2idle_proper() 164 time_end = ns_to_ktime(local_clock()); in enter_s2idle_proper() 234 time_start = ns_to_ktime(local_clock()); in cpuidle_enter_state() 245 time_end = ns_to_ktime(local_clock()); in cpuidle_enter_state()
|
/linux-6.1.9/drivers/powercap/ |
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-6.1.9/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ctx.c | 172 return ns_to_ktime(0); in amdgpu_ctx_fence_time() 177 return ns_to_ktime(0); in amdgpu_ctx_fence_time() 190 ktime_t res = ns_to_ktime(0); in amdgpu_ctx_entity_time() 260 ktime_t res = ns_to_ktime(0); in amdgpu_ctx_fini_entity() 947 usage[hw_ip] = ns_to_ktime(ns); in amdgpu_ctx_mgr_usage()
|
/linux-6.1.9/sound/soc/fsl/ |
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-6.1.9/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-timestamp.c | 49 hwtstamps->hwtstamp = ns_to_ktime(ns); in mcp251xfd_skb_set_timestamp()
|
D | mcp251xfd-tef.c | 261 ns_to_ktime(priv->tx_coalesce_usecs_irq * in mcp251xfd_handle_tefif()
|
D | mcp251xfd-rx.c | 271 ns_to_ktime(priv->rx_coalesce_usecs_irq * in mcp251xfd_handle_rxif()
|
/linux-6.1.9/drivers/ptp/ |
D | ptp_vclock.c | 142 xtstamp->device = ns_to_ktime(ns); in ptp_vclock_getcrosststamp() 292 return ns_to_ktime(vclock_ns); in ptp_convert_timestamp()
|
/linux-6.1.9/drivers/net/dsa/sja1105/ |
D | sja1105_ptp.c | 368 event.timestamp = ns_to_ktime(sja1105_ticks_to_ns(ptpsyncts)); in sja1105_extts_poll() 401 shwt->hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(ts)); in sja1105_rxtstamp_work() 438 shwt->hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(ts)); in sja1110_rxtstamp() 482 shwt.hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(tstamp)); in sja1110_process_meta_tstamp() 1009 shwt.hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(ts)); in sja1105_ptp_txtstamp_skb()
|
/linux-6.1.9/drivers/net/dsa/hirschmann/ |
D | hellcreek_hwtstamp.c | 268 shhwtstamps.hwtstamp = ns_to_ktime(ns); in hellcreek_txtstamp_work() 333 shwt->hwtstamp = ns_to_ktime(ns); in hellcreek_get_rxts()
|
/linux-6.1.9/sound/core/ |
D | hrtimer.c | 101 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start()
|
/linux-6.1.9/include/linux/ |
D | ktime.h | 222 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime() function
|
/linux-6.1.9/drivers/char/hw_random/ |
D | timeriomem-rng.c | 155 priv->period = ns_to_ktime(period * NSEC_PER_USEC); in timeriomem_rng_probe()
|
/linux-6.1.9/kernel/ |
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-6.1.9/drivers/net/ethernet/qlogic/qede/ |
D | qede_ptp.c | 169 shhwtstamps.hwtstamp = ns_to_ktime(ns); in qede_ptp_task() 543 skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(ns); in qede_ptp_rx_ts()
|
/linux-6.1.9/kernel/time/ |
D | sched_clock.c | 176 cd.wrap_kt = ns_to_ktime(wrap); in sched_clock_register()
|
/linux-6.1.9/drivers/net/dsa/mv88e6xxx/ |
D | hwtstamp.c | 301 shwt->hwtstamp = ns_to_ktime(ns); in mv88e6xxx_get_rxts() 419 shhwtstamps.hwtstamp = ns_to_ktime(ns); in mv88e6xxx_txtstamp_work()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 74 hwts->hwtstamp = ns_to_ktime(nsec); in mlx4_en_fill_hwtstamps()
|
/linux-6.1.9/drivers/media/rc/ |
D | ir-rx51.c | 128 ns_to_ktime(US_TO_NS(ir_rx51->wbuf[0])), in ir_rx51_tx()
|
/linux-6.1.9/kernel/sched/ |
D | idle.c | 381 hrtimer_start(&it.timer, ns_to_ktime(duration_ns), in play_idle_precise()
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/ |
D | ptp.c | 131 *device = ns_to_ktime(timecounter_cyc2time(&adapter->tc, dev_cycles)); in e1000e_phc_get_syncdevicetime()
|
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
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-6.1.9/sound/drivers/pcsp/ |
D | pcsp_lib.c | 146 hrtimer_forward_now(handle, ns_to_ktime(ns)); in pcsp_do_timer()
|