1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __RZV2M_USB3DRD_H
3#define __RZV2M_USB3DRD_H
4
5#include <linux/types.h>
6
7struct rzv2m_usb3drd {
8 void __iomem *reg;
9 int drd_irq;
10 struct device *dev;
11 struct reset_control *drd_rstc;
12};
13
14#if IS_ENABLED(CONFIG_USB_RZV2M_USB3DRD)
15void rzv2m_usb3drd_reset(struct device *dev, bool host);
16#else
17static inline void rzv2m_usb3drd_reset(struct device *dev, bool host) { }
18#endif
19
20#endif /* __RZV2M_USB3DRD_H */
21

source code of linux/include/linux/usb/rzv2m_usb3drd.h