#include <linux/module.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include "core.h"
#include "gadget-export.h"
#include "drd.h"
static int set_phy_power_on(struct cdns *cdns)
{ … }
static void set_phy_power_off(struct cdns *cdns)
{ … }
static int cdns3_plat_probe(struct platform_device *pdev)
{ … }
static void cdns3_plat_remove(struct platform_device *pdev)
{ … }
#ifdef CONFIG_PM
static int cdns3_set_platform_suspend(struct device *dev,
bool suspend, bool wakeup)
{ … }
static int cdns3_controller_suspend(struct device *dev, pm_message_t msg)
{ … }
static int cdns3_controller_resume(struct device *dev, pm_message_t msg)
{ … }
static int cdns3_plat_runtime_suspend(struct device *dev)
{ … }
static int cdns3_plat_runtime_resume(struct device *dev)
{ … }
#ifdef CONFIG_PM_SLEEP
static int cdns3_plat_suspend(struct device *dev)
{ … }
static int cdns3_plat_resume(struct device *dev)
{ … }
#endif
#endif
static const struct dev_pm_ops cdns3_pm_ops = …;
#ifdef CONFIG_OF
static const struct of_device_id of_cdns3_match[] = …;
MODULE_DEVICE_TABLE(of, of_cdns3_match);
#endif
static struct platform_driver cdns3_driver = …;
module_platform_driver(…) …;
MODULE_ALIAS(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;