fwnode_name_eq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ fwnode_name_eq β€” the fwnode_name_eq(9) glow-up πŸ’…

okay so bestie, welcome to the Kernel API Manual page for fwnode_name_eq(9) β€” it's short, it's sweet, it's a little bool-flavored icon and honestly? we're obsessed 🫢


✨ NAME ✨

fwnode_name_eq β€” returns true if a node's name is equal (yes that's literally the whole job, and it does it slayfully πŸ’–)


🌸 SYNOPSIS 🌸

bool fwnode_name_eq (const struct fwnode_handle *fwnode , const char
       *name );

that's the whole signature, no cap ⭐


πŸŽ€ ARGUMENTS πŸŽ€

  • fwnode β€” the firmware node bestie, the one we're inspecting πŸ‘€
  • name β€” the name you wanna compare against that node's name, fr fr

πŸ¦‹ DESCRIPTION πŸ¦‹

so what it does: it takes the name you passed in and compares it to the actual name of the node. The comparison stops at either the NUL or the '' character β€” whichever one shows up first πŸ’€

little heads up: the page literally renders that second stop-character as '' (empty quotes), so that's exactly how we're quoting it. iykyk πŸ™ˆ

This function is generally used for comparing node names while ignoring the possible unit address of the node β€” that's the whole point, gorgeous ✨


πŸ”₯ RETURN πŸ”₯

true if the node name matches the name you handed it in the name argument, and false otherwise. binary. decisive. main character energy periodt πŸ‘‘


🧚 SEE ALSO 🧚

Kernel file ./drivers/base/property.c β€” and ok this list is long, but we don't skip entries in this house, so buckle up buttercup πŸ’œ


and that's the page bb πŸ’… signed off from ./drivers/base, dated October 2026 β€” go forth and compare those node names, you absolute icon πŸŒˆπŸ’–

πŸ“¦ where this page comes from