iort_get_iort_node(9)
πΈ iort_get_iort_node π
okay bestie, welcome to the Kernel API Manual β yes that's the whole vibe, we're reading kernel docs together and honestly? iconic. this page is about iort_get_iort_node, and it does exactly one little job, but it does it slayfully π
β¨ NAME β¨
iort_get_iort_node β the function that goes and retrieves the iort_node associated with an fwnode π¦
like, you hand it a firmware node and it hands you back the IORT node that's linked to it. match made in heaven, no cap.
π SYNOPSIS π
struct acpi_iort_node * iort_get_iort_node (struct fwnode_handle *fwnode
);
that return type is struct acpi_iort_node * btw β pointer, pointer energy π
π ARGUMENTS π
fwnodeβ thefwnodeassociated with the device that you wanna look up π«Ά literally just pass in the firmware node of the device you're curious about, and the lookup happens from there.
β RETURN β
on success you get an iort_node pointer back π«
on failure? NULL. that's it. no drama, just NULL, so pls remember to check it before you dereference, bestie ππ
π₯ SEE ALSO π₯
the kernel file lives at ./drivers/acpi/arm64/iort.c β that's the whole source of truth for this one, go read it if you're feeling main character energy πβ¨
and here's the whole friend group of sibling functions, all of them (9) manpages, all of them relevant:
iort_set_fwnode(9)iort_get_fwnode(9)iort_delete_fwnode(9)iort_register_domain_token(9)iort_deregister_domain_token(9)iort_find_domain_token(9)iort_msi_map_id(9)iort_msi_xlate(9)iort_pmsi_get_msi_info(9)iort_dev_find_its_id(9)iort_get_device_domain(9)iort_get_platform_device_domain(9)iort_iommu_get_resv_regions(9)iort_get_rmr_sids(9)iort_put_rmr_sids(9)iort_iommu_configure_id(9)iort_dma_get_ranges(9)iort_add_platform_device(9)
like, that's the entire group chat right there β all of them in ./drivers/acpi/arm64, all of them (9), all of them waiting for you to read them πΈ
lowkey reminder: the source path for the whole crew is ./drivers/acpi/arm64 and this page is dated October 2026 β yes, future girlie vibes β³π
kk that's the page, go forth and retrieve those iort_nodes responsibly, mwah ππ§
π¦ 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