linux/drivers/usb/phy/phy-ulpi-viewport.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2011 Google, Inc.
 */

#include <linux/export.h>
#include <linux/kernel.h>
#include <linux/usb.h>
#include <linux/io.h>
#include <linux/iopoll.h>
#include <linux/usb/otg.h>
#include <linux/usb/ulpi.h>

#define ULPI_VIEW_WAKEUP
#define ULPI_VIEW_RUN
#define ULPI_VIEW_WRITE
#define ULPI_VIEW_READ
#define ULPI_VIEW_ADDR(x)
#define ULPI_VIEW_DATA_READ(x)
#define ULPI_VIEW_DATA_WRITE(x)

static int ulpi_viewport_wait(void __iomem *view, u32 mask)
{}

static int ulpi_viewport_read(struct usb_phy *otg, u32 reg)
{}

static int ulpi_viewport_write(struct usb_phy *otg, u32 val, u32 reg)
{}

struct usb_phy_io_ops ulpi_viewport_access_ops =;
EXPORT_SYMBOL_GPL();