Home
last modified time | relevance | path

Searched refs:ns_to_ktime (Results 26 – 50 of 135) sorted by relevance

123456

/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_ptp.c94 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 Dpcsp_lib.c146 hrtimer_forward_now(handle, ns_to_ktime(ns)); in pcsp_do_timer()
/openbmc/linux/net/sched/
H A Dact_gate.c41 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 Dsch_cake.c2905 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 Dhrtimer.h257 timer->node.expires = ktime_add_safe(time, ns_to_ktime(delta)); in hrtimer_set_expires_range_ns()
/openbmc/linux/drivers/ptp/
H A Dptp_ines.c490 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 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()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_display.c109 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 Dti-tsc2046.c543 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 Dbpmp.c166 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 Dpll.c206 wait = ns_to_ktime(1000 * 1000); in wait_for_bit_change()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ptp.c112 skb_ts->hwtstamp = ns_to_ktime(tx_ts); in cxgb4_ptp_read_hwstamp()
/openbmc/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_lif.h365 return ns_to_ktime(0); in ionic_lif_phc_ktime()
/openbmc/linux/drivers/perf/
H A Dthunderx2_pmu.c629 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 Dpata_octeon_cf.c693 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 Dtest_lockup.c342 time = ns_to_ktime((u64)secs * NSEC_PER_SEC + nsecs); in test_wait()
/openbmc/linux/drivers/net/phy/
H A Ddp83640.c869 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 Dnxp-c45-tja11xx.c693 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 Drt.c96 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 Dpll.c348 wait = ns_to_ktime(1000 * 1000); in wait_for_bit_change()
/openbmc/linux/arch/arm/mach-imx/
H A Dmmdc.c121 return ns_to_ktime((u64)mmdc_pmu_poll_period_us * 1000); in mmdc_pmu_timer_period()
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_pmu.c286 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 Darch_timer.c347 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 Dice_ptp.c768 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 Drmnet_map_data.c662 ns_to_ktime(port->egress_agg_params.time_nsec), in rmnet_map_tx_aggregate()

123456