Searched refs:cpufreq_device (Results 1 – 1 of 1) sorted by relevance
269 static int build_dyn_power_table(struct cpufreq_cooling_device *cpufreq_device, in build_dyn_power_table() argument278 for_each_cpu(cpu, &cpufreq_device->allowed_cpus) { in build_dyn_power_table()281 dev_warn(&cpufreq_device->cool_dev->device, in build_dyn_power_table()338 cpufreq_device->cpu_dev = dev; in build_dyn_power_table()339 cpufreq_device->dyn_power_table = power_table; in build_dyn_power_table()340 cpufreq_device->dyn_power_table_entries = i; in build_dyn_power_table()350 static u32 cpu_freq_to_power(struct cpufreq_cooling_device *cpufreq_device, in cpu_freq_to_power() argument354 struct power_table *pt = cpufreq_device->dyn_power_table; in cpu_freq_to_power()356 for (i = 1; i < cpufreq_device->dyn_power_table_entries; i++) in cpu_freq_to_power()363 static u32 cpu_power_to_freq(struct cpufreq_cooling_device *cpufreq_device, in cpu_power_to_freq() argument[all …]