/drivers/gpu/drm/msm/ |
D | msm_gpu_trace.h | 57 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,
|
D | msm_gpu.c | 561 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/ |
D | i915_request.c | 1875 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/ |
D | timer-atmel-pit.c | 77 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/ |
D | utils.c | 717 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 …]
|
D | mvm.h | 588 u32 elapsed; /* milliseconds for this TCM period */ member 2035 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed);
|
/drivers/gpu/drm/radeon/ |
D | radeon_ring.c | 256 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/ |
D | rtc-snvs.c | 112 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/ |
D | dm-flakey.c | 325 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/ |
D | mxs-dma.c | 204 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/ |
D | amdgpu_ctx.h | 92 uint32_t idx, uint64_t *elapsed);
|
D | amdgpu_ctx.c | 706 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/ |
D | tlan.c | 1818 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/ |
D | kernel.fuc | 338 // find out how much time elapsed since the last update
|
/drivers/staging/fwserial/ |
D | fwserial.c | 503 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/ |
D | Kconfig | 43 poweroff kicks in after a delay has elapsed and shuts down the system.
|