linux/drivers/clk/qcom/clk-hfpll.c

// SPDX-License-Identifier: GPL-2.0
// Copyright (c) 2018, The Linux Foundation. All rights reserved.

#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/regmap.h>
#include <linux/delay.h>
#include <linux/err.h>
#include <linux/clk-provider.h>
#include <linux/spinlock.h>

#include "clk-regmap.h"
#include "clk-hfpll.h"

#define PLL_OUTCTRL
#define PLL_BYPASSNL
#define PLL_RESET_N

/* Initialize a HFPLL at a given rate and enable it. */
static void __clk_hfpll_init_once(struct clk_hw *hw)
{}

static void __clk_hfpll_enable(struct clk_hw *hw)
{}

/* Enable an already-configured HFPLL. */
static int clk_hfpll_enable(struct clk_hw *hw)
{}

static void __clk_hfpll_disable(struct clk_hfpll *h)
{}

static void clk_hfpll_disable(struct clk_hw *hw)
{}

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

/*
 * For optimization reasons, assumes no downstream clocks are actively using
 * it.
 */
static int clk_hfpll_set_rate(struct clk_hw *hw, unsigned long rate,
			      unsigned long parent_rate)
{}

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

static int clk_hfpll_init(struct clk_hw *hw)
{}

static int hfpll_is_enabled(struct clk_hw *hw)
{}

const struct clk_ops clk_ops_hfpll =;
EXPORT_SYMBOL_GPL();