find_io_range_by_fwnode(9)
π 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 getNULL. Not an error code, not a dramatic exit β justNULL. Handle it π
π SEE ALSO π
- Kernel file
./lib/logic_pio.c logic_pio_register_range(9)logic_pio_unregister_range(9)logic_pio_to_hwaddr(9)logic_pio_trans_hwaddr(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms