#include <linux/clk-provider.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/kernel.h>
#include <linux/of.h>
#include <dt-bindings/clock/pistachio-clk.h>
#include "clk.h"
static struct pistachio_gate pistachio_gates[] __initdata = …;
static struct pistachio_fixed_factor pistachio_ffs[] __initdata = …;
static struct pistachio_div pistachio_divs[] __initdata = …;
PNAME(mux_xtal_audio_refclk) = …;
PNAME(mux_xtal_mips) = …;
PNAME(mux_xtal_audio) = …;
PNAME(mux_audio_debug) = …;
PNAME(mux_xtal_rpu_v) = …;
PNAME(mux_xtal_rpu_l) = …;
PNAME(mux_rpu_l_mips) = …;
PNAME(mux_xtal_wifi) = …;
PNAME(mux_xtal_wifi_div4) = …;
PNAME(mux_xtal_wifi_div8) = …;
PNAME(mux_wifi_div4_rpu_l) = …;
PNAME(mux_xtal_sys) = …;
PNAME(mux_sys_enet) = …;
PNAME(mux_audio_sys) = …;
PNAME(mux_sys_bt) = …;
PNAME(mux_xtal_bt) = …;
static struct pistachio_mux pistachio_muxes[] __initdata = …;
static struct pistachio_pll pistachio_plls[] __initdata = …;
PNAME(mux_debug) = …;
static const u32 mux_debug_idx[] = …;
static unsigned int pistachio_critical_clks_core[] __initdata = …;
static unsigned int pistachio_critical_clks_sys[] __initdata = …;
static void __init pistachio_clk_init(struct device_node *np)
{ … }
CLK_OF_DECLARE(pistachio_clk, "img,pistachio-clk", pistachio_clk_init);
static struct pistachio_gate pistachio_periph_gates[] __initdata = …;
static struct pistachio_div pistachio_periph_divs[] __initdata = …;
static void __init pistachio_clk_periph_init(struct device_node *np)
{ … }
CLK_OF_DECLARE(pistachio_clk_periph, "img,pistachio-clk-periph",
pistachio_clk_periph_init);
static struct pistachio_gate pistachio_sys_gates[] __initdata = …;
static void __init pistachio_cr_periph_init(struct device_node *np)
{ … }
CLK_OF_DECLARE(pistachio_cr_periph, "img,pistachio-cr-periph",
pistachio_cr_periph_init);
static struct pistachio_gate pistachio_ext_gates[] __initdata = …;
static void __init pistachio_cr_top_init(struct device_node *np)
{ … }
CLK_OF_DECLARE(pistachio_cr_top, "img,pistachio-cr-top",
pistachio_cr_top_init);