2017-11-03 17:28:30 +07:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2015-11-24 18: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 18:09:50 +07:00
|
|
|
const char *firmware_name;
|
2016-04-22 17:17:13 +07:00
|
|
|
void (*plat_start)(struct usb_hcd *);
|
|
|
|
int (*init_quirk)(struct usb_hcd *);
|
2017-04-19 20:55:47 +07:00
|
|
|
int (*resume_quirk)(struct usb_hcd *);
|
2015-11-24 18:09:49 +07:00
|
|
|
};
|
|
|
|
|
|
|
|
#define hcd_to_xhci_priv(h) ((struct xhci_plat_priv *)hcd_to_xhci(h)->priv)
|
|
|
|
#endif /* _XHCI_PLAT_H */
|