aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pci.h
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2011-01-14 11:53:04 -0500
committerJesse Barnes <jbarnes@virtuousgeek.org>2011-05-11 18:18:53 -0400
commit51c2e0a7e5bc7ed1384cc68cfb95e702571500c9 (patch)
tree839dc5d6eb233b009c8802cb8cafde68f5a2ce6e /include/linux/pci.h
parent48a92a8179b3e677fac07db7bd109e68f020468c (diff)
PCI: add latency tolerance reporting enable/disable support
Latency tolerance reporting allows devices to send messages to the root complex indicating their latency tolerance for snooped & unsnooped memory transactions. Add support for enabling & disabling this feature, along with a routine to set the max latencies a device should send upstream. Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'include/linux/pci.h')
-rw-r--r--include/linux/pci.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/pci.h b/include/linux/pci.h
index 45a035cccd93..df4d69b82144 100644
--- a/include/linux/pci.h
+++ b/include/linux/pci.h
@@ -840,6 +840,11 @@ enum pci_obff_signal_type {
840int pci_enable_obff(struct pci_dev *dev, enum pci_obff_signal_type); 840int pci_enable_obff(struct pci_dev *dev, enum pci_obff_signal_type);
841void pci_disable_obff(struct pci_dev *dev); 841void pci_disable_obff(struct pci_dev *dev);
842 842
843bool pci_ltr_supported(struct pci_dev *dev);
844int pci_enable_ltr(struct pci_dev *dev);
845void pci_disable_ltr(struct pci_dev *dev);
846int pci_set_ltr(struct pci_dev *dev, int snoop_lat_ns, int nosnoop_lat_ns);
847
843/* For use by arch with custom probe code */ 848/* For use by arch with custom probe code */
844void set_pcie_port_type(struct pci_dev *pdev); 849void set_pcie_port_type(struct pci_dev *pdev);
845void set_pcie_hotplug_bridge(struct pci_dev *pdev); 850void set_pcie_hotplug_bridge(struct pci_dev *pdev);