device_iommu_capable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, welcome to device_iommu_capable(9) from the Kernel API Manual β€” this one is literally here to check for a general IOMMU capability. That's the whole assignment, and it slays at it. ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

bool device_iommu_capable (struct device *dev , enum iommu_cap cap );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the device to which the capability would be relevant, if available. Like, if it's around, this is the device we're asking about. 🫢
  • cap β€” the IOMMU capability. That's the thing being checked, periodt. πŸ’…

🌈 RETURN 🌈

It returns true if an IOMMU is present and supports the given capability for the given device; otherwise it returns false. That's it, no extra lore. πŸ‘‘


🌸 SEE ALSO 🌸

Kernel file: ./drivers/iommu/iommu.c

The whole reference squad, in order and with zero skips:


Source/version: ./drivers/iommu, dated October 2026, and the page title is still device_iommu_capable(9) β€” cute little footer moment, mwah! πŸ’œπŸŽ€

πŸ“¦ where this page comes from