]>
Commit | Line | Data |
---|---|---|
75e2df60 AB |
1 | #ifndef __LINUX_USB_PCI_QUIRKS_H |
2 | #define __LINUX_USB_PCI_QUIRKS_H | |
3 | ||
2c93e790 | 4 | #ifdef CONFIG_USB_PCI |
75e2df60 AB |
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); | |
ad93562b | 7 | int usb_amd_find_chipset_info(void); |
342a7493 | 8 | int usb_hcd_amd_remote_wakeup_quirk(struct pci_dev *pdev); |
3ad145b6 | 9 | bool usb_amd_hang_symptom_quirk(void); |
02c123ee | 10 | bool usb_amd_prefetch_quirk(void); |
ad93562b AX |
11 | void usb_amd_dev_put(void); |
12 | void usb_amd_quirk_pll_disable(void); | |
13 | void usb_amd_quirk_pll_enable(void); | |
9da5a109 | 14 | void usb_asmedia_modifyflowcontrol(struct pci_dev *pdev); |
26b76798 | 15 | void usb_enable_intel_xhci_ports(struct pci_dev *xhci_pdev); |
e95829f4 | 16 | void usb_disable_xhci_ports(struct pci_dev *xhci_pdev); |
2621d011 | 17 | void sb800_prefetch(struct device *dev, int on); |
ad93562b | 18 | #else |
c4d949b7 | 19 | struct pci_dev; |
ad93562b AX |
20 | static inline void usb_amd_quirk_pll_disable(void) {} |
21 | static inline void usb_amd_quirk_pll_enable(void) {} | |
9da5a109 | 22 | static inline void usb_asmedia_modifyflowcontrol(struct pci_dev *pdev) {} |
ad93562b | 23 | static inline void usb_amd_dev_put(void) {} |
29636578 | 24 | static inline void usb_disable_xhci_ports(struct pci_dev *xhci_pdev) {} |
2621d011 | 25 | static inline void sb800_prefetch(struct device *dev, int on) {} |
2c93e790 | 26 | #endif /* CONFIG_USB_PCI */ |
75e2df60 AB |
27 | |
28 | #endif /* __LINUX_USB_PCI_QUIRKS_H */ |