1 /* SPDX-License-Identifier: GPL-2.0 */ 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __RZV2M_USB3DRD_H 2 #ifndef __RZV2M_USB3DRD_H 3 #define __RZV2M_USB3DRD_H 3 #define __RZV2M_USB3DRD_H 4 4 5 #include <linux/types.h> 5 #include <linux/types.h> 6 6 7 struct rzv2m_usb3drd { 7 struct rzv2m_usb3drd { 8 void __iomem *reg; 8 void __iomem *reg; 9 int drd_irq; 9 int drd_irq; 10 struct device *dev; 10 struct device *dev; 11 struct reset_control *drd_rstc; 11 struct reset_control *drd_rstc; 12 }; 12 }; 13 13 14 #if IS_ENABLED(CONFIG_USB_RZV2M_USB3DRD) 14 #if IS_ENABLED(CONFIG_USB_RZV2M_USB3DRD) 15 void rzv2m_usb3drd_reset(struct device *dev, b 15 void rzv2m_usb3drd_reset(struct device *dev, bool host); 16 #else 16 #else 17 static inline void rzv2m_usb3drd_reset(struct 17 static inline void rzv2m_usb3drd_reset(struct device *dev, bool host) { } 18 #endif 18 #endif 19 19 20 #endif /* __RZV2M_USB3DRD_H */ 20 #endif /* __RZV2M_USB3DRD_H */ 21 21
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.