#include <linux/dma-mapping.h>
#include <linux/iopoll.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/of_address.h>
#include <linux/of_irq.h>
#include <linux/platform_device.h>
#include <linux/pm_wakeirq.h>
#include <linux/reset.h>
#include "mtu3.h"
#include "mtu3_dr.h"
#include "mtu3_debug.h"
int ssusb_check_clocks(struct ssusb_mtk *ssusb, u32 ex_clks)
{ … }
static int wait_for_ip_sleep(struct ssusb_mtk *ssusb)
{ … }
static int ssusb_phy_init(struct ssusb_mtk *ssusb)
{ … }
static int ssusb_phy_exit(struct ssusb_mtk *ssusb)
{ … }
static int ssusb_phy_power_on(struct ssusb_mtk *ssusb)
{ … }
static void ssusb_phy_power_off(struct ssusb_mtk *ssusb)
{ … }
static int ssusb_rscs_init(struct ssusb_mtk *ssusb)
{ … }
static void ssusb_rscs_exit(struct ssusb_mtk *ssusb)
{ … }
static void ssusb_ip_sw_reset(struct ssusb_mtk *ssusb)
{ … }
static void ssusb_u3_drd_check(struct ssusb_mtk *ssusb)
{ … }
static int get_ssusb_rscs(struct platform_device *pdev, struct ssusb_mtk *ssusb)
{ … }
static int mtu3_probe(struct platform_device *pdev)
{ … }
static void mtu3_remove(struct platform_device *pdev)
{ … }
static int resume_ip_and_ports(struct ssusb_mtk *ssusb, pm_message_t msg)
{ … }
static int mtu3_suspend_common(struct device *dev, pm_message_t msg)
{ … }
static int mtu3_resume_common(struct device *dev, pm_message_t msg)
{ … }
static int __maybe_unused mtu3_suspend(struct device *dev)
{ … }
static int __maybe_unused mtu3_resume(struct device *dev)
{ … }
static int __maybe_unused mtu3_runtime_suspend(struct device *dev)
{ … }
static int __maybe_unused mtu3_runtime_resume(struct device *dev)
{ … }
static const struct dev_pm_ops mtu3_pm_ops = …;
#define DEV_PM_OPS …
static const struct of_device_id mtu3_of_match[] = …;
MODULE_DEVICE_TABLE(of, mtu3_of_match);
static struct platform_driver mtu3_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;