Lines Matching refs:lpi_state

888 	struct acpi_lpi_state *lpi_state;  in acpi_processor_evaluate_lpi()  local
915 lpi_state = kcalloc(pkg_count, sizeof(*lpi_state), GFP_KERNEL); in acpi_processor_evaluate_lpi()
916 if (!lpi_state) { in acpi_processor_evaluate_lpi()
922 info->entries = lpi_state; in acpi_processor_evaluate_lpi()
925 for (loop = 3; state_idx <= pkg_count; loop++, state_idx++, lpi_state++) { in acpi_processor_evaluate_lpi()
943 lpi_state->address = reg->address; in acpi_processor_evaluate_lpi()
944 lpi_state->entry_method = in acpi_processor_evaluate_lpi()
948 lpi_state->entry_method = ACPI_CSTATE_INTEGER; in acpi_processor_evaluate_lpi()
949 lpi_state->address = obj->integer.value; in acpi_processor_evaluate_lpi()
958 strlcpy(lpi_state->desc, obj->string.pointer, in acpi_processor_evaluate_lpi()
961 lpi_state->index = state_idx; in acpi_processor_evaluate_lpi()
962 if (obj_get_integer(pkg_elem + 0, &lpi_state->min_residency)) { in acpi_processor_evaluate_lpi()
964 lpi_state->min_residency = 10; in acpi_processor_evaluate_lpi()
967 if (obj_get_integer(pkg_elem + 1, &lpi_state->wake_latency)) { in acpi_processor_evaluate_lpi()
969 lpi_state->wake_latency = 10; in acpi_processor_evaluate_lpi()
972 if (obj_get_integer(pkg_elem + 2, &lpi_state->flags)) in acpi_processor_evaluate_lpi()
973 lpi_state->flags = 0; in acpi_processor_evaluate_lpi()
975 if (obj_get_integer(pkg_elem + 3, &lpi_state->arch_flags)) in acpi_processor_evaluate_lpi()
976 lpi_state->arch_flags = 0; in acpi_processor_evaluate_lpi()
978 if (obj_get_integer(pkg_elem + 4, &lpi_state->res_cnt_freq)) in acpi_processor_evaluate_lpi()
979 lpi_state->res_cnt_freq = 1; in acpi_processor_evaluate_lpi()
981 if (obj_get_integer(pkg_elem + 5, &lpi_state->enable_parent_state)) in acpi_processor_evaluate_lpi()
982 lpi_state->enable_parent_state = 0; in acpi_processor_evaluate_lpi()