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) /* Copyright (C) 2019-2020 Linaro Limited */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) #ifndef XHCI_PCI_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #define XHCI_PCI_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #if IS_ENABLED(CONFIG_USB_XHCI_PCI_RENESAS)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) int renesas_xhci_check_request_fw(struct pci_dev *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 				  const struct pci_device_id *id);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) void renesas_xhci_pci_exit(struct pci_dev *dev);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) static int renesas_xhci_check_request_fw(struct pci_dev *dev,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 					 const struct pci_device_id *id)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 	return 0;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) }
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) static void renesas_xhci_pci_exit(struct pci_dev *dev) { };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) struct xhci_driver_data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 	u64 quirks;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	const char *firmware;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) #endif