#include <linux/clk.h>
#include <linux/device.h>
#include <linux/interconnect-clk.h>
#include <linux/interconnect-provider.h>
struct icc_clk_node { … };
struct icc_clk_provider { … };
#define to_icc_clk_provider(_provider) …
static int icc_clk_set(struct icc_node *src, struct icc_node *dst)
{ … }
static int icc_clk_get_bw(struct icc_node *node, u32 *avg, u32 *peak)
{ … }
struct icc_provider *icc_clk_register(struct device *dev,
unsigned int first_id,
unsigned int num_clocks,
const struct icc_clk_data *data)
{ … }
EXPORT_SYMBOL_GPL(…);
static void devm_icc_release(void *res)
{ … }
int devm_icc_clk_register(struct device *dev, unsigned int first_id,
unsigned int num_clocks, const struct icc_clk_data *data)
{ … }
EXPORT_SYMBOL_GPL(…);
void icc_clk_unregister(struct icc_provider *provider)
{ … }
EXPORT_SYMBOL_GPL(…);
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;