Lines Matching full:pkg
295 ACPI_OBJECT *pkg = &top->Package.Elements[i + 1]; in acpi_fetch_cx() local
299 if (!ACPI_PKG_VALID(pkg, 4) || in acpi_fetch_cx()
300 acpi_PkgInt32(pkg, 1, &type) != 0 || in acpi_fetch_cx()
301 acpi_PkgInt32(pkg, 2, &cx_ptr->latency) != 0 || in acpi_fetch_cx()
302 acpi_PkgInt32(pkg, 3, &cx_ptr->power) != 0 || in acpi_fetch_cx()
303 acpi_get_gas(pkg, 0, &gas) != 0) { in acpi_fetch_cx()
337 ACPI_OBJECT *pkg, *res; in acpi_fetch_px() local
350 pkg = (ACPI_OBJECT *)buf.Pointer; in acpi_fetch_px()
351 if (!ACPI_PKG_VALID(pkg, 1)) { in acpi_fetch_px()
355 count = pkg->Package.Count; in acpi_fetch_px()
369 res = &pkg->Package.Elements[i]; in acpi_fetch_px()
399 pkg = (ACPI_OBJECT *)buf.Pointer; in acpi_fetch_px()
400 if (!ACPI_PKG_VALID(pkg, 2)) { in acpi_fetch_px()
405 error = acpi_get_pct(pkg, 0, &sc->control_register); in acpi_fetch_px()
411 error = acpi_get_pct(pkg, 1, &sc->status_register); in acpi_fetch_px()
428 pkg = (ACPI_OBJECT *)buf.Pointer; in acpi_fetch_px()
429 if (!ACPI_PKG_VALID(pkg, 1)) { in acpi_fetch_px()
434 res = &pkg->Package.Elements[0]; in acpi_fetch_px()