#include <linux/clk.h>
#include <linux/clk-provider.h>
#include <linux/device.h>
#include <linux/export.h>
#include <linux/of.h>
#include <linux/slab.h>
static int __must_check of_clk_bulk_get(struct device_node *np, int num_clks,
struct clk_bulk_data *clks)
{ … }
static int __must_check of_clk_bulk_get_all(struct device_node *np,
struct clk_bulk_data **clks)
{ … }
void clk_bulk_put(int num_clks, struct clk_bulk_data *clks)
{ … }
EXPORT_SYMBOL_GPL(…);
static int __clk_bulk_get(struct device *dev, int num_clks,
struct clk_bulk_data *clks, bool optional)
{ … }
int __must_check clk_bulk_get(struct device *dev, int num_clks,
struct clk_bulk_data *clks)
{ … }
EXPORT_SYMBOL(…);
int __must_check clk_bulk_get_optional(struct device *dev, int num_clks,
struct clk_bulk_data *clks)
{ … }
EXPORT_SYMBOL_GPL(…);
void clk_bulk_put_all(int num_clks, struct clk_bulk_data *clks)
{ … }
EXPORT_SYMBOL(…);
int __must_check clk_bulk_get_all(struct device *dev,
struct clk_bulk_data **clks)
{ … }
EXPORT_SYMBOL(…);
#ifdef CONFIG_HAVE_CLK_PREPARE
void clk_bulk_unprepare(int num_clks, const struct clk_bulk_data *clks)
{ … }
EXPORT_SYMBOL_GPL(…);
int __must_check clk_bulk_prepare(int num_clks,
const struct clk_bulk_data *clks)
{ … }
EXPORT_SYMBOL_GPL(…);
#endif
void clk_bulk_disable(int num_clks, const struct clk_bulk_data *clks)
{ … }
EXPORT_SYMBOL_GPL(…);
int __must_check clk_bulk_enable(int num_clks, const struct clk_bulk_data *clks)
{ … }
EXPORT_SYMBOL_GPL(…);