#include <linux/clk-provider.h>
#include <linux/io.h>
#include "ccu_gate.h"
#include "ccu_nk.h"
struct _ccu_nk { … };
static unsigned long ccu_nk_find_best(unsigned long parent, unsigned long rate,
struct _ccu_nk *nk)
{ … }
static void ccu_nk_disable(struct clk_hw *hw)
{ … }
static int ccu_nk_enable(struct clk_hw *hw)
{ … }
static int ccu_nk_is_enabled(struct clk_hw *hw)
{ … }
static unsigned long ccu_nk_recalc_rate(struct clk_hw *hw,
unsigned long parent_rate)
{ … }
static long ccu_nk_round_rate(struct clk_hw *hw, unsigned long rate,
unsigned long *parent_rate)
{ … }
static int ccu_nk_set_rate(struct clk_hw *hw, unsigned long rate,
unsigned long parent_rate)
{ … }
const struct clk_ops ccu_nk_ops = …;
EXPORT_SYMBOL_NS_GPL(…);