Home
last modified time | relevance | path

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

123456

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.h77 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/
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()
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/
Dcpuidle.c148 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/
Dksz_common.h23 return ns_to_ktime(ns); in ksz_decode_tstamp()
/linux-6.6.21/drivers/powercap/
Didle_inject.c136 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/
Dsja1105_ptp.c329 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/
Dimx-pcm-fiq.c63 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/
Dmcp251xfd-timestamp.c49 hwtstamps->hwtstamp = ns_to_ktime(ns); in mcp251xfd_skb_set_timestamp()
Dmcp251xfd-tef.c261 ns_to_ktime(priv->tx_coalesce_usecs_irq * in mcp251xfd_handle_tefif()
Dmcp251xfd-rx.c271 ns_to_ktime(priv->rx_coalesce_usecs_irq * in mcp251xfd_handle_rxif()
/linux-6.6.21/drivers/ptp/
Dptp_vclock.c142 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/
Damdgpu_ctx.c174 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/
Dhellcreek_hwtstamp.c268 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/
Ddma-fence-unwrap.c74 timestamp = ns_to_ktime(0); in __dma_fence_unwrap_merge()
/linux-6.6.21/include/linux/
Dktime.h222 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime() function
/linux-6.6.21/sound/core/
Dhrtimer.c101 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start()
/linux-6.6.21/drivers/char/hw_random/
Dtimeriomem-rng.c153 priv->period = ns_to_ktime(period * NSEC_PER_USEC); in timeriomem_rng_probe()
/linux-6.6.21/kernel/
Dwatchdog.c466 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/
Dqede_ptp.c172 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/
Dsched_clock.c186 cd.wrap_kt = ns_to_ktime(wrap); in sched_clock_register()
/linux-6.6.21/drivers/media/rc/
Dir-rx51.c128 ns_to_ktime(US_TO_NS(ir_rx51->wbuf[0])), in ir_rx51_tx()
/linux-6.6.21/drivers/net/dsa/mv88e6xxx/
Dhwtstamp.c301 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/
Den_clock.c71 return ns_to_ktime(nsec); in mlx4_en_get_hwtstamp()
/linux-6.6.21/kernel/sched/
Didle.c360 hrtimer_start(&it.timer, ns_to_ktime(duration_ns), in play_idle_precise()
/linux-6.6.21/drivers/net/ethernet/intel/e1000e/
Dptp.c121 *device = ns_to_ktime(timecounter_cyc2time(&adapter->tc, dev_cycles)); in e1000e_phc_get_syncdevicetime()

123456