ccio_unmap_phys(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so bestie, this is ccio_unmap_phys(9) from the Kernel API Manual, and it's giving β€œclean up that DMA address range” energy. no cap, today we're unmapping from the IOMMU. πŸ’…

πŸ’– NAME πŸ’–

ccio_unmap_phys β€” unmap an address range from the IOMMU. periodt.

🌸 SYNOPSIS 🌸

void  ccio_unmap_phys (struct device *dev , dma_addr_t iova , size_t
size , enum dma_data_direction direction , unsigned long attrs );

✨ ARGUMENTS ✨

okay so here's the cast, and yes every single one matters:

  • struct device *dev β€” the PCI device. that's the whole vibe.
  • dma_addr_t iova β€” the start address of the DMA region. iconic starting point, fr fr.
  • size_t size β€” the length of the DMA region. gotta know how much we're working with πŸ’–
  • enum dma_data_direction direction β€” the direction of the DMA transaction (to/from device). yes, direction girlies rise 🫢
  • unsigned long attrs β€” attributes. and that's literally it, bestie, the whole description 😭

πŸ”₯ SEE ALSO πŸ”₯

the kernel file ./drivers/parisc/ccio-dma.c is the main character here, and the whole squad rolls deep:

mwah πŸ’‹ β€” from the ./drivers/parisc source/version, dated October 2026, page ccio_unmap_phys(9) 🫢

πŸ“¦ where this page comes from