Lines Matching defs:lpi_state
905 struct acpi_lpi_state *lpi_state;
932 lpi_state = kcalloc(pkg_count, sizeof(*lpi_state), GFP_KERNEL);
933 if (!lpi_state) {
939 info->entries = lpi_state;
942 for (loop = 3; state_idx <= pkg_count; loop++, state_idx++, lpi_state++) {
960 lpi_state->address = reg->address;
961 lpi_state->entry_method =
965 lpi_state->entry_method = ACPI_CSTATE_INTEGER;
966 lpi_state->address = obj->integer.value;
975 strlcpy(lpi_state->desc, obj->string.pointer,
978 lpi_state->index = state_idx;
979 if (obj_get_integer(pkg_elem + 0, &lpi_state->min_residency)) {
981 lpi_state->min_residency = 10;
984 if (obj_get_integer(pkg_elem + 1, &lpi_state->wake_latency)) {
986 lpi_state->wake_latency = 10;
989 if (obj_get_integer(pkg_elem + 2, &lpi_state->flags))
990 lpi_state->flags = 0;
992 if (obj_get_integer(pkg_elem + 3, &lpi_state->arch_flags))
993 lpi_state->arch_flags = 0;
995 if (obj_get_integer(pkg_elem + 4, &lpi_state->res_cnt_freq))
996 lpi_state->res_cnt_freq = 1;
998 if (obj_get_integer(pkg_elem + 5, &lpi_state->enable_parent_state))
999 lpi_state->enable_parent_state = 0;