parse_package(9)
π¦ parse_package(9) π¦
okay so bestie, this one is from the Kernel API Manual, and it's all about parsing an acpi package to pull out SAR information. very demure, very kernel-core. π
β¨ NAME β¨
parse_package β parse acpi package for retrieving SAR information
πΈ SYNOPSIS πΈ
acpi_status parse_package (struct wwan_sar_context *context , union acpi_object *item );
π ARGUMENTS π
contextβ pointer to driver context structure. literally the driver's context home base π«Άitemβ acpi_object pointer. yep, that's the object bestie is working with β¨
π DESCRIPTION π
okay so, the given acpi_object gets iterated so it can retrieve information for each device mode. no cap, that's the whole vibe. π₯
if a given package corresponding to a specific device mode is faulty, it gets skipped β and the specific entry in the context structure will have the default value of zero. so yeah, faulty mode = skipped, that entry stays at 0. periodt. π
decoding of subsequent device modes is realized by having "continue" statements in the for loop when an error is encountered while parsing a given device mode. it's giving "bad parse? continue, we move." π¦
β RETURN β
AE_OKif successAE_ERRORon error
π SEE ALSO π
- Kernel file
./drivers/platform/x86/intel/int1092/intel_sar.c get_int_value(9)update_sar_data(9)sar_get_device_mode(9)
xoxo, your kernel bestie π
β this page came from ./drivers/platform/x86/intel/i..., dated October 2026. π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms