0001
0002
0003
0004
0005
0006
0007
0008 #ifndef _XHCI_PLAT_H
0009 #define _XHCI_PLAT_H
0010
0011 #include "xhci.h" /* for hcd_to_xhci() */
0012
0013 struct xhci_plat_priv {
0014 const char *firmware_name;
0015 unsigned long long quirks;
0016 void (*plat_start)(struct usb_hcd *);
0017 int (*init_quirk)(struct usb_hcd *);
0018 int (*suspend_quirk)(struct usb_hcd *);
0019 int (*resume_quirk)(struct usb_hcd *);
0020 };
0021
0022 #define hcd_to_xhci_priv(h) ((struct xhci_plat_priv *)hcd_to_xhci(h)->priv)
0023 #define xhci_to_priv(x) ((struct xhci_plat_priv *)(x)->priv)
0024 #endif