linux/drivers/clk/sunxi-ng/ccu_nkm.c

// SPDX-License-Identifier: GPL-2.0-or-later
/*
 * Copyright (C) 2016 Maxime Ripard
 * Maxime Ripard <[email protected]>
 */

#include <linux/clk-provider.h>
#include <linux/io.h>

#include "ccu_gate.h"
#include "ccu_nkm.h"

struct _ccu_nkm {};

static bool ccu_nkm_is_valid_rate(struct ccu_common *common, unsigned long parent,
				  unsigned long n, unsigned long m)
{}

static unsigned long ccu_nkm_find_best_with_parent_adj(struct ccu_common *common,
						       struct clk_hw *parent_hw,
						       unsigned long *parent, unsigned long rate,
						       struct _ccu_nkm *nkm)
{}

static unsigned long ccu_nkm_find_best(unsigned long parent, unsigned long rate,
				       struct _ccu_nkm *nkm, struct ccu_common *common)
{}

static void ccu_nkm_disable(struct clk_hw *hw)
{}

static int ccu_nkm_enable(struct clk_hw *hw)
{}

static int ccu_nkm_is_enabled(struct clk_hw *hw)
{}

static unsigned long ccu_nkm_recalc_rate(struct clk_hw *hw,
					unsigned long parent_rate)
{}

static unsigned long ccu_nkm_round_rate(struct ccu_mux_internal *mux,
					struct clk_hw *parent_hw,
					unsigned long *parent_rate,
					unsigned long rate,
					void *data)
{}

static int ccu_nkm_determine_rate(struct clk_hw *hw,
				  struct clk_rate_request *req)
{}

static int ccu_nkm_set_rate(struct clk_hw *hw, unsigned long rate,
			   unsigned long parent_rate)
{}

static u8 ccu_nkm_get_parent(struct clk_hw *hw)
{}

static int ccu_nkm_set_parent(struct clk_hw *hw, u8 index)
{}

const struct clk_ops ccu_nkm_ops =;
EXPORT_SYMBOL_NS_GPL();