Searched refs:elapsed (Results 1 – 13 of 13) sorted by relevance
80 u32 elapsed; in read_pit_clk() local84 elapsed = data->cnt; in read_pit_clk()88 elapsed += PIT_PICNT(t) * data->cycle; in read_pit_clk()89 elapsed += PIT_CPIV(t); in read_pit_clk()90 return elapsed; in read_pit_clk()
251 uint64_t elapsed; in radeon_ring_test_lockup() local259 elapsed = jiffies_to_msecs(jiffies_64 - last); in radeon_ring_test_lockup()260 if (radeon_lockup_timeout && elapsed >= radeon_lockup_timeout) { in radeon_ring_test_lockup()262 ring->idx, elapsed); in radeon_ring_test_lockup()
286 unsigned elapsed; in flakey_map() local291 elapsed = (jiffies - fc->start_time) / HZ; in flakey_map()292 if (elapsed % (fc->up_interval + fc->down_interval) >= fc->up_interval) { in flakey_map()
107 u32 elapsed; in rtc_write_sync_lp() local120 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()121 } while (elapsed < 3 && --timeout); in rtc_write_sync_lp()
363 uint32_t elapsed; in update_sw_cntrs() local371 elapsed = ktime_to_us(ktime_sub(time, gpu->last_sample.time)); in update_sw_cntrs()373 gpu->totaltime += elapsed; in update_sw_cntrs()375 gpu->activetime += elapsed; in update_sw_cntrs()
129 long elapsed; in serial2002_tty_read_poll_wait() local138 elapsed = ktime_us_delta(now, start); in serial2002_tty_read_poll_wait()139 if (elapsed > timeout) in serial2002_tty_read_poll_wait()142 schedule_timeout(((timeout - elapsed) * HZ) / 10000); in serial2002_tty_read_poll_wait()
225 unsigned long elapsed = 0; in mxs_dma_reset_chan() local237 while ((readl(reg_dbg1) & 0xf) == 0x8 && elapsed < max_wait) { in mxs_dma_reset_chan()239 elapsed += 100; in mxs_dma_reset_chan()242 if (elapsed >= max_wait) in mxs_dma_reset_chan()
128 long elapsed; in pm_runtime_autosuspend_expiration() local140 elapsed = jiffies - last_busy; in pm_runtime_autosuspend_expiration()141 if (elapsed < 0) in pm_runtime_autosuspend_expiration()152 if (elapsed >= expires - last_busy) in pm_runtime_autosuspend_expiration()
1844 u32 elapsed; in tlan_timer() local1871 elapsed = jiffies - priv->timer_set_at; in tlan_timer()1872 if (elapsed >= TLAN_TIMER_ACT_DELAY) { in tlan_timer()
348 // find out how much time elapsed since the last update
515 unsigned long elapsed = now - port->break_last; in fwtty_emit_breaks() local519 n = (elapsed * port->cps) / HZ + 1; in fwtty_emit_breaks()
2715 unsigned long elapsed; in i915_context_is_banned() local2717 elapsed = get_seconds() - ctx->hang_stats.guilty_ts; in i915_context_is_banned()2723 elapsed <= ctx->hang_stats.ban_period_seconds) { in i915_context_is_banned()
683 unsigned long flags, elapsed; in qlt_del_sess_work_fn() local689 elapsed = jiffies; in qlt_del_sess_work_fn()690 if (time_after_eq(elapsed, sess->expires)) { in qlt_del_sess_work_fn()702 sess->expires - elapsed); in qlt_del_sess_work_fn()