1#ifndef __LINUX_USB_PCI_QUIRKS_H
2#define __LINUX_USB_PCI_QUIRKS_H
3
4#ifdef CONFIG_PCI
5void uhci_reset_hc(struct pci_dev *pdev, unsigned long base);
6int uhci_check_and_reset_hc(struct pci_dev *pdev, unsigned long base);
7int usb_amd_find_chipset_info(void);
8int usb_hcd_amd_remote_wakeup_quirk(struct pci_dev *pdev);
9bool usb_amd_hang_symptom_quirk(void);
10bool usb_amd_prefetch_quirk(void);
11void usb_amd_dev_put(void);
12void usb_amd_quirk_pll_disable(void);
13void usb_amd_quirk_pll_enable(void);
14void usb_enable_intel_xhci_ports(struct pci_dev *xhci_pdev);
15void usb_disable_xhci_ports(struct pci_dev *xhci_pdev);
16void sb800_prefetch(struct device *dev, int on);
17#else
18struct pci_dev;
19static inline void usb_amd_quirk_pll_disable(void) {}
20static inline void usb_amd_quirk_pll_enable(void) {}
21static inline void usb_amd_dev_put(void) {}
22static inline void usb_disable_xhci_ports(struct pci_dev *xhci_pdev) {}
23static inline void sb800_prefetch(struct device *dev, int on) {}
24#endif  /* CONFIG_PCI */
25
26#endif  /*  __LINUX_USB_PCI_QUIRKS_H  */
27