#include <linux/clk-provider.h>
#include <linux/device.h>
#include <linux/regmap.h>
#include "clk-uniphier.h"
#define UNIPHIER_CLK_CPUGEAR_STAT …
#define UNIPHIER_CLK_CPUGEAR_SET …
#define UNIPHIER_CLK_CPUGEAR_UPD …
#define UNIPHIER_CLK_CPUGEAR_UPD_BIT …
struct uniphier_clk_cpugear { … };
#define to_uniphier_clk_cpugear(_hw) …
static int uniphier_clk_cpugear_set_parent(struct clk_hw *hw, u8 index)
{ … }
static u8 uniphier_clk_cpugear_get_parent(struct clk_hw *hw)
{ … }
static const struct clk_ops uniphier_clk_cpugear_ops = …;
struct clk_hw *uniphier_clk_register_cpugear(struct device *dev,
struct regmap *regmap,
const char *name,
const struct uniphier_clk_cpugear_data *data)
{ … }