// SPDX-License-Identifier: GPL-2.0 /* * XHCI extended capability handling * * Copyright (c) 2017 Hans de Goede <[email protected]> */ #include <linux/platform_device.h> #include <linux/property.h> #include <linux/pci.h> #include "xhci.h" #define USB_SW_DRV_NAME … #define USB_SW_RESOURCE_SIZE … #define PCI_DEVICE_ID_INTEL_CHERRYVIEW_XHCI … static const struct property_entry role_switch_props[] = …; static void xhci_intel_unregister_pdev(void *arg) { … } static int xhci_create_intel_xhci_sw_pdev(struct xhci_hcd *xhci, u32 cap_offset) { … } int xhci_ext_cap_init(struct xhci_hcd *xhci) { … } EXPORT_SYMBOL_GPL(…);