linux/drivers/clk/sprd/gate.c

// SPDX-License-Identifier: GPL-2.0
//
// Spreadtrum gate clock driver
//
// Copyright (C) 2017 Spreadtrum, Inc.
// Author: Chunyan Zhang <[email protected]>

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

#include "gate.h"

static void clk_gate_toggle(const struct sprd_gate *sg, bool en)
{}

static void clk_sc_gate_toggle(const struct sprd_gate *sg, bool en)
{}

static void sprd_gate_disable(struct clk_hw *hw)
{}

static int sprd_gate_enable(struct clk_hw *hw)
{}

static void sprd_sc_gate_disable(struct clk_hw *hw)
{}

static int sprd_sc_gate_enable(struct clk_hw *hw)
{}

static int sprd_pll_sc_gate_prepare(struct clk_hw *hw)
{}

static int sprd_gate_is_enabled(struct clk_hw *hw)
{}

const struct clk_ops sprd_gate_ops =;
EXPORT_SYMBOL_GPL();

const struct clk_ops sprd_sc_gate_ops =;
EXPORT_SYMBOL_GPL();

const struct clk_ops sprd_pll_sc_gate_ops =;
EXPORT_SYMBOL_GPL();