ccio_map_single(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

ccio_map_single β€” Map an address range into the IOMMU.

Okay bestie, yes: this is ccio_map_single(9) from the Kernel API Manual, and its whole vibe is mapping an address range into the IOMMU. Iconic, honestly.

πŸ¦‹ SYNOPSIS πŸ¦‹

Here's the signature β€” copy it exactly, no cap:

dma_addr_t  ccio_map_single (struct device *dev , phys_addr_t addr , size_t size , enum dma_data_direction direction );

🌸 ARGUMENTS 🌸

  • dev β€” The PCI device. That's the device in question, bestie.
  • addr β€” The physical address of the DMA region. Physical. Address. periodt.
  • size β€” The length of the DMA region. The size matters, obviously.
  • direction β€” The direction of the DMA transaction (to/from device). Yes, which way the DMA is going.

✨ DESCRIPTION ✨

This function implements the pci_map_single function. That's the whole description, and honestly? It ate. No notes.

πŸŽ€ SEE ALSO πŸŽ€

Kernel file: ./drivers/parisc/ccio-dma.c β€” go read the source, iykyk. Then these icon functions are all right here:


xoxo, sending love from the ./drivers/parisc source bestie β€” October 2026, ccio_map_single(9) πŸ«ΆπŸ’…

πŸ“¦ where this page comes from