summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@nvidia.com>2025-07-17 15:17:25 +0300
committerLeon Romanovsky <leon@kernel.org>2025-07-23 08:27:32 +0300
commit0a61ec9cc51b0e43981222005444508437e95b33 (patch)
tree5f016e01c5d4e4aea6b0c5a34ffdf0fff0cf1750 /include/linux
parent9a0048e0ae14cb7babfd459ec920234e8a2ab86e (diff)
downloadlinux-0a61ec9cc51b0e43981222005444508437e95b33.tar.xz
PCI/TPH: Expose pcie_tph_get_st_table_size()
Expose pcie_tph_get_st_table_size() to be used by drivers as will be done in the next patch from the series. Signed-off-by: Yishai Hadas <yishaih@nvidia.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Link: https://patch.msgid.link/9ae851e0ee42cc56d2a30276e116b65091030ceb.1752752567.git.leon@kernel.org 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 c3e806c13d64..9e4e331b1603 100644
--- a/include/linux/pci-tph.h
+++ b/include/linux/pci-tph.h
@@ -28,6 +28,7 @@ int pcie_tph_get_cpu_st(struct pci_dev *dev,
unsigned int cpu_uid, u16 *tag);
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);
#else
static inline int pcie_tph_set_st_entry(struct pci_dev *pdev,
unsigned int index, u16 tag)