#include <linux/slab.h>
#include <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include "clk.h"
#define MAINPLL_BYPASS …
#define SDRAMPLL_BYPASS …
#define SDRAMPLL_SRC_BYPASS …
#define PERPLL_BYPASS …
#define PERPLL_SRC_BYPASS …
#define SOCFPGA_PLL_BG_PWRDWN …
#define SOCFPGA_PLL_EXT_ENA …
#define SOCFPGA_PLL_PWR_DOWN …
#define SOCFPGA_PLL_DIVF_MASK …
#define SOCFPGA_PLL_DIVF_SHIFT …
#define SOCFPGA_PLL_DIVQ_MASK …
#define SOCFPGA_PLL_DIVQ_SHIFT …
#define CLK_MGR_PLL_CLK_SRC_SHIFT …
#define CLK_MGR_PLL_CLK_SRC_MASK …
#define to_socfpga_clk(p) …
void __iomem *clk_mgr_base_addr;
static unsigned long clk_pll_recalc_rate(struct clk_hw *hwclk,
unsigned long parent_rate)
{ … }
static u8 clk_pll_get_parent(struct clk_hw *hwclk)
{ … }
static const struct clk_ops clk_pll_ops = …;
static void __init __socfpga_pll_init(struct device_node *node,
const struct clk_ops *ops)
{ … }
void __init socfpga_pll_init(struct device_node *node)
{ … }