Searched refs:time_elapsed (Results 1 – 12 of 12) sorted by relevance
/linux/drivers/acpi/acpica/ |
H A D | hwtimer.c | 119 acpi_get_timer_duration(u32 start_ticks, u32 end_ticks, u32 *time_elapsed) in ACPI_EXPORT_SYMBOL() 127 if (!time_elapsed) { in ACPI_EXPORT_SYMBOL() 138 *time_elapsed = 0; in ACPI_EXPORT_SYMBOL() 170 *time_elapsed = (u32)quotient; in ACPI_EXPORT_SYMBOL()
|
/linux/drivers/iio/adc/ |
H A D | ltc2485.c | 28 unsigned int time_elapsed; in ltc2485_wait_conv() local 31 time_elapsed = ktime_ms_delta(ktime_get(), data->time_prev); in ltc2485_wait_conv() 33 if (time_elapsed < conv_time) in ltc2485_wait_conv() 34 msleep(conv_time - time_elapsed); in ltc2485_wait_conv()
|
H A D | ltc2497-core.c | 24 s64 time_elapsed; in ltc2497core_wait_conv() local 26 time_elapsed = ktime_ms_delta(ktime_get(), ddata->time_prev); in ltc2497core_wait_conv() 28 if (time_elapsed < LTC2497_CONVERSION_TIME_MS) { in ltc2497core_wait_conv() 33 LTC2497_CONVERSION_TIME_MS - time_elapsed)) in ltc2497core_wait_conv() 39 if (time_elapsed - LTC2497_CONVERSION_TIME_MS <= 0) { in ltc2497core_wait_conv()
|
/linux/drivers/char/hw_random/ |
H A D | cavium-rng-vf.c | 86 u64 time_elapsed; in check_rng_health() local 125 time_elapsed = (cur_time - rng->prev_time) * 10; in check_rng_health() 126 time_elapsed += rng->prev_error; in check_rng_health() 132 if (cur_err < time_elapsed) { in check_rng_health()
|
/linux/drivers/cpufreq/ |
H A D | cpufreq_governor.c | 140 unsigned int idle_time, time_elapsed; in dbs_update() local 145 time_elapsed = update_time - j_cdbs->prev_update_time; in dbs_update() 158 if (unlikely(!time_elapsed)) { in dbs_update() 192 if (time_elapsed >= idle_time) { in dbs_update() 193 load = 100 * (time_elapsed - idle_time) / time_elapsed; in dbs_update()
|
/linux/lib/ |
H A D | plist.c | 275 ktime_t start, end, time_elapsed = 0; in plist_test() local 289 time_elapsed += (end - start); in plist_test() 293 pr_debug("plist_add worst case test time elapsed %lld\n", time_elapsed); in plist_test()
|
/linux/tools/thermal/tmon/ |
H A D | tmon.c | 34 double time_elapsed = 0.0; variable 324 time_elapsed += ticktime; in main()
|
H A D | tmon.h | 34 extern double time_elapsed;
|
/linux/block/ |
H A D | blk-throttle.c | 581 unsigned long time_elapsed; in throtl_trim_slice() local 605 time_elapsed = rounddown(jiffies - tg->slice_start[rw], in throtl_trim_slice() 607 if (!time_elapsed) in throtl_trim_slice() 611 time_elapsed) + in throtl_trim_slice() 613 io_trim = calculate_io_allowed(tg_iops_limit(tg, rw), time_elapsed) + in throtl_trim_slice() 630 tg->slice_start[rw] += time_elapsed; in throtl_trim_slice() 634 rw == READ ? 'R' : 'W', time_elapsed / tg->td->throtl_slice, in throtl_trim_slice()
|
/linux/include/acpi/ |
H A D | acpixf.h | 895 u32 *time_elapsed))
|
/linux/net/sched/ |
H A D | sch_taprio.c | 222 s32 time_elapsed; in get_cycle_time_elapsed() local 225 div_s64_rem(time_since_sched_start, sched->cycle_time, &time_elapsed); in get_cycle_time_elapsed() 227 return time_elapsed; in get_cycle_time_elapsed()
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
H A D | dce110_hwseq.c | 715 uint32_t time_elapsed = 0; in dce110_edp_wait_for_hpd_ready() local 768 time_elapsed += HPD_CHECK_INTERVAL; in dce110_edp_wait_for_hpd_ready() 769 } while (time_elapsed < timeout); in dce110_edp_wait_for_hpd_ready()
|