Linux Audio

Check our new training course

In-person Linux kernel drivers training

Jun 16-20, 2025
Register
Loading...
v4.17
 1// SPDX-License-Identifier: GPL-2.0
 2/*
 3 * drivers/usb/host/xhci-rcar.h
 4 *
 5 * Copyright (C) 2014 Renesas Electronics Corporation
 
 
 
 
 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)
16void xhci_rcar_start(struct usb_hcd *hcd);
17int xhci_rcar_init_quirk(struct usb_hcd *hcd);
18int xhci_rcar_resume_quirk(struct usb_hcd *hcd);
19#else
20static inline void xhci_rcar_start(struct usb_hcd *hcd)
21{
22}
23
24static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd)
25{
26	return 0;
27}
28
29static inline int xhci_rcar_resume_quirk(struct usb_hcd *hcd)
30{
31	return 0;
32}
33#endif
34#endif /* _XHCI_RCAR_H */
v4.10.11
 
 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)
19void xhci_rcar_start(struct usb_hcd *hcd);
20int xhci_rcar_init_quirk(struct usb_hcd *hcd);
 
21#else
22static inline void xhci_rcar_start(struct usb_hcd *hcd)
23{
24}
25
26static inline int xhci_rcar_init_quirk(struct usb_hcd *hcd)
 
 
 
 
 
27{
28	return 0;
29}
30#endif
31#endif /* _XHCI_RCAR_H */