pci_real_dma_dev(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– pci_real_dma_dev(9) β€” Kernel API Manual cutie πŸ’–

Welcome to the Kernel API Manual, bestie! Today’s main character is pci_real_dma_dev, and she is literally here to hand you the PCI DMA device for a PCI device. Slay.

✨ NAME ✨

pci_real_dma_dev β€” Get PCI DMA device for PCI device. That’s the whole name vibe, no cap.

πŸ¦‹ SYNOPSIS πŸ¦‹

struct pci_dev * pci_real_dma_dev (struct pci_dev *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the PCI device that may have a PCI DMA alias. Lowkey the input, highkey important.

🌸 DESCRIPTION 🌸

Okay so here’s the tea: this function permits the platform to provide architecture-specific functionality to devices needing to alias DMA to another PCI device on another PCI bus. If the PCI device is on the same bus, it is recommended to use pci_add_dma_alias instead. This is the default implementation, and architecture implementations can override this. Periodt. πŸ’…

🌈 SEE ALSO 🌈

Kernel file: ./drivers/pci/pci.c. And now the whole squad, in order:


Source/version: ./drivers/pci Β· date: October 2026 Β· page: pci_real_dma_dev(9). Byeee bestie, go alias that DMA responsibly πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from