Andy Shevchenko | 4e7cf74 | 2021-08-12 20:00:22 +0300 | [diff] [blame] | 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 | |
Andy Shevchenko | 928f9e2 | 2021-08-12 20:00:23 +0300 | [diff] [blame] | 7 | extern const struct clk_ops clk_fractional_divider_ops; |
| 8 | |
Andy Shevchenko | 4e7cf74 | 2021-08-12 20:00:22 +0300 | [diff] [blame] | 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 |