acpi_graph_...d_prop_value(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… acpi_graph_get_child_prop_value(9) β€” the group-chat edition

okay so bestie, welcome to the kernel API manual for acpi_graph_get_child_prop_value β€” yes that's the whole name, the header up top literally abbreviates it to acpi_graph_...d_prop_value(9) because it's that long, iconic behaviour honestly πŸŽ€


✨ NAME ✨

acpi_graph_get_child_prop_value β€” return a child with a given property value 🌸

Like, you give it a property, you give it a value, it finds you the child that matches. matchmaking but for firmware nodes, we love to see it πŸ’–


✨ SYNOPSIS ✨

struct fwnode_handle * acpi_graph_get_child_prop_value (const struct fwnode_handle *fwnode , const char *prop_name , unsigned int val );

three args, one pointer back, slay ✨


✨ ARGUMENTS ✨

  • fwnode β€” device fwnode πŸ¦‹ like, the node you're starting from, your main character
  • prop_name β€” the name of the property to look for πŸ” the thing we're checking
  • val β€” the desired property value ⭐ the vibe we want it to match

✨ DESCRIPTION ✨

so what it actually does: it returns the port node that corresponds to a given port number πŸ’…

and the returns are giving very clear-cut:

  • child node on success πŸ‘‘
  • NULL otherwise πŸ’€

no in-between, no "it depends", periodt.


✨ SEE ALSO ✨

go read the kernel file ./drivers/acpi/property.c bestie, it's right there πŸ™ˆ and while you're in the neighbourhood, these are all friends of the family:

that's the whole little friend group, iykyk 🌈


aaand that's the page!! courtesy of ./drivers/acpi, dated October 2026, still serving the same acpi_graph_...d_prop_value(9) realness as always πŸ’œπŸ«Ά go forth and get your child prop values bestie, mwah πŸŽ€

πŸ“¦ where this page comes from