[RFC PATCH 4/4] PCI: Document APIs for endpoint DOE implementation

From: Aksh Garg

Date: Fri Feb 13 2026 - 07:37:01 EST


From: Aksh Garg <a-garg7@xxxxxx>

Add kernel-doc API reference section to the DOE endpoint documentation,
documenting the exported functions from drivers/pci/doe-ep.c for use by
endpoint controller drivers and protocol handler modules.

Co-developed-by: Siddharth Vadapalli <s-vadapalli@xxxxxx>
Signed-off-by: Siddharth Vadapalli <s-vadapalli@xxxxxx>
Signed-off-by: Aksh Garg <a-garg7@xxxxxx>
---
Documentation/PCI/pci-doe-ep.rst | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/PCI/pci-doe-ep.rst b/Documentation/PCI/pci-doe-ep.rst
index d6715944c117..6ad064e838e7 100644
--- a/Documentation/PCI/pci-doe-ep.rst
+++ b/Documentation/PCI/pci-doe-ep.rst
@@ -289,3 +289,9 @@ When the controller driver receives an error code from
``pci_ep_doe_process_request()``, it sets the ERROR bit in the DOE Status
register instead of writing a response to the read mailbox register,
and frees the buffers.
+
+API Reference
+=============
+
+.. kernel-doc:: drivers/pci/doe-ep.c
+ :export:
--
2.34.1