#include <linux/err.h>
#include <linux/clk-provider.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <dt-bindings/clock/bcm-sr.h>
#include "clk-iproc.h"
#define REG_VAL(o, s, w) …
#define AON_VAL(o, pw, ps, is) …
#define SW_CTRL_VAL(o, s) …
#define RESET_VAL(o, rs, prs) …
#define DF_VAL(o, kis, kiw, kps, kpw, kas, kaw) …
#define VCO_CTRL_VAL(uo, lo) …
#define ENABLE_VAL(o, es, hs, bs) …
static const struct iproc_pll_ctrl sr_genpll0 = …;
static const struct iproc_clk_ctrl sr_genpll0_clk[] = …;
static int sr_genpll0_clk_init(struct platform_device *pdev)
{ … }
static const struct iproc_pll_ctrl sr_genpll2 = …;
static const struct iproc_clk_ctrl sr_genpll2_clk[] = …;
static int sr_genpll2_clk_init(struct platform_device *pdev)
{ … }
static const struct iproc_pll_ctrl sr_genpll3 = …;
static const struct iproc_clk_ctrl sr_genpll3_clk[] = …;
static void sr_genpll3_clk_init(struct device_node *node)
{ … }
CLK_OF_DECLARE(sr_genpll3_clk, "brcm,sr-genpll3", sr_genpll3_clk_init);
static const struct iproc_pll_ctrl sr_genpll4 = …;
static const struct iproc_clk_ctrl sr_genpll4_clk[] = …;
static int sr_genpll4_clk_init(struct platform_device *pdev)
{ … }
static const struct iproc_pll_ctrl sr_genpll5 = …;
static const struct iproc_clk_ctrl sr_genpll5_clk[] = …;
static int sr_genpll5_clk_init(struct platform_device *pdev)
{ … }
static const struct iproc_pll_ctrl sr_lcpll0 = …;
static const struct iproc_clk_ctrl sr_lcpll0_clk[] = …;
static int sr_lcpll0_clk_init(struct platform_device *pdev)
{ … }
static const struct iproc_pll_ctrl sr_lcpll1 = …;
static const struct iproc_clk_ctrl sr_lcpll1_clk[] = …;
static int sr_lcpll1_clk_init(struct platform_device *pdev)
{ … }
static const struct iproc_pll_ctrl sr_lcpll_pcie = …;
static const struct iproc_clk_ctrl sr_lcpll_pcie_clk[] = …;
static int sr_lcpll_pcie_clk_init(struct platform_device *pdev)
{ … }
static const struct of_device_id sr_clk_dt_ids[] = …;
static int sr_clk_probe(struct platform_device *pdev)
{ … }
static struct platform_driver sr_clk_driver = …;
builtin_platform_driver(…) …;