Home
last modified time | relevance | path

Searched refs:delta_us (Results 1 – 3 of 3) sorted by relevance

/drivers/crypto/intel/qat/qat_common/
Dadf_clock.c44 u32 delta_us, tries; in measure_clock() local
57 delta_us = timespec_to_us(&ts2) - timespec_to_us(&ts1); in measure_clock()
58 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD_US && --tries); in measure_clock()
76 delta_us = timespec_to_us(&ts4) - timespec_to_us(&ts3); in measure_clock()
77 } while (delta_us > MEASURE_CLOCK_DELTA_THRESHOLD_US && --tries); in measure_clock()
84 delta_us = timespec_to_us(&ts3) - timespec_to_us(&ts1); in measure_clock()
85 if (!delta_us) in measure_clock()
89 temp = DIV_ROUND_CLOSEST_ULL(temp, delta_us); in measure_clock()
/drivers/media/test-drivers/vivid/
Dvivid-cec.c102 s64 delta_us, retry_us; in vivid_cec_bus_thread() local
206 delta_us = div_s64(end - start, 1000); in vivid_cec_bus_thread()
207 delta_us -= wait_xfer_us + wait_arb_lost_us; in vivid_cec_bus_thread()
208 retry_us = CEC_SIGNAL_FREE_TIME_RETRY * CEC_DATA_BIT_US - delta_us; in vivid_cec_bus_thread()
/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.c159 u64 delta_us; in peak_usb_get_ts_time() local
208 delta_us = delta_ts * time_ref->adapter->us_per_ts_scale; in peak_usb_get_ts_time()
209 delta_us >>= time_ref->adapter->us_per_ts_shift; in peak_usb_get_ts_time()
211 *time = ktime_add_us(time_ref->tv_host_0, delta_us); in peak_usb_get_ts_time()