Lines Matching refs:powernow_table

537 static void invalidate_entry(struct cpufreq_frequency_table *powernow_table,  in invalidate_entry()  argument
540 powernow_table[entry].frequency = CPUFREQ_ENTRY_INVALID; in invalidate_entry()
547 if (data->powernow_table[j].frequency != in print_basics()
550 data->powernow_table[j].driver_data & 0xff, in print_basics()
551 data->powernow_table[j].frequency/1000, in print_basics()
552 data->powernow_table[j].driver_data >> 8); in print_basics()
562 struct cpufreq_frequency_table *powernow_table; in fill_powernow_table() local
587 powernow_table = kzalloc((sizeof(*powernow_table) in fill_powernow_table()
589 if (!powernow_table) in fill_powernow_table()
594 powernow_table[j].driver_data = pst[j].fid; /* lower 8 bits */ in fill_powernow_table()
595 powernow_table[j].driver_data |= (pst[j].vid << 8); /* upper 8 bits */ in fill_powernow_table()
597 powernow_table[j].frequency = freq; in fill_powernow_table()
599 powernow_table[data->numps].frequency = CPUFREQ_TABLE_END; in fill_powernow_table()
600 powernow_table[data->numps].driver_data = 0; in fill_powernow_table()
603 kfree(powernow_table); in fill_powernow_table()
608 data->powernow_table = powernow_table; in fill_powernow_table()
728 struct cpufreq_frequency_table *powernow_table; in powernow_k8_cpu_init_acpi() local
754 powernow_table = kzalloc((sizeof(*powernow_table) in powernow_k8_cpu_init_acpi()
756 if (!powernow_table) in powernow_k8_cpu_init_acpi()
763 ret_val = fill_powernow_table_fidvid(data, powernow_table); in powernow_k8_cpu_init_acpi()
767 powernow_table[data->acpi_data.state_count].frequency = in powernow_k8_cpu_init_acpi()
769 data->powernow_table = powernow_table; in powernow_k8_cpu_init_acpi()
786 kfree(powernow_table); in powernow_k8_cpu_init_acpi()
799 struct cpufreq_frequency_table *powernow_table) in fill_powernow_table_fidvid() argument
822 powernow_table[i].driver_data = index; in fill_powernow_table_fidvid()
825 powernow_table[i].frequency = freq; in fill_powernow_table_fidvid()
830 invalidate_entry(powernow_table, i); in fill_powernow_table_fidvid()
838 invalidate_entry(powernow_table, i); in fill_powernow_table_fidvid()
847 invalidate_entry(powernow_table, i); in fill_powernow_table_fidvid()
896 fid = data->powernow_table[index].driver_data & 0xFF; in transition_frequency_fidvid()
897 vid = (data->powernow_table[index].driver_data & 0xFF00) >> 8; in transition_frequency_fidvid()
949 pol->cpu, data->powernow_table[newstate].frequency, pol->min, in powernowk8_target_fn()
1073 pol->freq_table = data->powernow_table; in powernowk8_cpu_init()
1102 kfree(data->powernow_table); in powernowk8_cpu_exit()