ccio_map_single(9)
π 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:
ccio_alloc_range(9)ccio_free_range(9)ccio_io_pdir_entry(9)ccio_clear_io_tlb(9)ccio_mark_invalid(9)ccio_dma_supported(9)ccio_unmap_phys(9)ccio_alloc(9)ccio_free(9)ccio_map_sg(9)ccio_unmap_sg(9)ccio_find_ioc(9)ccio_get_iommu(9)ccio_ioc_init(9)ccio_probe(9)ccio_init(9)
xoxo, sending love from the ./drivers/parisc source bestie β October 2026, ccio_map_single(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