#include <linux/clk-provider.h>
#include <linux/errno.h>
#include <linux/export.h>
#include <linux/io.h>
#include <linux/iopoll.h>
#include <linux/slab.h>
#include "clk.h"
#define DIRECT_OFFSET …
#define LPM_SETTING_OFF …
#define LPM_SETTING_ON …
#define LPM_CUR_OFFSET …
#define AUTHEN_OFFSET …
#define CPULPM_EN …
#define TZ_NS_SHIFT …
#define TZ_NS_MASK …
#define WHITE_LIST_SHIFT …
struct imx93_clk_gate { … };
#define to_imx93_clk_gate(_hw) …
static void imx93_clk_gate_do_hardware(struct clk_hw *hw, bool enable)
{ … }
static int imx93_clk_gate_enable(struct clk_hw *hw)
{ … }
static void imx93_clk_gate_disable(struct clk_hw *hw)
{ … }
static int imx93_clk_gate_reg_is_enabled(struct imx93_clk_gate *gate)
{ … }
static int imx93_clk_gate_is_enabled(struct clk_hw *hw)
{ … }
static void imx93_clk_gate_disable_unused(struct clk_hw *hw)
{ … }
static const struct clk_ops imx93_clk_gate_ops = …;
static const struct clk_ops imx93_clk_gate_ro_ops = …;
struct clk_hw *imx93_clk_gate(struct device *dev, const char *name, const char *parent_name,
unsigned long flags, void __iomem *reg, u32 bit_idx, u32 val,
u32 mask, u32 domain_id, unsigned int *share_count)
{ … }
EXPORT_SYMBOL_GPL(…);