/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_ptp.c | 94 hwts.hwtstamp = ns_to_ktime(ns); in hclge_ptp_clean_tx_hwts() 123 skb_hwtstamps(skb)->hwtstamp = ns_to_ktime(ns); in hclge_ptp_get_rx_hwts()
|
/openbmc/linux/sound/drivers/pcsp/ |
H A D | pcsp_lib.c | 146 hrtimer_forward_now(handle, ns_to_ktime(ns)); in pcsp_do_timer()
|
/openbmc/linux/net/sched/ |
H A D | act_gate.c | 41 base = ns_to_ktime(param->tcfg_basetime); in gate_get_start_time() 103 base = ns_to_ktime(p->tcfg_basetime); in gate_timer_func()
|
H A D | sch_cake.c | 2905 ktime_to_us(ns_to_ktime(b->cparams.target))); in cake_dump_stats() 2907 ktime_to_us(ns_to_ktime(b->cparams.interval))); in cake_dump_stats() 2915 ktime_to_us(ns_to_ktime(b->peak_delay))); in cake_dump_stats() 2917 ktime_to_us(ns_to_ktime(b->avge_delay))); in cake_dump_stats() 2919 ktime_to_us(ns_to_ktime(b->base_delay))); in cake_dump_stats()
|
/openbmc/linux/include/linux/ |
H A D | hrtimer.h | 257 timer->node.expires = ktime_add_safe(time, ns_to_ktime(delta)); in hrtimer_set_expires_range_ns()
|
/openbmc/linux/drivers/ptp/ |
H A D | ptp_ines.c | 490 ssh->hwtstamp = ns_to_ktime(ns); in ines_rxtstamp() 662 ssh.hwtstamp = ns_to_ktime(ns); in ines_txtstamp_work()
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | cpts.c | 340 ssh.hwtstamp = ns_to_ktime(event->timestamp); in cpts_match_tx_ts() 519 ssh->hwtstamp = ns_to_ktime(ns); in cpts_rx_timestamp()
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_display.c | 109 if (stime) *stime = ns_to_ktime(args.time[0]); in nouveau_display_scanoutpos_head() 110 if (etime) *etime = ns_to_ktime(args.time[1]); in nouveau_display_scanoutpos_head()
|
/openbmc/linux/drivers/iio/adc/ |
H A D | ti-tsc2046.c | 543 ns_to_ktime(priv->scan_interval_us * in tsc2046_adc_timer() 613 tim = ns_to_ktime((priv->scan_interval_us - priv->time_per_scan_us) * in tsc2046_adc_reenable_trigger()
|
/openbmc/linux/drivers/firmware/tegra/ |
H A D | bpmp.c | 166 start = ns_to_ktime(local_clock()); in tegra_bpmp_wait_request_channel_free() 172 now = ns_to_ktime(local_clock()); in tegra_bpmp_wait_request_channel_free()
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | pll.c | 206 wait = ns_to_ktime(1000 * 1000); in wait_for_bit_change()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_ptp.c | 112 skb_ts->hwtstamp = ns_to_ktime(tx_ts); in cxgb4_ptp_read_hwstamp()
|
/openbmc/linux/drivers/net/ethernet/pensando/ionic/ |
H A D | ionic_lif.h | 365 return ns_to_ktime(0); in ionic_lif_phc_ktime()
|
/openbmc/linux/drivers/perf/ |
H A D | thunderx2_pmu.c | 629 ns_to_ktime(tx2_pmu->hrtimer_interval), in tx2_uncore_event_start() 719 hrtimer_forward_now(timer, ns_to_ktime(tx2_pmu->hrtimer_interval)); in tx2_hrtimer_callback()
|
/openbmc/linux/drivers/ata/ |
H A D | pata_octeon_cf.c | 693 ns_to_ktime(OCTEON_CF_BUSY_POLL_INTERVAL), in octeon_cf_interrupt() 731 ns_to_ktime(OCTEON_CF_BUSY_POLL_INTERVAL)); in octeon_cf_delayed_finish()
|
/openbmc/linux/lib/ |
H A D | test_lockup.c | 342 time = ns_to_ktime((u64)secs * NSEC_PER_SEC + nsecs); in test_wait()
|
/openbmc/linux/drivers/net/phy/ |
H A D | dp83640.c | 869 shhwtstamps->hwtstamp = ns_to_ktime(rxts->ns); in decode_rxts() 919 shhwtstamps.hwtstamp = ns_to_ktime(ns); in decode_txts() 1351 shhwtstamps->hwtstamp = ns_to_ktime(rxts->ns); in dp83640_rxtstamp()
|
H A D | nxp-c45-tja11xx.c | 693 shhwtstamps.hwtstamp = ns_to_ktime(ts_ns); in nxp_c45_process_txts() 733 shhwtstamps_rx->hwtstamp = ns_to_ktime(timespec64_to_ns(&ts)); in nxp_c45_do_aux_work() 744 event.timestamp = ns_to_ktime(timespec64_to_ns(&ts)); in nxp_c45_do_aux_work()
|
/openbmc/linux/kernel/sched/ |
H A D | rt.c | 96 rt_b->rt_period = ns_to_ktime(period); in init_rt_bandwidth() 119 hrtimer_forward_now(&rt_b->rt_period_timer, ns_to_ktime(0)); in do_start_rt_bandwidth() 2883 tg->rt_bandwidth.rt_period = ns_to_ktime(rt_period); in tg_set_rt_bandwidth() 3011 def_rt_bandwidth.rt_period = ns_to_ktime(global_rt_period()); in sched_rt_do_global()
|
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | pll.c | 348 wait = ns_to_ktime(1000 * 1000); in wait_for_bit_change()
|
/openbmc/linux/arch/arm/mach-imx/ |
H A D | mmdc.c | 121 return ns_to_ktime((u64)mmdc_pmu_poll_period_us * 1000); in mmdc_pmu_timer_period()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_pmu.c | 286 ns_to_ktime(PERIOD), 0, in __i915_pmu_maybe_start_timer() 501 hrtimer_forward(hrtimer, now, ns_to_ktime(PERIOD)); in i915_sample()
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | arch_timer.c | 347 hrtimer_forward_now(hrt, ns_to_ktime(ns)); in kvm_bg_timer_expire() 373 hrtimer_forward_now(hrt, ns_to_ktime(ns)); in kvm_hrtimer_expire()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp.c | 768 shhwtstamps.hwtstamp = ns_to_ktime(tstamp); in ice_ptp_process_tx_tstamp() 2013 *device = ns_to_ktime(hh_ts); in ice_ptp_get_syncdevicetime() 2186 hwtstamps->hwtstamp = ns_to_ktime(ts_ns); in ice_ptp_rx_hwtstamp()
|
/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/ |
H A D | rmnet_map_data.c | 662 ns_to_ktime(port->egress_agg_params.time_nsec), in rmnet_map_tx_aggregate()
|