Home
last modified time | relevance | path

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

123456

/linux-6.1.9/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.1.9/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()
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/
Dcpuidle.c145 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/
Didle_inject.c119 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/
Damdgpu_ctx.c172 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/
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.1.9/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.1.9/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.1.9/drivers/net/dsa/sja1105/
Dsja1105_ptp.c368 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/
Dhellcreek_hwtstamp.c268 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/
Dhrtimer.c101 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start()
/linux-6.1.9/include/linux/
Dktime.h222 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime() function
/linux-6.1.9/drivers/char/hw_random/
Dtimeriomem-rng.c155 priv->period = ns_to_ktime(period * NSEC_PER_USEC); in timeriomem_rng_probe()
/linux-6.1.9/kernel/
Dwatchdog.c376 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/
Dqede_ptp.c169 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/
Dsched_clock.c176 cd.wrap_kt = ns_to_ktime(wrap); in sched_clock_register()
/linux-6.1.9/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.1.9/drivers/net/ethernet/mellanox/mlx4/
Den_clock.c74 hwts->hwtstamp = ns_to_ktime(nsec); in mlx4_en_fill_hwtstamps()
/linux-6.1.9/drivers/media/rc/
Dir-rx51.c128 ns_to_ktime(US_TO_NS(ir_rx51->wbuf[0])), in ir_rx51_tx()
/linux-6.1.9/kernel/sched/
Didle.c381 hrtimer_start(&it.timer, ns_to_ktime(duration_ns), in play_idle_precise()
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/
Dptp.c131 *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/
Dhclge_ptp.c106 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/
Dpcsp_lib.c146 hrtimer_forward_now(handle, ns_to_ktime(ns)); in pcsp_do_timer()

123456