driver_find_...ce_by_fwnode(9)
π driver_find_...ce_by_fwnode(9) β from the Kernel API Manual β¨
okay so bestie, listen up π«Ά this is the driver_find_...ce_by_fwnode(9) page, and honestly it's a short one but it ate. it's the device iterator you reach for when you want to find one specific device by its fwnode pointer. no cap, that's the whole vibe.
πΈ NAME πΈ
driver_find_device_by_fwnode β device iterator for locating a particular device by fwnode pointer.
like, it's giving "search party but make it kernel" ππ
β¨ SYNOPSIS β¨
struct device * driver_find_device_by_fwnode (struct device_driver *drv
, const struct fwnode_handle *fwnode );
periodt. that's the signature, don't touch it π
π ARGUMENTS π
drvβ the driver we're iterating. yup, you're walking through everything this driver has got, main character energy πfwnodeβ fwnode pointer to match. this is the one we're looking for, the whole reason we're here π₯
π¦ SEE ALSO π¦
all the siblings and cousins, iykyk:
- Kernel file
./include/linux/device/driver.h enum probe_type(9)struct device_driver(9)driver_find_device_by_name(9)driver_find_device_by_of_node(9)driver_find_device_by_devt(9)driver_find_device_by_acpi_dev(9)module_driver(9)builtin_driver(9)
ngl, that's a whole friend group and they're all iconic π
lowkey reminder: this page is literally just the lookup-by-fwnode one β the other finders above are separate pages, so don't come for me if you wanted one of those π
and that's the page, bestie! π source/version: ./include/linux/device, dated October 2026, and yes it's still filed under driver_find_...ce_by_fwnode(9) β slay, go read your kernel headers πβ¨π§
π¦ 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