This source file includes following definitions.
- xhci_rcar_start
- xhci_rcar_init_quirk
- xhci_rcar_resume_quirk
1
2
3
4
5
6
7
8 #ifndef _XHCI_RCAR_H
9 #define _XHCI_RCAR_H
10
11 #define XHCI_RCAR_FIRMWARE_NAME_V1 "r8a779x_usb3_v1.dlmem"
12 #define XHCI_RCAR_FIRMWARE_NAME_V2 "r8a779x_usb3_v2.dlmem"
13 #define XHCI_RCAR_FIRMWARE_NAME_V3 "r8a779x_usb3_v3.dlmem"
14
15 #if IS_ENABLED(CONFIG_USB_XHCI_RCAR)
16 void xhci_rcar_start(struct usb_hcd *hcd);
17 int xhci_rcar_init_quirk(struct usb_hcd *hcd);
18 int xhci_rcar_resume_quirk(struct usb_hcd *hcd);
19 #else
20 static inline void xhci_rcar_start(struct usb_hcd *hcd)
21 {
22 }
23
24 static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd)
25 {
26 return 0;
27 }
28
29 static inline int xhci_rcar_resume_quirk(struct usb_hcd *hcd)
30 {
31 return 0;
32 }
33 #endif
34
35
36
37
38
39
40
41
42
43
44
45
46
47 #define SET_XHCI_PLAT_PRIV_FOR_RCAR(firmware) \
48 .firmware_name = firmware, \
49 .quirks = XHCI_NO_64BIT_SUPPORT | XHCI_TRUST_TX_LENGTH | \
50 XHCI_SLOW_SUSPEND, \
51 .init_quirk = xhci_rcar_init_quirk, \
52 .plat_start = xhci_rcar_start, \
53 .resume_quirk = xhci_rcar_resume_quirk,
54
55 #endif