fwnode_grap..._port_parent(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fwnode_grap..._port_parent(9) β€” from the Kernel API Manual, bestie πŸŽ€

Okay so listen, this one lives in the Kernel API Manual and it's actually such a vibe once you get it. Buckle up πŸ¦‹


✨ NAME ✨

fwnode_graph_get_remote_port_parent β€” literally returns the fwnode of a remote device. That's the whole gig. πŸ‘‘


🌸 SYNOPSIS 🌸

struct fwnode_handle * fwnode_graph_get_remote_port_parent (const struct
       fwnode_handle *fwnode );

Like, look at her. She takes one const struct fwnode_handle * and hands you back a struct fwnode_handle *. Main character energy fr fr. ✨


🫢 ARGUMENTS 🫢

  • fwnode β€” the endpoint firmware node that's pointing at the remote endpoint. She's the one doing the pointing, not the one being pointed at, iykyk. 🎯

πŸ’– DESCRIPTION πŸ’–

So what she does is: she extracts the firmware node of the remote device that fwnode is pointing to. That's it. That's the function. Iconic, unbothered, does exactly one thing. πŸ’…

⚠️ Okay this part is important and I need you to actually listen: the caller is responsible for calling fwnode_handle_put on the returned fwnode pointer. Like, you have to clean up after yourself. She hands you the pointer, you give it back. No leaking, no cap. 😭🧹

🌈 SEE ALSO 🌈

Sis brought her whole friend group, and honestly? The guest list is long but every single one of them is a real one. πŸ’€ The kernel file is ./drivers/base/property.c, and here's everybody who showed up to the party:


And that's the whole page, bestie! πŸ§šβ€β™€οΈπŸ’œ This lil gem comes to you from the ./drivers/base directory, dated October 2026, and she's filed under fwnode_grap..._port_parent(9) because apparently even the title got cut off mid-sentence β€” relatable honestly πŸ’€. Go forth, get your remote port parent, and put the fwnode when you're done. Periodt. πŸŽ€πŸ¦‹β­

πŸ“¦ where this page comes from