Lines Matching +full:zero +full:- +full:based

1 // SPDX-License-Identifier: GPL-2.0
5 #include <linux/clk-provider.h>
8 #include "clk-fractional-divider.h"
24 fd->mwidth = 3; in clk_fd_test_approximation_max_denominator()
25 fd->nwidth = 3; in clk_fd_test_approximation_max_denominator()
32 clk_fractional_divider_general_approximation(&fd->hw, rate, &parent_rate, &m, &n); in clk_fd_test_approximation_max_denominator()
53 fd->mwidth = 3; in clk_fd_test_approximation_max_numerator()
55 fd->nwidth = 3; in clk_fd_test_approximation_max_numerator()
61 clk_fractional_divider_general_approximation(&fd->hw, rate, &parent_rate, &m, &n); in clk_fd_test_approximation_max_numerator()
69 * Test the maximum denominator case for zero based fd clock.
82 fd->flags = CLK_FRAC_DIVIDER_ZERO_BASED; in clk_fd_test_approximation_max_denominator_zero_based()
83 fd->mwidth = 3; in clk_fd_test_approximation_max_denominator_zero_based()
84 fd->nwidth = 3; in clk_fd_test_approximation_max_denominator_zero_based()
91 clk_fractional_divider_general_approximation(&fd->hw, rate, &parent_rate, &m, &n); in clk_fd_test_approximation_max_denominator_zero_based()
99 * Test the maximum numerator case for zero based fd clock.
112 fd->flags = CLK_FRAC_DIVIDER_ZERO_BASED; in clk_fd_test_approximation_max_numerator_zero_based()
113 fd->mwidth = 3; in clk_fd_test_approximation_max_numerator_zero_based()
115 fd->nwidth = 3; in clk_fd_test_approximation_max_numerator_zero_based()
121 clk_fractional_divider_general_approximation(&fd->hw, rate, &parent_rate, &m, &n); in clk_fd_test_approximation_max_numerator_zero_based()
140 .name = "clk-fd-approximation",