Home
last modified time | relevance | path

Searched refs:total_time (Results 1 – 20 of 20) sorted by relevance

/drivers/devfreq/
A Dgovernor_simpleondemand.c45 if (stat->total_time == 0) { in devfreq_simple_ondemand_func()
51 if (stat->busy_time >= (1 << 24) || stat->total_time >= (1 << 24)) { in devfreq_simple_ondemand_func()
53 stat->total_time >>= 7; in devfreq_simple_ondemand_func()
58 stat->total_time * dfso_upthreshold) { in devfreq_simple_ondemand_func()
71 stat->total_time * (dfso_upthreshold - dfso_downdifferential)) { in devfreq_simple_ondemand_func()
79 b = div_u64(a, stat->total_time); in devfreq_simple_ondemand_func()
A Dexynos-bus.c131 stat->total_time = stat->busy_time = 0; in exynos_bus_get_dev_status()
136 stat->total_time = edata.total_count; in exynos_bus_get_dev_status()
139 stat->total_time); in exynos_bus_get_dev_status()
A Dsun8i-a33-mbus.c247 stat->total_time = priv->nominal_bw; in sun8i_a33_mbus_get_dram_status()
253 stat->busy_time, stat->total_time, in sun8i_a33_mbus_get_dram_status()
254 DIV_ROUND_CLOSEST(stat->busy_time * 100, stat->total_time), in sun8i_a33_mbus_get_dram_status()
A Dtegra30-devfreq.c679 stat->total_time = tegra->devfreq->profile->polling_ms * cur_freq; in tegra_devfreq_get_dev_status()
681 stat->busy_time = min(stat->busy_time, stat->total_time); in tegra_devfreq_get_dev_status()
A Drk3399_dmc.c232 stat->total_time = edata.total_count; in rk3399_dmcfreq_get_dev_status()
/drivers/thermal/
A Dthermal_trace.h154 __field(u32, total_time)
162 __entry->total_time = status->total_time;
168 __entry->total_time == 0 ? 0 :
169 (100 * __entry->busy_time) / __entry->total_time,
A Ddevfreq_cooling.c178 if (status->total_time > 0xfffff) { in _normalize_load()
179 status->total_time >>= 10; in _normalize_load()
184 status->busy_time /= status->total_time ? : 1; in _normalize_load()
187 status->total_time = 1024; in _normalize_load()
/drivers/base/power/
A Dwakeup_stats.c55 ktime_t total_time = ws->total_time; in total_time_ms_show() local
59 total_time = ktime_add(total_time, active_time); in total_time_ms_show()
62 return sysfs_emit(buf, "%lld\n", ktime_to_ms(total_time)); in total_time_ms_show()
A Dwakeup.c120 deleted_ws.total_time = in wakeup_source_record()
121 ktime_add(deleted_ws.total_time, ws->total_time); in wakeup_source_record()
687 ws->total_time = ktime_add(ws->total_time, duration); in wakeup_source_deactivate()
1054 ktime_t total_time; in print_wakeup_source_stats() local
1062 total_time = ws->total_time; in print_wakeup_source_stats()
1070 total_time = ktime_add(total_time, active_time); in print_wakeup_source_stats()
1084 ktime_to_ms(active_time), ktime_to_ms(total_time), in print_wakeup_source_stats()
A Dsysfs.c460 msec = ktime_to_ms(dev->power.wakeup->total_time); in wakeup_total_time_ms_show()
/drivers/powercap/
A Ddtpm_devfreq.c81 if (status->total_time > 0xfffff) { in _normalize_load()
82 status->total_time >>= 10; in _normalize_load()
87 status->busy_time /= status->total_time ? : 1; in _normalize_load()
90 status->total_time = 1024; in _normalize_load()
/drivers/gpu/drm/lima/
A Dlima_devfreq.c67 status->total_time = ktime_to_ns(ktime_add(devfreq->busy_time, in lima_devfreq_get_dev_status()
76 status->busy_time, status->total_time, in lima_devfreq_get_dev_status()
77 status->busy_time / (status->total_time / 100), in lima_devfreq_get_dev_status()
/drivers/gpu/drm/panthor/
A Dpanthor_devfreq.c101 status->total_time = ktime_to_ns(ktime_add(pdevfreq->busy_time, in panthor_devfreq_get_dev_status()
111 status->busy_time, status->total_time, in panthor_devfreq_get_dev_status()
112 status->busy_time / (status->total_time / 100), in panthor_devfreq_get_dev_status()
/drivers/gpu/drm/panfrost/
A Dpanfrost_devfreq.c68 status->total_time = ktime_to_ns(ktime_add(pfdevfreq->busy_time, in panfrost_devfreq_get_dev_status()
78 status->busy_time, status->total_time, in panfrost_devfreq_get_dev_status()
79 status->busy_time / (status->total_time / 100), in panfrost_devfreq_get_dev_status()
/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_taprio.c221 u64 total_time = 0; in lan966x_taprio_check() local
252 total_time += qopt->entries[i].interval; in lan966x_taprio_check()
256 if (total_time > LAN966X_TAPRIO_MAX_CYCLE_TIME_NS) in lan966x_taprio_check()
262 if (qopt->cycle_time < total_time) in lan966x_taprio_check()
/drivers/gpu/drm/msm/
A Dmsm_gpu_devfreq.c90 status->total_time = ktime_us_delta(time, df->time); in msm_devfreq_get_dev_status()
/drivers/memory/samsung/
A Dexynos5422-dmc.c945 stat->total_time = dmc->total; in exynos5_dmc_get_status()
953 stat->total_time = total >> 10; in exynos5_dmc_get_status()
/drivers/usb/core/
A Dhub.c4700 int total_time, stable_time = 0; in hub_port_debounce() local
4703 for (total_time = 0; ; total_time += HUB_DEBOUNCE_STEP) { in hub_port_debounce()
4725 if (total_time >= HUB_DEBOUNCE_TIMEOUT) in hub_port_debounce()
4731 total_time, stable_time, portstatus); in hub_port_debounce()
/drivers/memory/tegra/
A Dtegra20-emc.c1137 stat->total_time = readl_relaxed(emc->regs + EMC_STAT_PWR_CLOCKS); in tegra_emc_devfreq_get_dev_status()
/drivers/ufs/core/
A Dufshcd.c1665 stat->total_time = ktime_us_delta(curr_t, scaling->window_start_t); in ufshcd_devfreq_get_dev_status()

Completed in 74 milliseconds