Home
last modified time | relevance | path

Searched refs:busy_time (Results 1 – 9 of 9) sorted by relevance

/linux-4.4.14/drivers/devfreq/
Dgovernor_simpleondemand.c55 if (stat->busy_time >= (1 << 24) || stat->total_time >= (1 << 24)) { in devfreq_simple_ondemand_func()
56 stat->busy_time >>= 7; in devfreq_simple_ondemand_func()
61 if (stat->busy_time * 100 > in devfreq_simple_ondemand_func()
74 if (stat->busy_time * 100 > in devfreq_simple_ondemand_func()
81 a = stat->busy_time; in devfreq_simple_ondemand_func()
Dtegra-devfreq.c522 stat->busy_time = device_readl(actmon_dev, ACTMON_DEV_AVG_COUNT); in tegra_devfreq_get_dev_status()
525 stat->busy_time *= 100 / BUS_SATURATION_RATIO; in tegra_devfreq_get_dev_status()
530 stat->busy_time = min(stat->busy_time, stat->total_time); in tegra_devfreq_get_dev_status()
/linux-4.4.14/drivers/thermal/
Ddevfreq_cooling.c293 dyn_power = (dyn_power * status->busy_time) / status->total_time; in devfreq_cooling_get_requested_power()
333 unsigned long busy_time; in devfreq_cooling_power2state() local
344 busy_time = status->busy_time ?: 1; in devfreq_cooling_power2state()
345 dyn_power = (dyn_power * status->total_time) / busy_time; in devfreq_cooling_power2state()
/linux-4.4.14/drivers/devfreq/exynos/
Dexynos5_bus.c160 stat->busy_time = ppmu_data->ppmu[busier_dmc].count[PPMU_PMNCNT3]; in exynos5_int_get_dev_status()
161 stat->busy_time *= 100 / INT_BUS_SATURATION_RATIO; in exynos5_int_get_dev_status()
Dexynos4_bus.c643 stat->busy_time = ppmu_data->ppmu[busier].count[PPMU_PMNCNT3]; in exynos4_bus_get_dev_status()
644 stat->busy_time *= 100 / BUS_SATURATION_RATIO; in exynos4_bus_get_dev_status()
/linux-4.4.14/drivers/cpufreq/
Dcpufreq.c179 u64 busy_time; in get_cpu_idle_time_jiffy() local
183 busy_time = kcpustat_cpu(cpu).cpustat[CPUTIME_USER]; in get_cpu_idle_time_jiffy()
184 busy_time += kcpustat_cpu(cpu).cpustat[CPUTIME_SYSTEM]; in get_cpu_idle_time_jiffy()
185 busy_time += kcpustat_cpu(cpu).cpustat[CPUTIME_IRQ]; in get_cpu_idle_time_jiffy()
186 busy_time += kcpustat_cpu(cpu).cpustat[CPUTIME_SOFTIRQ]; in get_cpu_idle_time_jiffy()
187 busy_time += kcpustat_cpu(cpu).cpustat[CPUTIME_STEAL]; in get_cpu_idle_time_jiffy()
188 busy_time += kcpustat_cpu(cpu).cpustat[CPUTIME_NICE]; in get_cpu_idle_time_jiffy()
190 idle_time = cur_wall_time - busy_time; in get_cpu_idle_time_jiffy()
/linux-4.4.14/include/linux/
Ddevfreq.h42 unsigned long busy_time; member
/linux-4.4.14/include/trace/events/
Dthermal.h157 __entry->load = (100 * status->busy_time) / status->total_time;
/linux-4.4.14/drivers/scsi/ufs/
Dufshcd.c5502 stat->busy_time = scaling->tot_busy_t; in ufshcd_devfreq_get_dev_status()