| /drivers/devfreq/ |
| A D | governor_simpleondemand.c | 45 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 D | exynos-bus.c | 131 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 D | sun8i-a33-mbus.c | 247 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 D | tegra30-devfreq.c | 679 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 D | rk3399_dmc.c | 232 stat->total_time = edata.total_count; in rk3399_dmcfreq_get_dev_status()
|
| /drivers/thermal/ |
| A D | thermal_trace.h | 154 __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 D | devfreq_cooling.c | 178 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 D | wakeup_stats.c | 55 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 D | wakeup.c | 120 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 D | sysfs.c | 460 msec = ktime_to_ms(dev->power.wakeup->total_time); in wakeup_total_time_ms_show()
|
| /drivers/powercap/ |
| A D | dtpm_devfreq.c | 81 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 D | lima_devfreq.c | 67 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 D | panthor_devfreq.c | 101 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 D | panfrost_devfreq.c | 68 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 D | lan966x_taprio.c | 221 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 D | msm_gpu_devfreq.c | 90 status->total_time = ktime_us_delta(time, df->time); in msm_devfreq_get_dev_status()
|
| /drivers/memory/samsung/ |
| A D | exynos5422-dmc.c | 945 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 D | hub.c | 4700 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 D | tegra20-emc.c | 1137 stat->total_time = readl_relaxed(emc->regs + EMC_STAT_PWR_CLOCKS); in tegra_emc_devfreq_get_dev_status()
|
| /drivers/ufs/core/ |
| A D | ufshcd.c | 1665 stat->total_time = ktime_us_delta(curr_t, scaling->window_start_t); in ufshcd_devfreq_get_dev_status()
|