pci_epc_map_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to pci_epc_map_addr(9) from the Kernel API Manual β€” this is the function that maps a CPU address to a PCI address. no cap, that's the whole name βœ…

✨ SYNOPSIS ✨

here's the exact signature, don't @ me:

int pci_epc_map_addr (struct pci_epc *epc , u8 func_no , u8 vfunc_no ,
phys_addr_t phys_addr , u64 pci_addr , size_t size );

πŸŽ€ ARGUMENTS πŸŽ€

  • epc β€” the EPC device on which address is allocated πŸ‘‘
  • func_no β€” the physical endpoint function number in the EPC device
  • vfunc_no β€” the virtual endpoint function number in the physical function
  • phys_addr β€” physical address of the local system
  • pci_addr β€” PCI address to which the physical address should be mapped
  • size β€” the size of the allocation

πŸ’… DESCRIPTION πŸ’…

invoke this cutie to map CPU address with PCI address. that's the assignment, bestie: CPU address on one side, PCI address on the other, map achieved. ✨

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file is ./drivers/pci/endpoint/pci-epc-core.c, and the whole bestie lineup is:


muah πŸ’– this page is from ./drivers/pci/endpoint, dated October 2026, and signed pci_epc_map_addr(9). 🫢✨

πŸ“¦ where this page comes from