rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | /* |
| 2 | * drivers/usb/host/xhci-rcar.h |
| 3 | * |
| 4 | * Copyright (C) 2014 Renesas Electronics Corporation |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or |
| 7 | * modify it under the terms of the GNU General Public License |
| 8 | * version 2 as published by the Free Software Foundation. |
| 9 | */ |
| 10 | |
| 11 | #ifndef _XHCI_RCAR_H |
| 12 | #define _XHCI_RCAR_H |
| 13 | |
| 14 | #define XHCI_RCAR_FIRMWARE_NAME_V1 "r8a779x_usb3_v1.dlmem" |
| 15 | #define XHCI_RCAR_FIRMWARE_NAME_V2 "r8a779x_usb3_v2.dlmem" |
| 16 | #define XHCI_RCAR_FIRMWARE_NAME_V3 "r8a779x_usb3_v3.dlmem" |
| 17 | |
| 18 | #if IS_ENABLED(CONFIG_USB_XHCI_RCAR) |
| 19 | void xhci_rcar_start(struct usb_hcd *hcd); |
| 20 | int xhci_rcar_init_quirk(struct usb_hcd *hcd); |
| 21 | int xhci_rcar_resume_quirk(struct usb_hcd *hcd); |
| 22 | #else |
| 23 | static inline void xhci_rcar_start(struct usb_hcd *hcd) |
| 24 | { |
| 25 | } |
| 26 | |
| 27 | static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd) |
| 28 | { |
| 29 | return 0; |
| 30 | } |
| 31 | |
| 32 | static inline int xhci_rcar_resume_quirk(struct usb_hcd *hcd) |
| 33 | { |
| 34 | return 0; |
| 35 | } |
| 36 | #endif |
| 37 | #endif /* _XHCI_RCAR_H */ |