/linux-6.6.21/include/trace/events/ ! |
D | devfreq.h | 21 __field(unsigned long, busy_time) 29 __entry->busy_time = devfreq->last_status.busy_time; 36 (100 * __entry->busy_time) / __entry->total_time) 46 __field(unsigned long, busy_time) 54 __entry->busy_time = devfreq->last_status.busy_time; 63 (100 * __entry->busy_time) / __entry->total_time)
|
/linux-6.6.21/drivers/gpu/drm/lima/ ! |
D | lima_devfreq.c | 27 devfreq->busy_time += ktime_sub(now, last); in lima_devfreq_update_utilization() 49 devfreq->busy_time = 0; in lima_devfreq_reset() 67 status->total_time = ktime_to_ns(ktime_add(devfreq->busy_time, in lima_devfreq_get_dev_status() 69 status->busy_time = ktime_to_ns(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()
|
D | lima_devfreq.h | 21 ktime_t busy_time; member
|
/linux-6.6.21/drivers/gpu/drm/msm/ ! |
D | msm_gpu_devfreq.c | 82 u64 busy_cycles, busy_time; in msm_devfreq_get_dev_status() local 95 status->busy_time = 0; in msm_devfreq_get_dev_status() 100 busy_time = busy_cycles - df->busy_cycles; in msm_devfreq_get_dev_status() 105 busy_time *= USEC_PER_SEC; in msm_devfreq_get_dev_status() 106 busy_time = div64_ul(busy_time, sample_rate); in msm_devfreq_get_dev_status() 107 if (WARN_ON(busy_time > ~0LU)) in msm_devfreq_get_dev_status() 108 busy_time = ~0LU; in msm_devfreq_get_dev_status() 110 status->busy_time = busy_time; in msm_devfreq_get_dev_status()
|
/linux-6.6.21/drivers/devfreq/ ! |
D | governor_simpleondemand.c | 51 if (stat->busy_time >= (1 << 24) || stat->total_time >= (1 << 24)) { in devfreq_simple_ondemand_func() 52 stat->busy_time >>= 7; in devfreq_simple_ondemand_func() 57 if (stat->busy_time * 100 > in devfreq_simple_ondemand_func() 70 if (stat->busy_time * 100 > in devfreq_simple_ondemand_func() 77 a = stat->busy_time; in devfreq_simple_ondemand_func()
|
D | exynos-bus.c | 131 stat->total_time = stat->busy_time = 0; in exynos_bus_get_dev_status() 135 stat->busy_time = (edata.load_count * 100) / bus->ratio; in exynos_bus_get_dev_status() 138 dev_dbg(dev, "Usage of devfreq-event : %lu/%lu\n", stat->busy_time, in exynos_bus_get_dev_status()
|
D | sun8i-a33-mbus.c | 246 stat->busy_time = sun8i_a33_mbus_get_peak_bw(priv); 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()
|
D | tegra30-devfreq.c | 673 stat->busy_time = device_readl(actmon_dev, ACTMON_DEV_AVG_COUNT); in tegra_devfreq_get_dev_status() 676 stat->busy_time *= 100 / BUS_SATURATION_RATIO; in tegra_devfreq_get_dev_status() 681 stat->busy_time = min(stat->busy_time, stat->total_time); in tegra_devfreq_get_dev_status()
|
D | rk3399_dmc.c | 230 stat->busy_time = edata.load_count; in rk3399_dmcfreq_get_dev_status()
|
/linux-6.6.21/drivers/gpu/drm/panfrost/ ! |
D | panfrost_devfreq.c | 22 pfdevfreq->busy_time += ktime_sub(now, last); in panfrost_devfreq_update_utilization() 44 pfdevfreq->busy_time = 0; in panfrost_devfreq_reset() 62 status->total_time = ktime_to_ns(ktime_add(pfdevfreq->busy_time, in panfrost_devfreq_get_dev_status() 65 status->busy_time = ktime_to_ns(pfdevfreq->busy_time); in panfrost_devfreq_get_dev_status() 72 status->busy_time, status->total_time, in panfrost_devfreq_get_dev_status() 73 status->busy_time / (status->total_time / 100), in panfrost_devfreq_get_dev_status()
|
D | panfrost_devfreq.h | 22 ktime_t busy_time; member
|
/linux-6.6.21/drivers/powercap/ ! |
D | dtpm_devfreq.c | 75 status->busy_time >>= 10; in _normalize_load() 78 status->busy_time <<= 10; in _normalize_load() 79 status->busy_time /= status->total_time ? : 1; in _normalize_load() 81 status->busy_time = status->busy_time ? : 1; in _normalize_load() 109 power *= status.busy_time; in get_pd_power_uw()
|
/linux-6.6.21/drivers/thermal/ ! |
D | devfreq_cooling.c | 168 status->busy_time >>= 10; in _normalize_load() 171 status->busy_time <<= 10; in _normalize_load() 172 status->busy_time /= status->total_time ? : 1; in _normalize_load() 174 status->busy_time = status->busy_time ? : 1; in _normalize_load() 231 *power *= status.busy_time; in devfreq_cooling_get_requested_power() 284 est_power /= status.busy_time; in devfreq_cooling_power2state()
|
D | thermal_trace.h | 151 __field(u32, busy_time) 159 __entry->busy_time = status->busy_time; 167 (100 * __entry->busy_time) / __entry->total_time,
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/ ! |
D | mt792x_mac.c | 228 u64 busy_time, tx_time, rx_time, obss_time; in mt792x_phy_update_channel() local 231 busy_time = mt76_get_field(dev, MT_MIB_SDR9(idx), in mt792x_phy_update_channel() 247 state->cc_busy += busy_time; in mt792x_phy_update_channel()
|
/linux-6.6.21/drivers/cpufreq/ ! |
D | cpufreq.c | 134 u64 busy_time; in get_cpu_idle_time_jiffy() local 140 busy_time = kcpustat.cpustat[CPUTIME_USER]; in get_cpu_idle_time_jiffy() 141 busy_time += kcpustat.cpustat[CPUTIME_SYSTEM]; in get_cpu_idle_time_jiffy() 142 busy_time += kcpustat.cpustat[CPUTIME_IRQ]; in get_cpu_idle_time_jiffy() 143 busy_time += kcpustat.cpustat[CPUTIME_SOFTIRQ]; in get_cpu_idle_time_jiffy() 144 busy_time += kcpustat.cpustat[CPUTIME_STEAL]; in get_cpu_idle_time_jiffy() 145 busy_time += kcpustat.cpustat[CPUTIME_NICE]; in get_cpu_idle_time_jiffy() 147 idle_time = cur_wall_time - busy_time; in get_cpu_idle_time_jiffy()
|
/linux-6.6.21/include/linux/ ! |
D | devfreq.h | 62 unsigned long busy_time; member
|
/linux-6.6.21/drivers/memory/samsung/ ! |
D | exynos5422-dmc.c | 942 stat->busy_time = dmc->load; in exynos5_dmc_get_status() 950 stat->busy_time = load >> 10; in exynos5_dmc_get_status()
|
/linux-6.6.21/kernel/sched/ ! |
D | fair.c | 7677 unsigned long busy_time, max_cap = arch_scale_cpu_capacity(prev_cpu); in eenv_task_busy_time() local 7681 busy_time = max_cap; in eenv_task_busy_time() 7683 busy_time = scale_irq_capacity(task_util_est(p), irq, max_cap); in eenv_task_busy_time() 7685 eenv->task_busy_time = busy_time; in eenv_task_busy_time() 7713 unsigned long busy_time = 0; in eenv_pd_busy_time() local 7719 busy_time += effective_cpu_util(cpu, util, ENERGY_UTIL, NULL); in eenv_pd_busy_time() 7722 eenv->pd_busy_time = min(eenv->pd_cap, busy_time); in eenv_pd_busy_time() 7768 unsigned long busy_time = eenv->pd_busy_time; in compute_energy() local 7771 busy_time = min(eenv->pd_cap, busy_time + eenv->task_busy_time); in compute_energy() 7773 return em_cpu_energy(pd->em_pd, max_util, busy_time, eenv->cpu_cap); in compute_energy()
|
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7615/ ! |
D | mac.c | 1921 u64 busy_time, tx_time, rx_time, obss_time; in mt7615_phy_update_channel() local 1925 busy_time = mt76_get_field(dev, MT_MIB_SDR9(idx), in mt7615_phy_update_channel() 1940 state->cc_busy += busy_time; in mt7615_phy_update_channel()
|
/linux-6.6.21/drivers/memory/tegra/ ! |
D | tegra20-emc.c | 1139 stat->busy_time = readl_relaxed(emc->regs + EMC_STAT_PWR_COUNT); in tegra_emc_devfreq_get_dev_status()
|
/linux-6.6.21/drivers/net/wireless/ath/wil6210/ ! |
D | wmi.h | 2480 __le16 busy_time; member
|
/linux-6.6.21/drivers/scsi/lpfc/ ! |
D | lpfc_init.c | 1298 u64 wall, wall_idle, diff_wall, diff_idle, busy_time; in lpfc_idle_stat_delay_work() local 1329 busy_time = 0; in lpfc_idle_stat_delay_work() 1331 busy_time = diff_wall - diff_idle; in lpfc_idle_stat_delay_work() 1333 idle_percent = div64_u64(100 * busy_time, diff_wall); in lpfc_idle_stat_delay_work()
|
/linux-6.6.21/drivers/ufs/core/ ! |
D | ufshcd.c | 1472 stat->busy_time = scaling->tot_busy_t; in ufshcd_devfreq_get_dev_status()
|