#include <linux/delay.h>
#include <linux/time64.h>
#include <linux/ulpi/regs.h>
#include "core.h"
#include "io.h"
#define DWC3_ULPI_ADDR(a) …
#define DWC3_ULPI_BASE_DELAY …
static int dwc3_ulpi_busyloop(struct dwc3 *dwc, u8 addr, bool read)
{ … }
static int dwc3_ulpi_read(struct device *dev, u8 addr)
{ … }
static int dwc3_ulpi_write(struct device *dev, u8 addr, u8 val)
{ … }
static const struct ulpi_ops dwc3_ulpi_ops = …;
int dwc3_ulpi_init(struct dwc3 *dwc)
{ … }
void dwc3_ulpi_exit(struct dwc3 *dwc)
{ … }