#include <linux/kernel.h>
#include <linux/bitops.h>
#include <linux/regmap.h>
#include <linux/export.h>
#include "clk-regmap-divider.h"
static inline struct clk_regmap_div *to_clk_regmap_div(struct clk_hw *hw)
{ … }
static long div_round_ro_rate(struct clk_hw *hw, unsigned long rate,
unsigned long *prate)
{ … }
static long div_round_rate(struct clk_hw *hw, unsigned long rate,
unsigned long *prate)
{ … }
static int div_set_rate(struct clk_hw *hw, unsigned long rate,
unsigned long parent_rate)
{ … }
static unsigned long div_recalc_rate(struct clk_hw *hw,
unsigned long parent_rate)
{ … }
const struct clk_ops clk_regmap_div_ops = …;
EXPORT_SYMBOL_GPL(…);
const struct clk_ops clk_regmap_div_ro_ops = …;
EXPORT_SYMBOL_GPL(…);