xref: /linux/drivers/clk/clk-fractional-divider.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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