Home
last modified time | relevance | path

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

1234

/linux/include/linux/dsa/
H A Dksz_common.h23 return ns_to_ktime(ns); in ksz_decode_tstamp()
/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()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ctx.c175 return ns_to_ktime(0); in amdgpu_ctx_fence_time()
180 return ns_to_ktime(0); in amdgpu_ctx_fence_time()
193 ktime_t res = ns_to_ktime(0); in amdgpu_ctx_entity_time()
275 ktime_t res = ns_to_ktime(0); in amdgpu_ctx_fini_entity()
974 usage[hw_ip] = ns_to_ktime(ns); in amdgpu_ctx_mgr_usage()
/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/sound/core/
H A Dhrtimer.c99 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start()
/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/include/linux/
H A Dktime.h220 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime() function
H A Dhrtimer.h112 timer->node.expires = ktime_add_safe(time, ns_to_ktime(delta)); in hrtimer_set_expires_range_ns()
/linux/drivers/md/dm-vdo/indexer/
H A Dfunnel-requestqueue.c128 ns_to_ktime(timeout)); in wait_for_request()
/linux/drivers/virtio/
H A Dvirtio_rtc_ptp.c107 ctx->device_time = ns_to_ktime(ns); in viortc_ptp_do_xtstamp()
/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/net/can/spi/mcp251xfd/
H A Dmcp251xfd-tef.c297 ns_to_ktime(priv->tx_coalesce_usecs_irq * in mcp251xfd_handle_tefif()
H A Dmcp251xfd-rx.c328 ns_to_ktime(priv->rx_coalesce_usecs_irq * in mcp251xfd_handle_rxif()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_clock.c71 return ns_to_ktime(nsec); in mlx4_en_get_hwtstamp()
/linux/kernel/time/
H A Dsched_clock.c199 cd.wrap_kt = ns_to_ktime(wrap); in sched_clock_register()
/linux/drivers/net/ethernet/intel/e1000e/
H A Dptp.c121 *device = ns_to_ktime(timecounter_cyc2time(&adapter->tc, dev_cycles)); in e1000e_phc_get_syncdevicetime()
/linux/kernel/sched/
H A Didle.c410 hrtimer_start(&it.timer, ns_to_ktime(duration_ns), in play_idle_precise()
/linux/kernel/
H A Dwatchdog.c804 hrtimer_forward_now(hrtimer, ns_to_ktime(sample_period)); in watchdog_timer_fn()
904 hrtimer_start(hrtimer, ns_to_ktime(sample_period), in watchdog_enable()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_display.c111 if (stime) *stime = ns_to_ktime(args.time[0]); in nouveau_display_scanoutpos_head()
112 if (etime) *etime = ns_to_ktime(args.time[1]); in nouveau_display_scanoutpos_head()
/linux/sound/drivers/pcsp/
H A Dpcsp_lib.c147 hrtimer_forward_now(handle, ns_to_ktime(ns)); in pcsp_do_timer()
/linux/drivers/net/wireless/intel/iwlwifi/mld/
H A Dptp.c272 xtstamp->device = ns_to_ktime(gp2_ns); in iwl_mld_phc_get_crosstimestamp()
/linux/drivers/net/ethernet/ti/
H A Dcpts.c340 ssh.hwtstamp = ns_to_ktime(event->timestamp); in cpts_match_tx_ts()
519 ssh->hwtstamp = ns_to_ktime(ns); in cpts_rx_timestamp()
/linux/drivers/firmware/tegra/
H A Dbpmp.c160 start = ns_to_ktime(local_clock()); in tegra_bpmp_wait_request_channel_free()
166 now = ns_to_ktime(local_clock()); in tegra_bpmp_wait_request_channel_free()
/linux/drivers/devfreq/event/
H A Drockchip-dfi.c549 hrtimer_start(&dfi->timer, ns_to_ktime(NSEC_PER_SEC), HRTIMER_MODE_REL); in rockchip_ddr_perf_event_add()
590 hrtimer_forward_now(&dfi->timer, ns_to_ktime(NSEC_PER_SEC)); in rockchip_dfi_timer()

1234