Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/acpi/
Dprocessor_perflib.c294 int last_invalid = -1; in acpi_processor_get_performance_states() local
361 if (last_invalid == -1) in acpi_processor_get_performance_states()
362 last_invalid = i; in acpi_processor_get_performance_states()
364 if (last_invalid != -1) { in acpi_processor_get_performance_states()
368 memcpy(&(pr->performance->states[last_invalid]), in acpi_processor_get_performance_states()
370 ++last_invalid; in acpi_processor_get_performance_states()
375 if (last_invalid == 0) { in acpi_processor_get_performance_states()
383 if (last_invalid > 0) in acpi_processor_get_performance_states()
384 pr->performance->state_count = last_invalid; in acpi_processor_get_performance_states()