Home
last modified time | relevance | path

Searched refs:time_elapsed (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/acpi/acpica/
Dhwtimer.c119 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/
Dltc2485.c28 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()
Dltc2497-core.c24 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/
Dcavium-rng-vf.c86 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/
Dcpufreq_governor.c140 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/
Dtmon.c34 double time_elapsed = 0.0; variable
324 time_elapsed += ticktime; in main()
Dtmon.h34 extern double time_elapsed;
/linux-6.6.21/block/
Dblk-throttle.c738 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/
Dacpixf.h894 u32 *time_elapsed))
/linux-6.6.21/net/sched/
Dsch_taprio.c220 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/
Ddce110_hw_sequencer.c717 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()