iort_dev_find_its_id(9)
π iort_dev_find_its_id(9) β like, the Kernel API Manual page, bestie π
okay so this is a page straight outta the Kernel API Manual, and it's giving "small function, big responsibilities" energy. We're talking iort_dev_find_its_id β aka the little guy that goes and finds the ITS identifier for a device. Let's get into it, no cap β¨
πΈ NAME πΈ
iort_dev_find_its_id β find the ITS identifier for a device π¦
Like, that's literally the whole job. It finds the ITS id. For a device. Iconic behavior honestly.
β¨ SYNOPSIS β¨
int iort_dev_find_its_id (struct device *dev , u32 id , unsigned int idx
, int *its_id );
copy that exactly, bestie, spacing and all β do NOT let your editor "fix" it π
π ARGUMENTS π
okay so the function takes four things, and each one is doing its own little job:
devβ the device. yeah. just the device. the main character of this whole operation πidβ the device's ID. it's au32, and it's the ID we're working with.idxβ the index of the ITS identifier list. so there's a list, and this is which slot in it we care about π₯its_idβ the ITS identifier. this is where the ITS id lands π―
β RETURN β
0 on success β slay π
β and, like, an appropriate error value otherwise π so always check your return value, fr fr.
π SEE ALSO π
the Kernel file ./drivers/acpi/arm64/iort.c and honestly the whole IORT friend group, all showing up to the group chat together π«Ά:
iort_set_fwnode(9)iort_get_fwnode(9)iort_delete_fwnode(9)iort_get_iort_node(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_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)
π«Ά okay that's the whole page, go read the source at./drivers/acpi/arm64if you're feeling brave, and remember:iort_dev_find_its_id(9)said hi π
and that's a wrap, bestie β this one's from ./drivers/acpi/arm64, dated October 2026, and it will forever be known as iort_dev_find_its_id(9) π
β¨π
π¦ 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