linux/drivers/clk/starfive/clk-starfive-jh71x0.c

// SPDX-License-Identifier: GPL-2.0
/*
 * StarFive JH71X0 Clock Generator Driver
 *
 * Copyright (C) 2021-2022 Emil Renner Berthing <[email protected]>
 */

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

#include "clk-starfive-jh71x0.h"

static struct jh71x0_clk *jh71x0_clk_from(struct clk_hw *hw)
{}

static struct jh71x0_clk_priv *jh71x0_priv_from(struct jh71x0_clk *clk)
{}

static u32 jh71x0_clk_reg_get(struct jh71x0_clk *clk)
{}

static void jh71x0_clk_reg_rmw(struct jh71x0_clk *clk, u32 mask, u32 value)
{}

static int jh71x0_clk_enable(struct clk_hw *hw)
{}

static void jh71x0_clk_disable(struct clk_hw *hw)
{}

static int jh71x0_clk_is_enabled(struct clk_hw *hw)
{}

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

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

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

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

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

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

static u8 jh71x0_clk_get_parent(struct clk_hw *hw)
{}

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

static int jh71x0_clk_get_phase(struct clk_hw *hw)
{}

static int jh71x0_clk_set_phase(struct clk_hw *hw, int degrees)
{}

#ifdef CONFIG_DEBUG_FS
static void jh71x0_clk_debug_init(struct clk_hw *hw, struct dentry *dentry)
{}
#else
#define jh71x0_clk_debug_init
#endif

static const struct clk_ops jh71x0_clk_gate_ops =;

static const struct clk_ops jh71x0_clk_div_ops =;

static const struct clk_ops jh71x0_clk_fdiv_ops =;

static const struct clk_ops jh71x0_clk_gdiv_ops =;

static const struct clk_ops jh71x0_clk_mux_ops =;

static const struct clk_ops jh71x0_clk_gmux_ops =;

static const struct clk_ops jh71x0_clk_mdiv_ops =;

static const struct clk_ops jh71x0_clk_gmd_ops =;

static const struct clk_ops jh71x0_clk_inv_ops =;

const struct clk_ops *starfive_jh71x0_clk_ops(u32 max)
{}
EXPORT_SYMBOL_GPL();