| Adrian Bunk | 75e2df6 | 2006-03-25 18:01:53 +0100 | [diff] [blame] | 1 | #ifndef __LINUX_USB_PCI_QUIRKS_H | 
 | 2 | #define __LINUX_USB_PCI_QUIRKS_H | 
 | 3 |  | 
| Andiry Xu | ad93562 | 2011-03-01 14:57:05 +0800 | [diff] [blame] | 4 | #ifdef CONFIG_PCI | 
| Adrian Bunk | 75e2df6 | 2006-03-25 18:01:53 +0100 | [diff] [blame] | 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); | 
| Andiry Xu | ad93562 | 2011-03-01 14:57:05 +0800 | [diff] [blame] | 7 | int usb_amd_find_chipset_info(void); | 
 | 8 | void usb_amd_dev_put(void); | 
 | 9 | void usb_amd_quirk_pll_disable(void); | 
 | 10 | void usb_amd_quirk_pll_enable(void); | 
| Sarah Sharp | 69e848c | 2011-02-22 09:57:15 -0800 | [diff] [blame] | 11 | bool usb_is_intel_switchable_xhci(struct pci_dev *pdev); | 
 | 12 | void usb_enable_xhci_ports(struct pci_dev *xhci_pdev); | 
| Andiry Xu | ad93562 | 2011-03-01 14:57:05 +0800 | [diff] [blame] | 13 | #else | 
 | 14 | static inline void usb_amd_quirk_pll_disable(void) {} | 
 | 15 | static inline void usb_amd_quirk_pll_enable(void) {} | 
 | 16 | static inline void usb_amd_dev_put(void) {} | 
 | 17 | #endif  /* CONFIG_PCI */ | 
| Adrian Bunk | 75e2df6 | 2006-03-25 18:01:53 +0100 | [diff] [blame] | 18 |  | 
 | 19 | #endif  /*  __LINUX_USB_PCI_QUIRKS_H  */ |