Home
last modified time | relevance | path

Searched refs:elapsed (Results 1 – 15 of 15) 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.c571 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/
Di915_request.c2019 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/
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.c756 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 …]
Dmvm.h620 u32 elapsed; /* milliseconds for this TCM period */ member
2353 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/dma/
Dmxs-dma.c203 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/
Ddm-flakey.c481 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/
Dvfio_ap_ops.c1718 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/
Dtlan.c1820 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/
Dkernel.fuc338 // find out how much time elapsed since the last update
/drivers/thermal/
DKconfig43 poweroff kicks in after a delay has elapsed and shuts down the system.
/drivers/net/ethernet/intel/ice/
Dice_main.c4545 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()