Lines Matching refs:raw_capacity
98 static u32 *raw_capacity; variable
102 kfree(raw_capacity); in free_raw_capacity()
103 raw_capacity = NULL; in free_raw_capacity()
113 if (!raw_capacity) in topology_normalize_cpu_scale()
119 cpu, raw_capacity[cpu]); in topology_normalize_cpu_scale()
120 capacity = (raw_capacity[cpu] << SCHED_CAPACITY_SHIFT) in topology_normalize_cpu_scale()
140 if (!raw_capacity) { in topology_parse_cpu_capacity()
141 raw_capacity = kcalloc(num_possible_cpus(), in topology_parse_cpu_capacity()
142 sizeof(*raw_capacity), in topology_parse_cpu_capacity()
144 if (!raw_capacity) { in topology_parse_cpu_capacity()
150 raw_capacity[cpu] = cpu_capacity; in topology_parse_cpu_capacity()
152 cpu_node, raw_capacity[cpu]); in topology_parse_cpu_capacity()
154 if (raw_capacity) { in topology_parse_cpu_capacity()
179 if (!raw_capacity) in init_cpu_capacity_callback()
192 raw_capacity[cpu] = topology_get_cpu_scale(cpu) * in init_cpu_capacity_callback()
194 capacity_scale = max(raw_capacity[cpu], capacity_scale); in init_cpu_capacity_callback()
221 if (!acpi_disabled || !raw_capacity) in register_cpufreq_notifier()