Home
last modified time | relevance | path

Searched refs:total_period (Results 1 – 3 of 3) sorted by relevance

/drivers/media/platform/sti/hva/
Dhva-debugfs.c136 dbg->total_period += period; in hva_dbg_perf_begin()
241 div = (u64)dbg->total_period; in hva_dbg_perf_compute()
248 if (dbg->total_period > 0) { in hva_dbg_perf_compute()
250 do_div(div, dbg->total_period); in hva_dbg_perf_compute()
256 if (dbg->total_period > 0) { in hva_dbg_perf_compute()
263 do_div(div, dbg->total_period); in hva_dbg_perf_compute()
Dhva.h195 u32 total_period; member
/drivers/md/
Ddm-kcopyd.c242 t->total_period += difference; in io_job_start()
247 if (unlikely(t->io_period > t->total_period)) in io_job_start()
248 t->io_period = t->total_period; in io_job_start()
250 if (unlikely(t->total_period >= (1 << ACCOUNT_INTERVAL_SHIFT))) { in io_job_start()
251 int shift = fls(t->total_period >> ACCOUNT_INTERVAL_SHIFT); in io_job_start()
252 t->total_period >>= shift; in io_job_start()
256 skew = t->io_period - throttle * t->total_period / 100; in io_job_start()
293 t->total_period += difference; in io_job_finish()
298 if (unlikely(t->io_period > t->total_period)) in io_job_finish()
299 t->io_period = t->total_period; in io_job_finish()