pcim_iounmap(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pcim_iounmap(9) πŸ’…

okay so this is a page straight out of the Kernel API Manual, and honestly? it's a little one but she matters. let's get into it ✨


🌸 NAME 🌸

pcim_iounmap β€” the managed version of pci_iounmap(), and yes she's the responsible one 🫢


πŸŽ€ SYNOPSIS πŸŽ€

void pcim_iounmap (struct pci_dev *pdev , void __iomem *addr );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pdev β€” the PCI device you're doing the iounmap for. like, the whole reason this mapping exists πŸ’–
  • addr β€” the address you wanna unmap. bye bestie πŸ‘‹

⭐ DESCRIPTION ⭐

So pcim_iounmap is the managed pci_iounmap(). that's the whole vibe. 🧚

⚠️ important caveat, no cap: addr must have been mapped using one of the pcim_* mapping functions. like, don't just roll up with any random address, that's not the energy we're going for 😭

πŸ‘‘ SEE ALSO πŸ‘‘

go check out the kernel file ./drivers/pci/devres.c β€” that's where the magic lives 🏠

like, the whole pcim_* friend group fr fr πŸ’œ


that's the page!! mwah πŸ’‹ this came from ./drivers/pci and it's dated October 2026 β€” stay unmap-ped and stay iconic, bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from