Lines Matching +full:down +full:- +full:counters
61 cpu_topology[cpu].thread_id = -1; in parse_acpi_topology()
107 pr_debug("CPU%d: counters are not supported.\n", cpu); in freq_counters_valid()
113 pr_debug("CPU%d: cycle counters are not enabled.\n", cpu); in freq_counters_valid()
131 * Pre-compute the fixed ratio between the frequency of the constant in freq_inv_set_max_ratio()
135 * arch_max_freq_scale = ---------- * SCHED_CAPACITY_SCALE² in freq_inv_set_max_ratio()
138 * We use a factor of 2 * SCHED_CAPACITY_SHIFT -> SCHED_CAPACITY_SCALE² in freq_inv_set_max_ratio()
140 * very low reference frequencies (down to the KHz range which should in freq_inv_set_max_ratio()
172 * scale = ------- * -------------------- in amu_scale_freq_tick()
178 scale = core_cnt - prev_core_cnt; in amu_scale_freq_tick()
181 const_cnt - prev_const_cnt); in amu_scale_freq_tick()
209 pr_debug("CPUs[%*pbl]: counters will be used for FIE.", in amu_fie_setup()
219 amu_fie_setup(policy->related_cpus); in init_amu_fie_callback()
223 * counters don't have any dependency on cpufreq driver once we have in init_amu_fie_callback()
224 * initialized AMU support and enabled invariance. The AMU counters will in init_amu_fie_callback()
226 * for the CPUs for which there are no counters available, the last set in init_amu_fie_callback()
243 return -ENOMEM; in init_amu_fie()
285 * disabled - can lead to deadlock in smp sync call. in counters_read_on_cpu()
288 return -EOPNOTSUPP; in counters_read_on_cpu()
291 return -EPERM; in counters_read_on_cpu()
308 * supports AMUs. Using FFH to read core and reference counters for CPUs in cpc_ffh_supported()
309 * that do not support AMUs, have counters disabled or that are affected in cpc_ffh_supported()
312 * This is done to allow any enabled and valid counters to be read in cpc_ffh_supported()
314 * properly handled by the users of these counters. in cpc_ffh_supported()
324 int ret = -EOPNOTSUPP; in cpc_read_ffh()
326 switch ((u64)reg->address) { in cpc_read_ffh()
336 *val &= GENMASK_ULL(reg->bit_offset + reg->bit_width - 1, in cpc_read_ffh()
337 reg->bit_offset); in cpc_read_ffh()
338 *val >>= reg->bit_offset; in cpc_read_ffh()
346 return -EOPNOTSUPP; in cpc_write_ffh()