/linux-6.6.21/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.6.21/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() 1065 ns_to_ktime(pin->work_rx_msg.rx_ts)); in cec_pin_thread_func() 1101 hrtimer_start(&pin->timer, ns_to_ktime(0), in cec_pin_thread_func() 1111 hrtimer_start(&pin->timer, ns_to_ktime(0), in cec_pin_thread_func() 1139 pin->timer_ts = ns_to_ktime(0); in cec_pin_adap_enable() [all …]
|
/linux-6.6.21/drivers/cpuidle/ |
D | cpuidle.c | 148 time_start = ns_to_ktime(local_clock_noinstr()); in enter_s2idle_proper() 172 time_end = ns_to_ktime(local_clock_noinstr()); in enter_s2idle_proper() 246 time_start = ns_to_ktime(local_clock_noinstr()); in cpuidle_enter_state() 279 time_end = ns_to_ktime(local_clock_noinstr()); in cpuidle_enter_state()
|
/linux-6.6.21/include/linux/dsa/ |
D | ksz_common.h | 23 return ns_to_ktime(ns); in ksz_decode_tstamp()
|
/linux-6.6.21/drivers/powercap/ |
D | idle_inject.c | 136 hrtimer_forward_now(timer, ns_to_ktime(duration_us * NSEC_PER_USEC)); in idle_inject_timer_fn() 235 ns_to_ktime((idle_duration_us + run_duration_us) * in idle_inject_start()
|
/linux-6.6.21/drivers/net/dsa/sja1105/ |
D | sja1105_ptp.c | 329 event.timestamp = ns_to_ktime(sja1105_ticks_to_ns(ptpsyncts)); in sja1105_extts_poll() 362 shwt->hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(ts)); in sja1105_rxtstamp_work() 398 shwt->hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(ts)); in sja1110_rxtstamp() 442 shwt.hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(tstamp)); in sja1110_process_meta_tstamp() 969 shwt.hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(ts)); in sja1105_ptp_txtstamp_skb()
|
/linux-6.6.21/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.6.21/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.6.21/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.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ctx.c | 174 return ns_to_ktime(0); in amdgpu_ctx_fence_time() 179 return ns_to_ktime(0); in amdgpu_ctx_fence_time() 192 ktime_t res = ns_to_ktime(0); in amdgpu_ctx_entity_time() 274 ktime_t res = ns_to_ktime(0); in amdgpu_ctx_fini_entity() 976 usage[hw_ip] = ns_to_ktime(ns); in amdgpu_ctx_mgr_usage()
|
/linux-6.6.21/drivers/net/dsa/hirschmann/ |
D | hellcreek_hwtstamp.c | 268 shhwtstamps.hwtstamp = ns_to_ktime(ns); in hellcreek_txtstamp_work() 326 shwt->hwtstamp = ns_to_ktime(ns); in hellcreek_get_rxts()
|
/linux-6.6.21/drivers/dma-buf/ |
D | dma-fence-unwrap.c | 74 timestamp = ns_to_ktime(0); in __dma_fence_unwrap_merge()
|
/linux-6.6.21/include/linux/ |
D | ktime.h | 222 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime() function
|
/linux-6.6.21/sound/core/ |
D | hrtimer.c | 101 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start()
|
/linux-6.6.21/drivers/char/hw_random/ |
D | timeriomem-rng.c | 153 priv->period = ns_to_ktime(period * NSEC_PER_USEC); in timeriomem_rng_probe()
|
/linux-6.6.21/kernel/ |
D | watchdog.c | 466 hrtimer_forward_now(hrtimer, ns_to_ktime(sample_period)); in watchdog_timer_fn() 556 hrtimer_start(hrtimer, ns_to_ktime(sample_period), in watchdog_enable()
|
/linux-6.6.21/drivers/net/ethernet/qlogic/qede/ |
D | qede_ptp.c | 172 shhwtstamps.hwtstamp = ns_to_ktime(ns); in qede_ptp_task() 546 skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(ns); in qede_ptp_rx_ts()
|
/linux-6.6.21/kernel/time/ |
D | sched_clock.c | 186 cd.wrap_kt = ns_to_ktime(wrap); in sched_clock_register()
|
/linux-6.6.21/drivers/media/rc/ |
D | ir-rx51.c | 128 ns_to_ktime(US_TO_NS(ir_rx51->wbuf[0])), in ir_rx51_tx()
|
/linux-6.6.21/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.6.21/drivers/net/ethernet/mellanox/mlx4/ |
D | en_clock.c | 71 return ns_to_ktime(nsec); in mlx4_en_get_hwtstamp()
|
/linux-6.6.21/kernel/sched/ |
D | idle.c | 360 hrtimer_start(&it.timer, ns_to_ktime(duration_ns), in play_idle_precise()
|
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/ |
D | ptp.c | 121 *device = ns_to_ktime(timecounter_cyc2time(&adapter->tc, dev_cycles)); in e1000e_phc_get_syncdevicetime()
|