| /linux/drivers/cpuidle/ |
| H A D | cpuidle.c | 152 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 D | ksz_common.h | 23 return ns_to_ktime(ns); in ksz_decode_tstamp()
|
| /linux/sound/soc/fsl/ |
| H A 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/drivers/ptp/ |
| H A D | ptp_vclock.c | 142 xtstamp->device = ns_to_ktime(ns); in ptp_vclock_getcrosststamp() 299 return ns_to_ktime(vclock_ns); in ptp_convert_timestamp()
|
| H A D | ptp_ines.c | 510 ssh->hwtstamp = ns_to_ktime(ns); in ines_rxtstamp() 678 ssh.hwtstamp = ns_to_ktime(ns); in ines_txtstamp_work()
|
| /linux/drivers/media/cec/core/ |
| H A D | cec-pin.c | 360 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/io_uring/ |
| H A D | napi.c | 38 return ns_to_ktime(t << 10); in net_to_ktime() 255 ctx->napi_busy_poll_dt = ns_to_ktime(sys_dt); in io_napi_init()
|
| /linux/drivers/net/can/rockchip/ |
| H A D | rockchip_canfd-timestamp.c | 26 hwtstamps->hwtstamp = ns_to_ktime(ns); in rkcanfd_skb_set_timestamp()
|
| /linux/arch/powerpc/perf/ |
| H A D | vpa-dtl.c | 300 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 D | hrtimer.c | 99 hrtimer_start(&stime->hrt, ns_to_ktime(t->sticks * resolution), in snd_hrtimer_start()
|
| /linux/include/linux/ |
| H A D | ktime.h | 220 static inline ktime_t ns_to_ktime(u64 ns) in ns_to_ktime() function
|
| /linux/drivers/dma-buf/ |
| H A D | dma-fence-unwrap.c | 128 timestamp = ns_to_ktime(0); in __dma_fence_unwrap_merge()
|
| H A D | sync_file.c | 377 dma_fence_set_deadline(sync_file->fence, ns_to_ktime(ts.deadline_ns)); in sync_file_ioctl_set_deadline()
|
| /linux/drivers/net/ethernet/qlogic/qede/ |
| H A D | qede_ptp.c | 172 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/virtio/ |
| H A D | virtio_rtc_ptp.c | 107 ctx->device_time = ns_to_ktime(ns); in viortc_ptp_do_xtstamp()
|
| /linux/drivers/net/can/usb/kvaser_usb/ |
| H A D | kvaser_usb.h | 253 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 D | mcp251xfd-tef.c | 297 ns_to_ktime(priv->tx_coalesce_usecs_irq * in mcp251xfd_handle_tefif()
|
| H A D | mcp251xfd-rx.c | 328 ns_to_ktime(priv->rx_coalesce_usecs_irq * in mcp251xfd_handle_rxif()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_clock.c | 71 return ns_to_ktime(nsec); in mlx4_en_get_hwtstamp()
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | ptp.c | 121 *device = ns_to_ktime(timecounter_cyc2time(&adapter->tc, dev_cycles)); in e1000e_phc_get_syncdevicetime()
|
| /linux/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_display.c | 111 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/kernel/sched/ |
| H A D | idle.c | 431 hrtimer_start(&it.timer, ns_to_ktime(duration_ns), in play_idle_precise()
|
| /linux/sound/drivers/pcsp/ |
| H A D | pcsp_lib.c | 147 hrtimer_forward_now(handle, ns_to_ktime(ns)); in pcsp_do_timer()
|
| /linux/drivers/gpu/drm/ |
| H A D | drm_syncobj.c | 1210 abs_timeout = ns_to_ktime(timeout_nsec); in drm_timeout_abs_to_jiffies() 1351 t = ns_to_ktime(args->deadline_nsec); in drm_syncobj_wait_ioctl() 1395 t = ns_to_ktime(args->deadline_nsec); in drm_syncobj_timeline_wait_ioctl()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ptp.c | 712 timestamp.hwtstamp = ns_to_ktime(ns); in bnxt_stamp_tx_skb() 859 timestamp.hwtstamp = ns_to_ktime(ns); in bnxt_tx_ts_cmp() 889 *device = ns_to_ktime(bnxt_timecounter_cyc2time(ptp, ptm_local_ts)); in bnxt_phc_get_syncdevicetime()
|