acpi_data_ge...operty_array(9)
π NAME π
okay so welcome to the acpi_data_get_property_array(9) page from the Kernel API Manual, bestie π«Ά. This function is literally here to return an ACPI array property with given name. no cap.
β¨ SYNOPSIS β¨
int acpi_data_get_property_array (const struct acpi_device_data *data ,
const char *name , acpi_object_type type , const union acpi_object **obj
);
π ARGUMENTS π
dataβ ACPI data object to get the property from.nameβ Name of the property.typeβ Expected type of array elements.objβ Location to store a pointer to the property value (if notNULL).
πΈ DESCRIPTION πΈ
Look up an array property with name and store a pointer to the resulting ACPI object at the location pointed to by obj if found. iconic behavior, honestly β¨
β οΈ bestie, listen: Callers must not attempt to free the returned objects. Those objects will be freed by the ACPI core automatically during the removal of data. so do not touch, okay? π
π₯ RETURN π₯
0β if array property (package) withnamehas been found (success) π-EINVALβ if the arguments are invalid-EINVALβ if the property doesn't exist-EPROTOβ if the property is not a package or the type of its elements doesn't matchtype
π¦ SEE ALSO π¦
Kernel file: ./drivers/acpi/property.c β and the whole friend group:
acpi_data_get_property(9)acpi_dev_get_property(9)acpi_node_prop_get(9)__acpi_node_get_property_reference(9)acpi_node_prop_read(9)acpi_node_get_parent(9)acpi_graph_get_next_endpoint(9)acpi_graph_get_child_prop_value(9)acpi_graph_get_remote_endpoint(9)
mwah π source/version: ./drivers/acpi β’ date: October 2026 β’ page: acpi_data_ge...operty_array(9) β bye bestie, go get that array! ππ
π¦ 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