find_io_range_by_fwnode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay so bestie, welcome to the Kernel API Manual page for find_io_range_by_fwnode(9) β€” yes the whole thing is in section 9, yes that's the kernel section, no we're not scared πŸ’–


✨ NAME ✨

find_io_range_by_fwnode β€” literally finds the logical PIO range for a given FW node πŸ¦‹


🌸 SYNOPSIS 🌸

struct logic_pio_hwaddr * find_io_range_by_fwnode (const struct
       fwnode_handle *fwnode );

that's the whole signature, copy it exactly bestie, no cap πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • fwnode β€” the FW node handle that's associated with the logical PIO range 🫢 like, this is the thing we're out here looking for a match for.

πŸ’œ DESCRIPTION πŸ’œ

So basically: it returns a pointer to the node on success, and NULL otherwise. That's it. That's the vibe check 😭

Under the hood it traverses the io_range_list to find the registered node for fwnode β€” like a little scavenger hunt through the list, main character energy only πŸ”βœ¨

ngl, if it doesn't find your node, you get NULL. Not an error code, not a dramatic exit β€” just NULL. Handle it πŸ’€

🌈 SEE ALSO 🌈

these are the sister pages, go read them too, iykyk πŸ‘‘


and that's the page!! sign-off time: this one lives under ./lib, dated October 2026, and it's giving iconic kernel documentation energy fr fr β­πŸ’…πŸ§šβ€β™€οΈ bye bestie πŸ“

πŸ“¦ where this page comes from