linux/drivers/usb/dwc2/drd.c

// SPDX-License-Identifier: GPL-2.0
/*
 * drd.c - DesignWare USB2 DRD Controller Dual-role support
 *
 * Copyright (C) 2020 STMicroelectronics
 *
 * Author(s): Amelie Delaunay <[email protected]>
 */

#include <linux/clk.h>
#include <linux/iopoll.h>
#include <linux/platform_device.h>
#include <linux/usb/role.h>
#include "core.h"

#define dwc2_ovr_gotgctl(gotgctl)

static void dwc2_ovr_init(struct dwc2_hsotg *hsotg)
{}

static int dwc2_ovr_avalid(struct dwc2_hsotg *hsotg, bool valid)
{}

static int dwc2_ovr_bvalid(struct dwc2_hsotg *hsotg, bool valid)
{}

static int dwc2_drd_role_sw_set(struct usb_role_switch *sw, enum usb_role role)
{}

int dwc2_drd_init(struct dwc2_hsotg *hsotg)
{}

void dwc2_drd_suspend(struct dwc2_hsotg *hsotg)
{}

void dwc2_drd_resume(struct dwc2_hsotg *hsotg)
{}

void dwc2_drd_exit(struct dwc2_hsotg *hsotg)
{}