pci-quirks.h 694 B

1234567891011121314151617181920
  1. #ifndef __LINUX_USB_PCI_QUIRKS_H
  2. #define __LINUX_USB_PCI_QUIRKS_H
  3. #ifdef CONFIG_PCI
  4. void uhci_reset_hc(struct pci_dev *pdev, unsigned long base);
  5. int uhci_check_and_reset_hc(struct pci_dev *pdev, unsigned long base);
  6. int usb_amd_find_chipset_info(void);
  7. void usb_amd_dev_put(void);
  8. void usb_amd_quirk_pll_disable(void);
  9. void usb_amd_quirk_pll_enable(void);
  10. bool usb_is_intel_switchable_xhci(struct pci_dev *pdev);
  11. void usb_enable_xhci_ports(struct pci_dev *xhci_pdev);
  12. #else
  13. static inline void usb_amd_quirk_pll_disable(void) {}
  14. static inline void usb_amd_quirk_pll_enable(void) {}
  15. static inline void usb_amd_dev_put(void) {}
  16. #endif /* CONFIG_PCI */
  17. #endif /* __LINUX_USB_PCI_QUIRKS_H */