Home
last modified time | relevance | path

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

/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()
/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.c23 s64 time_elapsed; in ltc2497core_wait_conv() local
25 time_elapsed = ktime_ms_delta(ktime_get(), ddata->time_prev); in ltc2497core_wait_conv()
27 if (time_elapsed < LTC2497_CONVERSION_TIME_MS) { in ltc2497core_wait_conv()
32 LTC2497_CONVERSION_TIME_MS - time_elapsed)) in ltc2497core_wait_conv()
38 if (time_elapsed - LTC2497_CONVERSION_TIME_MS <= 0) { in ltc2497core_wait_conv()
/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()
/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()
/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_hw_sequencer.c731 uint32_t time_elapsed = 0; in dce110_edp_wait_for_hpd_ready() local
786 time_elapsed += HPD_CHECK_INTERVAL; in dce110_edp_wait_for_hpd_ready()
787 } while (time_elapsed < timeout); in dce110_edp_wait_for_hpd_ready()