xref: /linux/drivers/clk/clk-fractional-divider.h (revision cbac924200b838cfb8d8b1415113d788089dc50b)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _CLK_FRACTIONAL_DIV_H
3 #define _CLK_FRACTIONAL_DIV_H
4 
5 struct clk_hw;
6 
7 extern const struct clk_ops clk_fractional_divider_ops;
8 
9 void clk_fractional_divider_general_approximation(struct clk_hw *hw,
10 						  unsigned long rate,
11 						  unsigned long *parent_rate,
12 						  unsigned long *m,
13 						  unsigned long *n);
14 
15 #endif
16