#include <linux/module.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/usb/chipidea.h>
#include <linux/usb/of.h>
#include <linux/clk.h>
#include <linux/pinctrl/consumer.h>
#include <linux/pm_qos.h>
#include "ci.h"
#include "ci_hdrc_imx.h"
struct ci_hdrc_imx_platform_flag { … };
static const struct ci_hdrc_imx_platform_flag imx23_usb_data = …;
static const struct ci_hdrc_imx_platform_flag imx27_usb_data = …;
static const struct ci_hdrc_imx_platform_flag imx28_usb_data = …;
static const struct ci_hdrc_imx_platform_flag imx6q_usb_data = …;
static const struct ci_hdrc_imx_platform_flag imx6sl_usb_data = …;
static const struct ci_hdrc_imx_platform_flag imx6sx_usb_data = …;
static const struct ci_hdrc_imx_platform_flag imx6ul_usb_data = …;
static const struct ci_hdrc_imx_platform_flag imx7d_usb_data = …;
static const struct ci_hdrc_imx_platform_flag imx7ulp_usb_data = …;
static const struct ci_hdrc_imx_platform_flag imx8ulp_usb_data = …;
static const struct of_device_id ci_hdrc_imx_dt_ids[] = …;
MODULE_DEVICE_TABLE(of, ci_hdrc_imx_dt_ids);
struct ci_hdrc_imx_data { … };
static struct imx_usbmisc_data *usbmisc_get_init_data(struct device *dev)
{ … }
static int imx_get_clks(struct device *dev)
{ … }
static int imx_prepare_enable_clks(struct device *dev)
{ … }
static void imx_disable_unprepare_clks(struct device *dev)
{ … }
static int ci_hdrc_imx_notify_event(struct ci_hdrc *ci, unsigned int event)
{ … }
static int ci_hdrc_imx_probe(struct platform_device *pdev)
{ … }
static void ci_hdrc_imx_remove(struct platform_device *pdev)
{ … }
static void ci_hdrc_imx_shutdown(struct platform_device *pdev)
{ … }
static int imx_controller_suspend(struct device *dev,
pm_message_t msg)
{ … }
static int imx_controller_resume(struct device *dev,
pm_message_t msg)
{ … }
static int ci_hdrc_imx_suspend(struct device *dev)
{ … }
static int ci_hdrc_imx_resume(struct device *dev)
{ … }
static int ci_hdrc_imx_runtime_suspend(struct device *dev)
{ … }
static int ci_hdrc_imx_runtime_resume(struct device *dev)
{ … }
static const struct dev_pm_ops ci_hdrc_imx_pm_ops = …;
static struct platform_driver ci_hdrc_imx_driver = …;
module_platform_driver(…) …;
MODULE_ALIAS(…) …;
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;