pcim_iomap_table(9)
π 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:
devm_pci_remap_iospace(9)devm_pci_remap_cfgspace(9)devm_pci_remap_cfg_resource(9)pcim_set_mwi(9)pcim_intx(9)pcim_enable_device(9)pcim_pin_device(9)pcim_iomap(9)pcim_iounmap(9)pcim_iomap_region(9)pcim_iounmap_region(9)pcim_iomap_regions(9)pcim_request_region(9)pcim_release_region(9)pcim_release_all_regions(9)pcim_request_all_regions(9)pcim_iomap_range(9)
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
- 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