Searched refs:time_elapsed (Results 1 – 6 of 6) sorted by relevance
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()
28 unsigned int time_elapsed; in ltc2485_wait_conv() local31 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()
23 s64 time_elapsed; in ltc2497core_wait_conv() local25 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()
86 u64 time_elapsed; in check_rng_health() local125 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()
140 unsigned int idle_time, time_elapsed; in dbs_update() local145 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()
731 uint32_t time_elapsed = 0; in dce110_edp_wait_for_hpd_ready() local786 time_elapsed += HPD_CHECK_INTERVAL; in dce110_edp_wait_for_hpd_ready()787 } while (time_elapsed < timeout); in dce110_edp_wait_for_hpd_ready()