#include <linux/clk-provider.h>
#include <linux/err.h>
#include <linux/io.h>
#include <linux/slab.h>
#include "clk.h"
struct clk_gate_exclusive { … };
static int clk_gate_exclusive_enable(struct clk_hw *hw)
{ … }
static void clk_gate_exclusive_disable(struct clk_hw *hw)
{ … }
static int clk_gate_exclusive_is_enabled(struct clk_hw *hw)
{ … }
static const struct clk_ops clk_gate_exclusive_ops = …;
struct clk_hw *imx_clk_hw_gate_exclusive(const char *name, const char *parent,
void __iomem *reg, u8 shift, u32 exclusive_mask)
{ … }