mirror of https://gitee.com/openkylin/linux.git
16 lines
336 B
C
16 lines
336 B
C
|
#ifndef PLAT_CLOCK_H
|
||
|
#define PLAT_CLOCK_H
|
||
|
|
||
|
#include <asm/hardware/icst.h>
|
||
|
|
||
|
struct clk_ops {
|
||
|
long (*round)(struct clk *, unsigned long);
|
||
|
int (*set)(struct clk *, unsigned long);
|
||
|
void (*setvco)(struct clk *, struct icst_vco);
|
||
|
};
|
||
|
|
||
|
int icst_clk_set(struct clk *, unsigned long);
|
||
|
long icst_clk_round(struct clk *, unsigned long);
|
||
|
|
||
|
#endif
|