[lkml]   [2022]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[patch 31/39] Documentation: PCI: Add reference to PCI/MSI device driver APIs
From: Ahmed S. Darwish <>

All exported device-driver MSI APIs are now grouped in one place at
drivers/pci/msi/api.c with comprehensive kernel-docs added.

Reference these kernel-docs in the official PCI/MSI howto.

Signed-off-by: Ahmed S. Darwish <>
Signed-off-by: Thomas Gleixner <>

Documentation/PCI/msi-howto.rst | 10 ++++++++++
1 file changed, 10 insertions(+)
--- a/Documentation/PCI/msi-howto.rst
+++ b/Documentation/PCI/msi-howto.rst
@@ -285,3 +285,13 @@ to bridges between the PCI root and the
It is also worth checking the device driver to see whether it supports MSIs.
For example, it may contain calls to pci_alloc_irq_vectors() with the
+List of device drivers MSI(-X) APIs
+The PCI/MSI subystem has a dedicated C file for its exported device driver
+APIs — `drivers/pci/msi/api.c`. The following functions are exported:
+.. kernel-doc:: drivers/pci/msi/api.c
+ :export:
 \ /
  Last update: 2022-11-11 14:58    [W:0.434 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site