Home
last modified time | relevance | path

Searched refs:ktime_us_delta (Results 1 – 25 of 68) sorted by relevance

123

/linux-6.6.21/arch/mips/kernel/
Dspinlock_test.c33 *val = ktime_us_delta(finish, start); in ss_get()
112 *val = ktime_us_delta(finish, t1.start); in multi_get()
/linux-6.6.21/net/dccp/ccids/
Dccid3.c97 u32 delta = ktime_us_delta(now, hc->tx_t_last_win_count); in ccid3_hc_tx_idle_rtt()
137 } else if (ktime_us_delta(now, hc->tx_t_ld) - (s64)hc->tx_rtt >= 0) { in ccid3_hc_tx_update_x()
179 u32 delta = ktime_us_delta(now, hc->tx_t_last_win_count), in ccid3_hc_tx_update_win_count()
324 delay = ktime_us_delta(hc->tx_t_nom, now); in ccid3_hc_tx_send_packet()
387 r_sample = dccp_sample_rtt(sk, ktime_us_delta(now, acked->stamp)); in ccid3_hc_tx_packet_recv()
618 delta = ktime_us_delta(now, hc->rx_tstamp_last_feedback); in ccid3_hc_rx_send_feedback()
684 delta = ktime_us_delta(ktime_get(), hc->rx_tstamp_last_feedback); in ccid3_first_li()
/linux-6.6.21/drivers/net/wireless/silabs/wfx/
Dfwio.c165 dev_dbg(wdev->dev, "chip answer after %lldus\n", ktime_us_delta(now, start)); in wait_ncp_status()
195 dev_dbg(wdev->dev, "answer after %lldus\n", ktime_us_delta(now, start)); in upload_firmware()
276 ktime_us_delta(ktime_get(), start)); in load_firmware_secure()
375 dev_dbg(wdev->dev, "chip wake up after %lldus\n", ktime_us_delta(now, start)); in wfx_init_device()
Dqueue.c203 return ktime_us_delta(now, tx_priv->xmit_timestamp); in wfx_pending_get_pkt_us_delay()
/linux-6.6.21/drivers/input/serio/
Dps2-gpio.c178 us_delta = ktime_us_delta(drvdata->t_irq_now, drvdata->tx.t_xfer_end); in ps2_gpio_irq_rx()
182 us_delta = ktime_us_delta(drvdata->t_irq_now, drvdata->t_irq_last); in ps2_gpio_irq_rx()
287 us_delta = ktime_us_delta(drvdata->t_irq_now, in ps2_gpio_irq_tx()
292 us_delta = ktime_us_delta(drvdata->t_irq_now, drvdata->t_irq_last); in ps2_gpio_irq_tx()
/linux-6.6.21/drivers/platform/x86/intel/speed_select_if/
Disst_if_mbox_pci.c57 tm_delta = ktime_us_delta(ktime_get(), tm); in isst_if_mbox_cmd()
96 tm_delta = ktime_us_delta(ktime_get(), tm); in isst_if_mbox_cmd()
/linux-6.6.21/lib/dim/
Ddim.c61 u32 delta_us = ktime_us_delta(end->time, start->time); in dim_calc_stats()
/linux-6.6.21/mm/
Dgup_test.c179 gup->get_delta_usec = ktime_us_delta(end_time, start_time); in __gup_test_ioctl()
196 gup->put_delta_usec = ktime_us_delta(end_time, start_time); in __gup_test_ioctl()
Ddmapool_test.c92 ktime_us_delta(end_time, start_time)); in dmapool_test_block()
/linux-6.6.21/drivers/media/rc/
Dpwm-ir-tx.c73 delta = ktime_us_delta(edge, ktime_get()); in pwm_ir_tx()
Dgpio-ir-tx.c60 delta = ktime_us_delta(until, ktime_get()); in delay_until()
Dlirc_dev.c70 u64 duration = ktime_us_delta(ktime_get(), in lirc_raw_event()
343 towait = ktime_us_delta(ktime_add_us(start, duration), in lirc_transmit()
/linux-6.6.21/drivers/media/platform/st/sti/hva/
Dhva-debugfs.c131 div = (u64)ktime_us_delta(dbg->begin, prev); in hva_dbg_perf_begin()
192 div = (u64)ktime_us_delta(end, dbg->begin); in hva_dbg_perf_end()
/linux-6.6.21/drivers/media/cec/core/
Dcec-pin.c668 delta = ktime_us_delta(ts, pin->ts); in cec_pin_rx_states()
689 delta = ktime_us_delta(ts, pin->ts); in cec_pin_rx_states()
747 delta = ktime_us_delta(ts, pin->ts); in cec_pin_rx_states()
852 delta = ktime_us_delta(ts, pin->timer_ts); in cec_pin_timer()
959 delta = ktime_us_delta(ts, pin->ts); in cec_pin_timer()
/linux-6.6.21/include/linux/
Dktime.h169 static inline s64 ktime_us_delta(const ktime_t later, const ktime_t earlier) in ktime_us_delta() function
/linux-6.6.21/drivers/hwmon/pmbus/
Dmax15301.c62 s64 delta = ktime_us_delta(ktime_get(), data->access); in max15301_wait()
/linux-6.6.21/net/dccp/
Dtimer.c262 u64 delta = (u64)ktime_us_delta(ktime_get_real(), dccp_timestamp_seed); in dccp_timestamp()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_engine_pm.c104 ktime_us_delta(rq->fence.timestamp, in duration()
Dselftest_engine_heartbeat.c252 times[i] = ktime_us_delta(t1, t0); in __live_heartbeat_fast()
/linux-6.6.21/include/net/
Dred.h292 s64 delta = ktime_us_delta(ktime_get(), v->qidlestart); in red_calc_qavg_from_idle_time()
/linux-6.6.21/kernel/trace/
Dring_buffer_benchmark.c297 time = ktime_us_delta(end_time, start_time); in ring_buffer_producer()
/linux-6.6.21/drivers/crypto/nx/
Dnx-common-powernv.c203 (long)ktime_us_delta(now, start)); in wait_for_csb()
383 (unsigned long)ktime_us_delta(now, start)); in wait_for_csb()
/linux-6.6.21/drivers/gpu/drm/msm/
Dmsm_gpu_devfreq.c90 status->total_time = ktime_us_delta(time, df->time); in msm_devfreq_get_dev_status()
/linux-6.6.21/drivers/mtd/tests/
Dspeedtest.c165 us = ktime_us_delta(finish, start); in calc_speed()
/linux-6.6.21/lib/
Dtest_vmalloc.c484 delta = (u64) ktime_us_delta(ktime_get(), kt); in test_func()

123