#include <linux/delay.h>
#include <linux/io.h>
#include "common.h"
#include "rcar3.h"
#define LPSTS …
#define UGCTRL …
#define UGCTRL2 …
#define UGSTS …
#define LPSTS_SUSPM …
#define UGCTRL_PLLRESET …
#define UGCTRL_CONNECT …
#define UGCTRL2_RESERVED_3 …
#define UGCTRL2_USB0SEL_HSUSB …
#define UGCTRL2_USB0SEL_OTG …
#define UGCTRL2_VBUSSEL …
#define UGSTS_LOCK …
static void usbhs_write32(struct usbhs_priv *priv, u32 reg, u32 data)
{ … }
static u32 usbhs_read32(struct usbhs_priv *priv, u32 reg)
{ … }
static void usbhs_rcar3_set_ugctrl2(struct usbhs_priv *priv, u32 val)
{ … }
static int usbhs_rcar3_power_ctrl(struct platform_device *pdev,
void __iomem *base, int enable)
{ … }
static int usbhs_rcar3_power_and_pll_ctrl(struct platform_device *pdev,
void __iomem *base, int enable)
{ … }
const struct renesas_usbhs_platform_info usbhs_rcar_gen3_plat_info = …;
const struct renesas_usbhs_platform_info usbhs_rcar_gen3_with_pll_plat_info = …;