1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __MACH_COMMON_CLKDEV_H
3 #define __MACH_COMMON_CLKDEV_H
8 unsigned long (*get_rate
)(struct clk
*clk
);
9 unsigned long (*round_rate
)(struct clk
*clk
, unsigned long rate
);
10 int (*set_rate
)(struct clk
*clk
, unsigned long rate
);
11 int (*enable
)(struct clk
*clk
);
12 int (*disable
)(struct clk
*clk
);
20 const struct clk_ops
*ops
;
21 const struct params
*params
;