fwnode_conne...n_find_match(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fwnode_connection_find_match(9) β€” like, the Kernel API Manual, bestie πŸŽ€

okay so you found the page for fwnode_connection_find_match in the kernel API manual and honestly? good for you. let's get into it πŸ’–


✨ NAME ✨

fwnode_connection_find_match β€” find a connection from a device node πŸ¦‹


🌸 SYNOPSIS 🌸

void * fwnode_connection_find_match (const struct fwnode_handle *fwnode
, const char *con_id , void *data , devcon_match_fn_t match );

literally the whole signature, no notes πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • fwnode β€” the device node that's got the connection, like it's holding it for you 🫢
  • con_id β€” the identifier for the connection. its little name tag basically πŸ’…
  • data β€” the data you're handing over to the match function ✨
  • match β€” the function that checks the connection description and converts it. the one doing the actual work ngl πŸ’€

πŸ”₯ DESCRIPTION πŸ”₯

So here's the vibe: you've got fwnode, you've got some other device node, and this function goes and finds the connection between them that has the unique identifier con_id. cute, right?

And then match? match is the main character here πŸŽ€ it takes that connection description and converts it into the data that you, the caller, are expecting to get back. so like, it's giving translator. it's giving glow-up for a raw description. obsessed πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/base/property.c, plus the whole friend group:


that's the whole page, no cap 🌈 and yeah β€” this one lives in ./drivers/base, dated October 2026, and it's from the kernel API manual itself. mwah, go read some kernel source bestie πŸ’œπŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from