fwnode_find_reference(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ¦‹ fwnode_find_reference(9) πŸ¦‹

okay so bestie, this is the Kernel API Manual entry for fwnode_find_reference(9) β€” and yes, it's literally the β€œfind a named reference to a fwnode_handle” girlie. πŸ’…βœ¨


🌸 NAME 🌸

fwnode_find_reference β€” find named reference to a fwnode_handle πŸ’–

✨ SYNOPSIS ✨

struct fwnode_handle * fwnode_find_reference (const struct fwnode_handle
       *fwnode , const char *name , unsigned int index );

πŸŽ€ ARGUMENTS πŸŽ€

  • fwnode β€” the firmware node where you're looking for the reference, bestie. πŸ‘€
  • name β€” the name of the reference. like, the label you're hunting for. 🏷️
  • index β€” the index of the reference. πŸ”’

πŸ’– DESCRIPTION πŸ’–

index can be used when the named reference holds a table of references. no cap, that's the whole vibe. πŸ“š

⚠️ okay important: the caller is responsible for calling fwnode_handle_put on the returned fwnode pointer. do not forget, bestie β€” this one is on you. 🫢

🌈 RETURN 🌈

a pointer to the reference fwnode, when found. otherwise, it returns an error pointer. πŸ’€βœ¨

πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file is ./drivers/base/property.c, and the whole SEE ALSO posse is:


mwah πŸ’‹ this lil page is from the ./drivers/base source/version and is dated October 2026. periodt. 🫢

πŸ“¦ where this page comes from