of_graph_get_endpoint_count(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… of_graph_get_endpoint_count(9) β€” Kernel API Manual πŸ’…

okay bestie, welcome to the of_graph_get_endpoint_count(9) page β€” yes, the Kernel API Manual is giving very specific device-tree energy today, and we are here for it. πŸ’–

✨ NAME ✨

of_graph_get_endpoint_count β€” get the number of endpoints in a device node. That’s the whole assignment, no cap. πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

unsigned int of_graph_get_endpoint_count (const struct device_node *np
       );

πŸ’… ARGUMENTS πŸ’…

  • np β€” parent device node containing ports and endpoints. That’s the node you’re asking about, bestie. 🫢

🌸 RETURN 🌸

count of endpoint of this device node β€” literally the endpoint count for this device node, periodt. ✨

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file ./drivers/of/property.c, plus these absolute icons of the property/graph universe:


cute lil sign-off bestie: source/version is ./drivers/of, the date is October 2026, and the page is of_graph_get_endpoint_count(9) β€” mwah, stay slaying, ily πŸ’‹πŸ’–βœ¨

πŸ“¦ where this page comes from