acpi_node_prop_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 not NULL). πŸ‘€
  • nval β€” size of the array pointed to by val. 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 🌈


mwah πŸ’‹ sign-off szn: source/version ./drivers/acpi, dated October 2026. byeee, go read some ACPI property code πŸ§šπŸ’œ

πŸ“¦ where this page comes from