acpi_node_prop_read(9)
π NAME π
hey bestie, welcome to the acpi_node_prop_read(9) page from the Kernel API Manual β¨ β this function is literally here to retrieve the value of an ACPI property with a given name. no cap. π
β¨ SYNOPSIS β¨
int acpi_node_prop_read (const struct fwnode_handle *fwnode , const char *propname , enum dev_prop_type proptype , void *val , size_t nval );
π ARGUMENTS π
fwnodeβ the firmware node you're getting the property from, bestie. π«Άpropnameβ the name of the property. iconic. β¨proptypeβ the expected property type. yes, we're type-checking the vibe. πvalβ location to store the property value (if notNULL). πnvalβ size of the array pointed to byval. periodt. π
π¦ DESCRIPTION π¦
okay so if val is NULL, this icon returns the number of array elements comprising the value of the property. otherwise, it reads at most nval values into the array at the location pointed to by val. that's the whole vibe. πΈ
π SEE ALSO π
- Kernel file
./drivers/acpi/property.cβ yes bestie, the source file for this whole situation π§ acpi_data_get_property(9)acpi_dev_get_property(9)acpi_node_prop_get(9)acpi_data_get_property_array(9)__acpi_node_get_property_reference(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 π sign-off szn: source/version ./drivers/acpi, dated October 2026. byeee, go read some ACPI property code π§π
π¦ 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