/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 | 571 uint32_t elapsed; in update_sw_cntrs() local 579 elapsed = ktime_to_us(ktime_sub(time, gpu->last_sample.time)); in update_sw_cntrs() 581 gpu->totaltime += elapsed; in update_sw_cntrs() 583 gpu->activetime += elapsed; in update_sw_cntrs() 650 u64 elapsed, clock = 0, cycles; in retire_submit() local 655 elapsed = (stats->alwayson_end - stats->alwayson_start) * 10000; in retire_submit() 656 do_div(elapsed, 192); in retire_submit() 661 if (elapsed) { in retire_submit() 663 do_div(clock, elapsed); in retire_submit() 666 submit->queue->ctx->elapsed_ns += elapsed; in retire_submit() [all …]
|
/drivers/gpu/drm/i915/selftests/ |
D | i915_request.c | 2019 u32 elapsed[TF_COUNT], cycles; in measure_semaphore_response() local 2042 cs = intel_ring_begin(rq, 4 + 12 * ARRAY_SIZE(elapsed)); in measure_semaphore_response() 2050 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response() 2064 for (i = 1; i <= ARRAY_SIZE(elapsed); i++) { in measure_semaphore_response() 2075 elapsed[i - 1] = sema[i] - cycles; in measure_semaphore_response() 2078 cycles = trifilter(elapsed); in measure_semaphore_response() 2094 u32 elapsed[TF_COUNT], cycles; in measure_idle_dispatch() local 2110 for (i = 0; i < ARRAY_SIZE(elapsed); i++) { in measure_idle_dispatch() 2136 elapsed[i] = ENGINE_READ_FW(ce->engine, RING_TIMESTAMP); in measure_idle_dispatch() 2146 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 | 756 u8 iwl_mvm_tcm_load_percentage(u32 airtime, u32 elapsed) in iwl_mvm_tcm_load_percentage() argument 758 if (!elapsed) in iwl_mvm_tcm_load_percentage() 761 return (100 * airtime / elapsed) / USEC_PER_MSEC; in iwl_mvm_tcm_load_percentage() 765 iwl_mvm_tcm_load(struct iwl_mvm *mvm, u32 airtime, unsigned long elapsed) in iwl_mvm_tcm_load() argument 767 u8 load = iwl_mvm_tcm_load_percentage(airtime, elapsed); in iwl_mvm_tcm_load() 870 unsigned int elapsed, in iwl_mvm_check_uapsd_agg_expected_tpt() argument 886 do_div(tpt, elapsed); in iwl_mvm_check_uapsd_agg_expected_tpt() 900 do_div(tpt, elapsed * 100); in iwl_mvm_check_uapsd_agg_expected_tpt() 928 unsigned int elapsed = jiffies_to_msecs(ts - mvm->tcm.ts); in iwl_mvm_calc_tcm_stats() local 944 mvm->tcm.result.elapsed = elapsed; in iwl_mvm_calc_tcm_stats() [all …]
|
D | mvm.h | 620 u32 elapsed; /* milliseconds for this TCM period */ member 2353 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/dma/ |
D | mxs-dma.c | 203 unsigned long elapsed = 0; in mxs_dma_reset_chan() local 215 while ((readl(reg_dbg1) & 0xf) == 0x8 && elapsed < max_wait) { in mxs_dma_reset_chan() 217 elapsed += 100; in mxs_dma_reset_chan() 220 if (elapsed >= max_wait) in mxs_dma_reset_chan()
|
/drivers/md/ |
D | dm-flakey.c | 481 unsigned int elapsed; in flakey_map() local 490 elapsed = (jiffies - fc->start_time) / HZ; in flakey_map() 491 if (elapsed % (fc->up_interval + fc->down_interval) >= fc->up_interval) { in flakey_map()
|
/drivers/s390/crypto/ |
D | vfio_ap_ops.c | 1718 int ret = -EBUSY, elapsed = 0; in apq_reset_check() local 1726 elapsed += AP_RESET_INTERVAL; in apq_reset_check() 1732 pr_notice_ratelimited(WAIT_MSG, elapsed, in apq_reset_check()
|
/drivers/net/ethernet/ti/ |
D | tlan.c | 1820 u32 elapsed; in tlan_timer() local 1847 elapsed = jiffies - priv->timer_set_at; in tlan_timer() 1848 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/thermal/ |
D | Kconfig | 43 poweroff kicks in after a delay has elapsed and shuts down the system.
|
/drivers/net/ethernet/intel/ice/ |
D | ice_main.c | 4545 u32 elapsed = 0; in ice_wait_for_fw() local 4547 while (elapsed <= timeout) { in ice_wait_for_fw() 4552 elapsed += 100; in ice_wait_for_fw()
|