Path: blob/master/arch/powerpc/include/asm/clk_interface.h
15117 views
#ifndef __ASM_POWERPC_CLK_INTERFACE_H1#define __ASM_POWERPC_CLK_INTERFACE_H23#include <linux/clk.h>45struct clk_interface {6struct clk* (*clk_get) (struct device *dev, const char *id);7int (*clk_enable) (struct clk *clk);8void (*clk_disable) (struct clk *clk);9unsigned long (*clk_get_rate) (struct clk *clk);10void (*clk_put) (struct clk *clk);11long (*clk_round_rate) (struct clk *clk, unsigned long rate);12int (*clk_set_rate) (struct clk *clk, unsigned long rate);13int (*clk_set_parent) (struct clk *clk, struct clk *parent);14struct clk* (*clk_get_parent) (struct clk *clk);15};1617extern struct clk_interface clk_functions;1819#endif /* __ASM_POWERPC_CLK_INTERFACE_H */202122