Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) #ifndef __LINUX_USB_PCI_QUIRKS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #define __LINUX_USB_PCI_QUIRKS_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #ifdef CONFIG_USB_PCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) void uhci_reset_hc(struct pci_dev *pdev, unsigned long base);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) int uhci_check_and_reset_hc(struct pci_dev *pdev, unsigned long base);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) int usb_hcd_amd_remote_wakeup_quirk(struct pci_dev *pdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) bool usb_amd_hang_symptom_quirk(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) bool usb_amd_prefetch_quirk(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) void usb_amd_dev_put(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) bool usb_amd_quirk_pll_check(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) void usb_amd_quirk_pll_disable(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) void usb_amd_quirk_pll_enable(void);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) void usb_asmedia_modifyflowcontrol(struct pci_dev *pdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) void usb_enable_intel_xhci_ports(struct pci_dev *xhci_pdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) void usb_disable_xhci_ports(struct pci_dev *xhci_pdev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) void sb800_prefetch(struct device *dev, int on);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) bool usb_amd_pt_check_port(struct device *device, int port);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) struct pci_dev;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) static inline void usb_amd_quirk_pll_disable(void) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) static inline void usb_amd_quirk_pll_enable(void) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) static inline void usb_asmedia_modifyflowcontrol(struct pci_dev *pdev) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) static inline void usb_amd_dev_put(void) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) static inline void usb_disable_xhci_ports(struct pci_dev *xhci_pdev) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) static inline void sb800_prefetch(struct device *dev, int on) {}
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) static inline bool usb_amd_pt_check_port(struct device *device, int port)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 	return false;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #endif  /* CONFIG_USB_PCI */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) #endif  /*  __LINUX_USB_PCI_QUIRKS_H  */