Home
last modified time | relevance | path

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

1234567

/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.h107 return ns_to_ktime(nsec); in mlx5_timecounter_cyc2time()
117 return ns_to_ktime(time); in mlx5_real_time_cyc2time()
/linux/drivers/cpuidle/
H A Dcpuidle.c152 time_start = ns_to_ktime(local_clock_noinstr()); in enter_s2idle_proper()
176 time_end = ns_to_ktime(local_clock_noinstr()); in enter_s2idle_proper()
249 time_start = ns_to_ktime(local_clock_noinstr()); in cpuidle_enter_state()
282 time_end = ns_to_ktime(local_clock_noinstr()); in cpuidle_enter_state()
/linux/include/linux/dsa/
H A Dksz_common.h23 return ns_to_ktime(ns); in ksz_decode_tstamp()
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_ptp.c333 event.timestamp = ns_to_ktime(sja1105_ticks_to_ns(ptpsyncts)); in sja1105_extts_poll()
366 shwt->hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(ts)); in sja1105_rxtstamp_work()
402 shwt->hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(ts)); in sja1110_rxtstamp()
446 shwt.hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(tstamp)); in sja1110_process_meta_tstamp()
965 shwt.hwtstamp = ns_to_ktime(sja1105_ticks_to_ns(ts)); in sja1105_ptp_txtstamp_skb()
/linux/sound/soc/fsl/
H A 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/drivers/ptp/
H A Dptp_vclock.c142 xtstamp->device = ns_to_ktime(ns); in ptp_vclock_getcrosststamp()
299 return ns_to_ktime(vclock_ns); in ptp_convert_timestamp()
H A Dptp_s390.c69 *device_time = ns_to_ktime(tod_to_ns(clk.tod - TOD_UNIX_EPOCH)); in s390_arch_ptp_get_crosststamp()
/linux/drivers/media/cec/core/
H A Dcec-pin.c360 pin->ts = ns_to_ktime(0); in cec_pin_to_idle()
1092 ns_to_ktime(pin->work_rx_msg.rx_ts)); in cec_pin_thread_func()
1128 hrtimer_start(&pin->timer, ns_to_ktime(0), in cec_pin_thread_func()
1138 hrtimer_start(&pin->timer, ns_to_ktime(0), in cec_pin_thread_func()
1166 pin->timer_ts = ns_to_ktime(0); in cec_pin_adap_enable()
1179 hrtimer_start(&pin->timer, ns_to_ktime(0), in cec_pin_adap_enable()
/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_hwtstamp.c262 shhwtstamps.hwtstamp = ns_to_ktime(ns); in hellcreek_txtstamp_work()
320 shwt->hwtstamp = ns_to_ktime(ns); in hellcreek_get_rxts()
/linux/io_uring/
H A Dnapi.c38 return ns_to_ktime(t << 10); in net_to_ktime()
244 ctx->napi_busy_poll_dt = ns_to_ktime(sys_dt); in io_napi_init()
/linux/drivers/net/can/rockchip/
H A Drockchip_canfd-timestamp.c26 hwtstamps->hwtstamp = ns_to_ktime(ns); in rkcanfd_skb_set_timestamp()
/linux/arch/powerpc/perf/
H A Dvpa-dtl.c300 hrtimer_forward_now(hrtimer, ns_to_ktime(period)); in vpa_dtl_hrtimer_handle()
311 hrtimer_start(&hwc->hrtimer, ns_to_ktime(period), HRTIMER_MODE_REL_PINNED); in vpa_dtl_start_hrtimer()
/linux/sound/core/
H A Dhrtimer.c99 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start()
/linux/net/rxrpc/
H A Drtt.c198 return ns_to_ktime(timo_us * NSEC_PER_USEC); in rxrpc_get_rto_backoff()
/linux/include/linux/
H A Dktime.h220 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime() function
/linux/drivers/dma-buf/
H A Ddma-fence-unwrap.c128 timestamp = ns_to_ktime(0); in __dma_fence_unwrap_merge()
/linux/drivers/md/dm-vdo/indexer/
H A Dfunnel-requestqueue.c128 ns_to_ktime(timeout)); in wait_for_request()
/linux/drivers/net/ethernet/qlogic/qede/
H A Dqede_ptp.c172 shhwtstamps.hwtstamp = ns_to_ktime(ns); in qede_ptp_task()
557 skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(ns); in qede_ptp_rx_ts()
/linux/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb.h253 return ns_to_ktime(div_u64(ticks * 1000, cfg->timestamp_freq)); in kvaser_usb_ticks_to_ktime()
/linux/drivers/virtio/
H A Dvirtio_rtc_ptp.c107 ctx->device_time = ns_to_ktime(ns); in viortc_ptp_do_xtstamp()
/linux/drivers/net/dsa/mv88e6xxx/
H A Dhwtstamp.c297 shwt->hwtstamp = ns_to_ktime(ns); in mv88e6xxx_get_rxts()
415 shhwtstamps.hwtstamp = ns_to_ktime(ns); in mv88e6xxx_txtstamp_work()
/linux/drivers/pwm/
H A Dpwm-gpio.c96 ns_to_ktime(next_toggle)); in pwm_gpio_timer()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_clock.c71 return ns_to_ktime(nsec); in mlx4_en_get_hwtstamp()
/linux/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-tef.c297 ns_to_ktime(priv->tx_coalesce_usecs_irq * in mcp251xfd_handle_tefif()
/linux/kernel/time/
H A Dsched_clock.c199 cd.wrap_kt = ns_to_ktime(wrap); in sched_clock_register()

1234567