Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/acpi/
Dprocessor_perflib.c298 int last_invalid = -1; in acpi_processor_get_performance_states() local
365 if (last_invalid == -1) in acpi_processor_get_performance_states()
366 last_invalid = i; in acpi_processor_get_performance_states()
368 if (last_invalid != -1) { in acpi_processor_get_performance_states()
372 memcpy(&(pr->performance->states[last_invalid]), in acpi_processor_get_performance_states()
374 ++last_invalid; in acpi_processor_get_performance_states()
379 if (last_invalid == 0) { in acpi_processor_get_performance_states()
387 if (last_invalid > 0) in acpi_processor_get_performance_states()
388 pr->performance->state_count = last_invalid; in acpi_processor_get_performance_states()