Lines Matching refs:px
294 static void amd_fixup_frequency(struct acpi_processor_px *px, int i) in amd_fixup_frequency() argument
297 int index = px->control & 0x00000007; in amd_fixup_frequency()
315 px->core_frequency = (100 * (fid + 0x10)) >> did; in amd_fixup_frequency()
317 px->core_frequency = (100 * (fid + 8)) >> did; in amd_fixup_frequency()
321 static void amd_fixup_frequency(struct acpi_processor_px *px, int i) {}; in amd_fixup_frequency() argument
363 struct acpi_processor_px *px = &(pr->performance->states[i]); in acpi_processor_get_performance_states() local
366 state.pointer = px; in acpi_processor_get_performance_states()
379 amd_fixup_frequency(px, i); in acpi_processor_get_performance_states()
384 (u32) px->core_frequency, in acpi_processor_get_performance_states()
385 (u32) px->power, in acpi_processor_get_performance_states()
386 (u32) px->transition_latency, in acpi_processor_get_performance_states()
387 (u32) px->bus_master_latency, in acpi_processor_get_performance_states()
388 (u32) px->control, (u32) px->status)); in acpi_processor_get_performance_states()
393 if (!px->core_frequency || in acpi_processor_get_performance_states()
394 ((u32)(px->core_frequency * 1000) != in acpi_processor_get_performance_states()
395 (px->core_frequency * 1000))) { in acpi_processor_get_performance_states()
398 pr->id, px->core_frequency); in acpi_processor_get_performance_states()
407 px, sizeof(struct acpi_processor_px)); in acpi_processor_get_performance_states()