pcim_iomap_table(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

okay bestie, this is pcim_iomap_table(9) from the Kernel API Manual, and the name says it all: pcim_iomap_table β€” access iomap allocation table (DEPRECATED). πŸ’…

✨ SYNOPSIS ✨

void __iomem * const * pcim_iomap_table (struct pci_dev *pdev );

🫢 ARGUMENTS 🫢

  • pdev β€” the PCI device to access the iomap table for. πŸ’–

🌸 RETURN 🌸

Const pointer to array of __iomem pointers on success, NULL on failure.

πŸ’… DESCRIPTION πŸ’…

Access the iomap allocation table for dev. If the iomap table doesn't exist and pdev is managed, it will be allocated. All iomaps recorded in the iomap table are automatically unmapped on driver detach. ✨

This function might sleep when the table is first allocated but can be safely called without context and guaranteed to succeed once allocated. 😴

DEPRECATED alert, bestie: this function is DEPRECATED. Do not use it in new code. Instead, obtain a mapping's address directly from one of the pcim_* mapping functions. For

πŸ¦‹ EXAMPLE πŸ¦‹

void __iomem appy = pcim_iomap(pdev, bar, length);

πŸ‘‘ SEE ALSO πŸ‘‘

The kernel file is ./drivers/pci/devres.c. Go peek at:


that's the whole vibe πŸ’– source/version: ./drivers/pci, date: October 2026. bye bestie, slay those PCI mappings β€” but not with the deprecated one, fr fr. πŸŽ€

πŸ“¦ where this page comes from