summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@nvidia.com>2025-10-27 11:34:01 +0200
committerLeon Romanovsky <leon@kernel.org>2025-11-09 05:13:02 -0500
commit7b8a8ec20cfce2298f6737089f5d17407ea346b4 (patch)
tree77901c2ba209c88e29f95863a331b31f98b4bd70 /include/linux
parenteea31f21dce10814e34dc7ef7ed5136269c7bb59 (diff)
PCI/TPH: Expose pcie_tph_get_st_table_loc()
Expose pcie_tph_get_st_table_loc() to be used by drivers as will be done in the next patch from the series. Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Signed-off-by: Edward Srouji <edwards@nvidia.com> Link: https://patch.msgid.link/20251027-st-direct-mode-v1-1-e0ad953866b6@nvidia.com Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/pci-tph.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/pci-tph.h b/include/linux/pci-tph.h
index 9e4e331b1603..ba28140ce670 100644
--- a/include/linux/pci-tph.h
+++ b/include/linux/pci-tph.h
@@ -29,6 +29,7 @@ int pcie_tph_get_cpu_st(struct pci_dev *dev,
void pcie_disable_tph(struct pci_dev *pdev);
int pcie_enable_tph(struct pci_dev *pdev, int mode);
u16 pcie_tph_get_st_table_size(struct pci_dev *pdev);
+u32 pcie_tph_get_st_table_loc(struct pci_dev *pdev);
#else
static inline int pcie_tph_set_st_entry(struct pci_dev *pdev,
unsigned int index, u16 tag)