Merge tag 'ceph-for-4.13-rc8' of git://github.com/ceph/ceph-client
[linux/fpc-iii.git] / drivers / usb / host / pci-quirks.h
blob5582cbafecd4c1a3ddc5443d6cc9182a9b9bc89f
1 #ifndef __LINUX_USB_PCI_QUIRKS_H
2 #define __LINUX_USB_PCI_QUIRKS_H
4 #ifdef CONFIG_USB_PCI
5 void uhci_reset_hc(struct pci_dev *pdev, unsigned long base);
6 int uhci_check_and_reset_hc(struct pci_dev *pdev, unsigned long base);
7 int usb_amd_find_chipset_info(void);
8 int usb_hcd_amd_remote_wakeup_quirk(struct pci_dev *pdev);
9 bool usb_amd_hang_symptom_quirk(void);
10 bool usb_amd_prefetch_quirk(void);
11 void usb_amd_dev_put(void);
12 void usb_amd_quirk_pll_disable(void);
13 void usb_amd_quirk_pll_enable(void);
14 void usb_asmedia_modifyflowcontrol(struct pci_dev *pdev);
15 void usb_enable_intel_xhci_ports(struct pci_dev *xhci_pdev);
16 void usb_disable_xhci_ports(struct pci_dev *xhci_pdev);
17 void sb800_prefetch(struct device *dev, int on);
18 bool usb_xhci_needs_pci_reset(struct pci_dev *pdev);
19 #else
20 struct pci_dev;
21 static inline void usb_amd_quirk_pll_disable(void) {}
22 static inline void usb_amd_quirk_pll_enable(void) {}
23 static inline void usb_asmedia_modifyflowcontrol(struct pci_dev *pdev) {}
24 static inline void usb_amd_dev_put(void) {}
25 static inline void usb_disable_xhci_ports(struct pci_dev *xhci_pdev) {}
26 static inline void sb800_prefetch(struct device *dev, int on) {}
27 #endif /* CONFIG_USB_PCI */
29 #endif /* __LINUX_USB_PCI_QUIRKS_H */