#include <linux/slab.h>
#include <linux/io.h>
#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/of.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <dt-bindings/clock/exynos-audss-clk.h>
static DEFINE_SPINLOCK(lock);
static void __iomem *reg_base;
static struct clk_hw_onecell_data *clk_data;
static struct clk *epll;
#define ASS_CLK_SRC …
#define ASS_CLK_DIV …
#define ASS_CLK_GATE …
static unsigned long reg_save[][2] = …;
static int __maybe_unused exynos_audss_clk_suspend(struct device *dev)
{ … }
static int __maybe_unused exynos_audss_clk_resume(struct device *dev)
{ … }
struct exynos_audss_clk_drvdata { … };
static const struct exynos_audss_clk_drvdata exynos4210_drvdata = …;
static const struct exynos_audss_clk_drvdata exynos5410_drvdata = …;
static const struct exynos_audss_clk_drvdata exynos5420_drvdata = …;
static const struct of_device_id exynos_audss_clk_of_match[] = …;
MODULE_DEVICE_TABLE(of, exynos_audss_clk_of_match);
static void exynos_audss_clk_teardown(void)
{ … }
static int exynos_audss_clk_probe(struct platform_device *pdev)
{ … }
static void exynos_audss_clk_remove(struct platform_device *pdev)
{ … }
static const struct dev_pm_ops exynos_audss_clk_pm_ops = …;
static struct platform_driver exynos_audss_clk_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;