#include <linux/clk-provider.h>
#include <linux/device.h>
#include <linux/regmap.h>
#include "clk-uniphier.h"
struct uniphier_clk_mux { … };
#define to_uniphier_clk_mux(_hw) …
static int uniphier_clk_mux_set_parent(struct clk_hw *hw, u8 index)
{ … }
static u8 uniphier_clk_mux_get_parent(struct clk_hw *hw)
{ … }
static const struct clk_ops uniphier_clk_mux_ops = …;
struct clk_hw *uniphier_clk_register_mux(struct device *dev,
struct regmap *regmap,
const char *name,
const struct uniphier_clk_mux_data *data)
{ … }