Lines Matching refs:freq_table
101 data->acpi_data == NULL || data->freq_table == NULL)) { in powernow_cpufreq_target()
107 data->freq_table, in powernow_cpufreq_target()
113 next_perf_state = data->freq_table[next_state].index; in powernow_cpufreq_target()
143 policy->cur = data->freq_table[next_state].frequency; in powernow_cpufreq_target()
207 return cpufreq_frequency_table_verify(policy, data->freq_table); in powernow_cpufreq_verify()
278 data->freq_table = xmalloc_array(struct cpufreq_frequency_table, in powernow_cpufreq_cpu_init()
280 if (!data->freq_table) { in powernow_cpufreq_cpu_init()
301 data->freq_table[valid_states-1].frequency / 1000) in powernow_cpufreq_cpu_init()
304 data->freq_table[valid_states].index = perf->states[i].control & HW_PSTATE_MASK; in powernow_cpufreq_cpu_init()
305 data->freq_table[valid_states].frequency = in powernow_cpufreq_cpu_init()
309 data->freq_table[valid_states].frequency = CPUFREQ_TABLE_END; in powernow_cpufreq_cpu_init()
312 result = cpufreq_frequency_table_cpuinfo(policy, data->freq_table); in powernow_cpufreq_cpu_init()
325 policy->cur = data->freq_table[i].frequency; in powernow_cpufreq_cpu_init()
329 xfree(data->freq_table); in powernow_cpufreq_cpu_init()
343 xfree(data->freq_table); in powernow_cpufreq_cpu_exit()