Linux 4.16.11
[linux/fpc-iii.git] / drivers / usb / host / xhci-plat.h
blobae29f22ff5bd7f38453b229985fea0d6db48e7b0
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * xhci-plat.h - xHCI host controller driver platform Bus Glue.
5 * Copyright (C) 2015 Renesas Electronics Corporation
6 */
8 #ifndef _XHCI_PLAT_H
9 #define _XHCI_PLAT_H
11 #include "xhci.h" /* for hcd_to_xhci() */
13 struct xhci_plat_priv {
14 const char *firmware_name;
15 void (*plat_start)(struct usb_hcd *);
16 int (*init_quirk)(struct usb_hcd *);
17 int (*resume_quirk)(struct usb_hcd *);
20 #define hcd_to_xhci_priv(h) ((struct xhci_plat_priv *)hcd_to_xhci(h)->priv)
21 #endif /* _XHCI_PLAT_H */