linux/drivers/clk/sunxi-ng/ccu_nm.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_frac.h"
#include "ccu_gate.h"
#include "ccu_nm.h"

struct _ccu_nm {};

static unsigned long ccu_nm_calc_rate(unsigned long parent,
				      unsigned long n, unsigned long m)
{}

static unsigned long ccu_nm_find_best(struct ccu_common *common, unsigned long parent,
				      unsigned long rate, struct _ccu_nm *nm)
{}

static void ccu_nm_disable(struct clk_hw *hw)
{}

static int ccu_nm_enable(struct clk_hw *hw)
{}

static int ccu_nm_is_enabled(struct clk_hw *hw)
{}

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

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

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

const struct clk_ops ccu_nm_ops =;
EXPORT_SYMBOL_NS_GPL();