Home
last modified time | relevance | path

Searched refs:last_invalid (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/acpi/
H A Dprocessor_perflib.c314 int last_invalid = -1; in acpi_processor_get_performance_states() local
380 if (last_invalid == -1) in acpi_processor_get_performance_states()
381 last_invalid = i; in acpi_processor_get_performance_states()
383 if (last_invalid != -1) { in acpi_processor_get_performance_states()
387 memcpy(&(pr->performance->states[last_invalid]), in acpi_processor_get_performance_states()
389 ++last_invalid; in acpi_processor_get_performance_states()
394 if (last_invalid == 0) { in acpi_processor_get_performance_states()
402 if (last_invalid > 0) in acpi_processor_get_performance_states()
403 pr->performance->state_count = last_invalid; in acpi_processor_get_performance_states()