forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-02-14 796a7ef0befd21e25c2b9e42f53a6d7a4421941d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// SPDX-License-Identifier: GPL-2.0
/*
 * drivers/usb/host/xhci-rcar.h
 *
 * Copyright (C) 2014 Renesas Electronics Corporation
 */
 
#ifndef _XHCI_RCAR_H
#define _XHCI_RCAR_H
 
#define XHCI_RCAR_FIRMWARE_NAME_V1    "r8a779x_usb3_v1.dlmem"
#define XHCI_RCAR_FIRMWARE_NAME_V2    "r8a779x_usb3_v2.dlmem"
#define XHCI_RCAR_FIRMWARE_NAME_V3    "r8a779x_usb3_v3.dlmem"
 
#if IS_ENABLED(CONFIG_USB_XHCI_RCAR)
void xhci_rcar_start(struct usb_hcd *hcd);
int xhci_rcar_init_quirk(struct usb_hcd *hcd);
int xhci_rcar_resume_quirk(struct usb_hcd *hcd);
#else
static inline void xhci_rcar_start(struct usb_hcd *hcd)
{
}
 
static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd)
{
   return 0;
}
 
static inline int xhci_rcar_resume_quirk(struct usb_hcd *hcd)
{
   return 0;
}
#endif
#endif /* _XHCI_RCAR_H */