diff options
| author | Yishai Hadas <yishaih@nvidia.com> | 2025-10-27 11:34:01 +0200 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2025-11-09 05:13:02 -0500 |
| commit | 7b8a8ec20cfce2298f6737089f5d17407ea346b4 (patch) | |
| tree | 77901c2ba209c88e29f95863a331b31f98b4bd70 /include/linux | |
| parent | eea31f21dce10814e34dc7ef7ed5136269c7bb59 (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.h | 1 |
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) |
