Home
last modified time | relevance | path

Searched refs:elapsed (Results 1 – 16 of 16) sorted by relevance

/drivers/gpu/drm/msm/
Dmsm_gpu_trace.h57 TP_PROTO(struct msm_gem_submit *submit, u64 elapsed, u64 clock,
59 TP_ARGS(submit, elapsed, clock, start, end),
65 __field(u64, elapsed)
75 __entry->elapsed = elapsed;
82 __entry->elapsed, __entry->clock,
Dmsm_gpu.c561 uint32_t elapsed; in update_sw_cntrs() local
569 elapsed = ktime_to_us(ktime_sub(time, gpu->last_sample.time)); in update_sw_cntrs()
571 gpu->totaltime += elapsed; in update_sw_cntrs()
573 gpu->activetime += elapsed; in update_sw_cntrs()
640 u64 elapsed, clock = 0; in retire_submit() local
645 elapsed = (stats->alwayson_end - stats->alwayson_start) * 10000; in retire_submit()
646 do_div(elapsed, 192); in retire_submit()
649 if (elapsed) { in retire_submit()
651 do_div(clock, elapsed); in retire_submit()
654 trace_msm_gpu_submit_retired(submit, elapsed, clock, in retire_submit()
/drivers/gpu/drm/i915/selftests/
Di915_request.c1875 u32 elapsed[TF_COUNT], cycles; in measure_semaphore_response() local
1898 cs = intel_ring_begin(rq, 4 + 12 * ARRAY_SIZE(elapsed)); in measure_semaphore_response()
1906 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response()
1920 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response()
1931 elapsed[i - 1] = sema[i] - cycles; in measure_semaphore_response()
1934 cycles = trifilter(elapsed); in measure_semaphore_response()
1950 u32 elapsed[TF_COUNT], cycles; in measure_idle_dispatch() local
1966 for (i = 0; i < ARRAY_SIZE(elapsed); i++) { in measure_idle_dispatch()
1992 elapsed[i] = ENGINE_READ_FW(ce->engine, RING_TIMESTAMP); in measure_idle_dispatch()
2002 for (i = 0; i < ARRAY_SIZE(elapsed); i++) in measure_idle_dispatch()
[all …]
/drivers/clocksource/
Dtimer-atmel-pit.c77 u32 elapsed; in read_pit_clk() local
81 elapsed = data->cnt; in read_pit_clk()
85 elapsed += PIT_PICNT(t) * data->cycle; in read_pit_clk()
86 elapsed += PIT_CPIV(t); in read_pit_clk()
87 return elapsed; in read_pit_clk()
/drivers/net/wireless/intel/iwlwifi/mvm/
Dutils.c717 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument
719 if (!elapsed) in iwl_mvm_tcm_load_percentage()
722 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage()
726 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) in iwl_mvm_tcm_load() argument
728 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load()
830 unsigned int elapsed, in iwl_mvm_check_uapsd_agg_expected_tpt() argument
846 do_div(tpt, elapsed); in iwl_mvm_check_uapsd_agg_expected_tpt()
860 do_div(tpt, elapsed * 100); in iwl_mvm_check_uapsd_agg_expected_tpt()
888 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm.ts); in iwl_mvm_calc_tcm_stats() local
904 mvm->tcm.result.elapsed = elapsed; in iwl_mvm_calc_tcm_stats()
[all …]
Dmvm.h588 u32 elapsed; /* milliseconds for this TCM period */ member
2035 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed);
/drivers/gpu/drm/radeon/
Dradeon_ring.c256 uint64_t elapsed; in radeon_ring_test_lockup() local
264 elapsed = jiffies_to_msecs(jiffies_64 - last); in radeon_ring_test_lockup()
265 if (radeon_lockup_timeout && elapsed >= radeon_lockup_timeout) { in radeon_ring_test_lockup()
267 ring->idx, elapsed); in radeon_ring_test_lockup()
/drivers/rtc/
Drtc-snvs.c112 u32 elapsed; in rtc_write_sync_lp() local
125 elapsed = count2 - count1; /* wrap around _is_ handled! */ in rtc_write_sync_lp()
126 } while (elapsed < 3 && --timeout); in rtc_write_sync_lp()
/drivers/md/
Ddm-flakey.c325 unsigned elapsed; in flakey_map() local
333 elapsed = (jiffies - fc->start_time) / HZ; in flakey_map()
334 if (elapsed % (fc->up_interval + fc->down_interval) >= fc->up_interval) { in flakey_map()
/drivers/dma/
Dmxs-dma.c204 unsigned long elapsed = 0; in mxs_dma_reset_chan() local
216 while ((readl(reg_dbg1) & 0xf) == 0x8 && elapsed < max_wait) { in mxs_dma_reset_chan()
218 elapsed += 100; in mxs_dma_reset_chan()
221 if (elapsed >= max_wait) in mxs_dma_reset_chan()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ctx.h92 uint32_t idx, uint64_t *elapsed);
Damdgpu_ctx.c706 uint32_t idx, uint64_t *elapsed) in amdgpu_ctx_mgr_fence_usage() argument
738 if (elapsed) in amdgpu_ctx_mgr_fence_usage()
739 *elapsed = max; in amdgpu_ctx_mgr_fence_usage()
/drivers/net/ethernet/ti/
Dtlan.c1818 u32 elapsed; in tlan_timer() local
1845 elapsed = jiffies - priv->timer_set_at; in tlan_timer()
1846 if (elapsed >= TLAN_TIMER_ACT_DELAY) { in tlan_timer()
/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
Dkernel.fuc338 // find out how much time elapsed since the last update
/drivers/staging/fwserial/
Dfwserial.c503 unsigned long elapsed = now - port->break_last; in fwtty_emit_breaks() local
507 n = (elapsed * port->cps) / HZ + 1; in fwtty_emit_breaks()
/drivers/thermal/
DKconfig43 poweroff kicks in after a delay has elapsed and shuts down the system.