Searched refs:time_elapsed (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/drivers/acpi/acpica/ |
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-6.6.21/drivers/iio/adc/ |
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()
|
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-6.6.21/drivers/char/hw_random/ |
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-6.6.21/drivers/cpufreq/ |
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-6.6.21/tools/thermal/tmon/ |
D | tmon.c | 34 double time_elapsed = 0.0; variable 324 time_elapsed += ticktime; in main()
|
D | tmon.h | 34 extern double time_elapsed;
|
/linux-6.6.21/block/ |
D | blk-throttle.c | 738 unsigned long time_elapsed; in throtl_trim_slice() local 762 time_elapsed = rounddown(jiffies - tg->slice_start[rw], in throtl_trim_slice() 764 if (!time_elapsed) in throtl_trim_slice() 768 time_elapsed) + in throtl_trim_slice() 770 io_trim = calculate_io_allowed(tg_iops_limit(tg, rw), time_elapsed) + in throtl_trim_slice() 787 tg->slice_start[rw] += time_elapsed; in throtl_trim_slice() 791 rw == READ ? 'R' : 'W', time_elapsed / tg->td->throtl_slice, in throtl_trim_slice()
|
/linux-6.6.21/include/acpi/ |
D | acpixf.h | 894 u32 *time_elapsed))
|
/linux-6.6.21/net/sched/ |
D | sch_taprio.c | 220 s32 time_elapsed; in get_cycle_time_elapsed() local 223 div_s64_rem(time_since_sched_start, sched->cycle_time, &time_elapsed); in get_cycle_time_elapsed() 225 return time_elapsed; in get_cycle_time_elapsed()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 717 uint32_t time_elapsed = 0; in dce110_edp_wait_for_hpd_ready() local 772 time_elapsed += HPD_CHECK_INTERVAL; in dce110_edp_wait_for_hpd_ready() 773 } while (time_elapsed < timeout); in dce110_edp_wait_for_hpd_ready()
|