blob: b1002a8ef96f58fc46039d6c37b4bcca18d056cb [file] [log] [blame]
Adrian Bunk75e2df62006-03-25 18:01:53 +01001#ifndef __LINUX_USB_PCI_QUIRKS_H
2#define __LINUX_USB_PCI_QUIRKS_H
3
Andiry Xuad935622011-03-01 14:57:05 +08004#ifdef CONFIG_PCI
Adrian Bunk75e2df62006-03-25 18:01:53 +01005void uhci_reset_hc(struct pci_dev *pdev, unsigned long base);
6int uhci_check_and_reset_hc(struct pci_dev *pdev, unsigned long base);
Andiry Xuad935622011-03-01 14:57:05 +08007int usb_amd_find_chipset_info(void);
8void usb_amd_dev_put(void);
9void usb_amd_quirk_pll_disable(void);
10void usb_amd_quirk_pll_enable(void);
Sarah Sharp69e848c2011-02-22 09:57:15 -080011bool usb_is_intel_switchable_xhci(struct pci_dev *pdev);
12void usb_enable_xhci_ports(struct pci_dev *xhci_pdev);
Andiry Xuad935622011-03-01 14:57:05 +080013#else
14static inline void usb_amd_quirk_pll_disable(void) {}
15static inline void usb_amd_quirk_pll_enable(void) {}
16static inline void usb_amd_dev_put(void) {}
17#endif /* CONFIG_PCI */
Adrian Bunk75e2df62006-03-25 18:01:53 +010018
19#endif /* __LINUX_USB_PCI_QUIRKS_H */