#include <linux/slab.h>
#include <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/of.h>
#include "clk.h"
#define CLK_MGR_FREE_SHIFT …
#define CLK_MGR_FREE_MASK …
#define SOCFPGA_MPU_FREE_CLK …
#define SOCFPGA_NOC_FREE_CLK …
#define SOCFPGA_SDMMC_FREE_CLK …
#define to_socfpga_periph_clk(p) …
static unsigned long clk_periclk_recalc_rate(struct clk_hw *hwclk,
unsigned long parent_rate)
{ … }
static u8 clk_periclk_get_parent(struct clk_hw *hwclk)
{ … }
static const struct clk_ops periclk_ops = …;
static void __init __socfpga_periph_init(struct device_node *node,
const struct clk_ops *ops)
{ … }
void __init socfpga_a10_periph_init(struct device_node *node)
{ … }