linux/drivers/clk/imx/clk-pllv1.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/bits.h>
#include <linux/clk-provider.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/err.h>

#include "clk.h"

#define MFN_BITS
#define MFN_SIGN
#define MFN_MASK

/**
 * struct clk_pllv1 - IMX PLLv1 clock descriptor
 *
 * @hw:		clock source
 * @base:	base address of pll registers
 * @type:	type of IMX_PLLV1
 *
 * PLL clock version 1, found on i.MX1/21/25/27/31/35
 */
struct clk_pllv1 {};

#define to_clk_pllv1(clk)

static inline bool is_imx1_pllv1(struct clk_pllv1 *pll)
{}

static inline bool is_imx21_pllv1(struct clk_pllv1 *pll)
{}

static inline bool is_imx27_pllv1(struct clk_pllv1 *pll)
{}

static inline bool mfn_is_negative(struct clk_pllv1 *pll, unsigned int mfn)
{}

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

static const struct clk_ops clk_pllv1_ops =;

struct clk_hw *imx_clk_hw_pllv1(enum imx_pllv1_type type, const char *name,
		const char *parent, void __iomem *base)
{}