2017-11-03 04:28:30 -06:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2015-11-24 04:09:49 -07:00
|
|
|
/*
|
|
|
|
* xhci-plat.h - xHCI host controller driver platform Bus Glue.
|
|
|
|
*
|
|
|
|
* Copyright (C) 2015 Renesas Electronics Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _XHCI_PLAT_H
|
|
|
|
#define _XHCI_PLAT_H
|
|
|
|
|
|
|
|
#include "xhci.h" /* for hcd_to_xhci() */
|
|
|
|
|
|
|
|
struct xhci_plat_priv {
|
2015-11-24 04:09:50 -07:00
|
|
|
const char *firmware_name;
|
2016-04-22 04:17:13 -06:00
|
|
|
void (*plat_start)(struct usb_hcd *);
|
|
|
|
int (*init_quirk)(struct usb_hcd *);
|
2017-04-19 07:55:47 -06:00
|
|
|
int (*resume_quirk)(struct usb_hcd *);
|
2015-11-24 04:09:49 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
#define hcd_to_xhci_priv(h) ((struct xhci_plat_priv *)hcd_to_xhci(h)->priv)
|
|
|
|
#endif /* _XHCI_PLAT_H */
|