Lines Matching refs:longhaul_table
86 static struct cpufreq_frequency_table *longhaul_table; variable
258 mults_index = longhaul_table[table_index].driver_data; in longhaul_setstate()
478 longhaul_table = kcalloc(numscales + 1, sizeof(*longhaul_table), in longhaul_get_ranges()
480 if (!longhaul_table) in longhaul_get_ranges()
489 longhaul_table[k].frequency = calc_speed(ratio); in longhaul_get_ranges()
490 longhaul_table[k].driver_data = j; in longhaul_get_ranges()
494 kfree(longhaul_table); in longhaul_get_ranges()
500 min_f = longhaul_table[j].frequency; in longhaul_get_ranges()
503 if (longhaul_table[i].frequency < min_f) { in longhaul_get_ranges()
504 min_f = longhaul_table[i].frequency; in longhaul_get_ranges()
509 swap(longhaul_table[j].frequency, in longhaul_get_ranges()
510 longhaul_table[min_i].frequency); in longhaul_get_ranges()
511 swap(longhaul_table[j].driver_data, in longhaul_get_ranges()
512 longhaul_table[min_i].driver_data); in longhaul_get_ranges()
516 longhaul_table[k].frequency = CPUFREQ_TABLE_END; in longhaul_get_ranges()
520 if (mults[longhaul_table[j].driver_data & 0x1f] == mult) { in longhaul_get_ranges()
603 cpufreq_for_each_entry_idx(freq_pos, longhaul_table, j) { in longhaul_setup_voltagescaling()
637 current_vid = (longhaul_table[longhaul_index].driver_data >> 8); in longhaul_target()
642 vid = (longhaul_table[i].driver_data >> 8) & 0x1f; in longhaul_target()
898 policy->freq_table = longhaul_table; in longhaul_cpu_init()
962 freqs.new = longhaul_table[i].frequency; in longhaul_exit()
974 kfree(longhaul_table); in longhaul_exit()