/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/ |
H A D | sun4i_dotclock.c | 81 unsigned long rounded; in sun4i_dclk_round_rate() local 93 rounded = clk_hw_round_rate(clk_hw_get_parent(hw), in sun4i_dclk_round_rate() 96 if (rounded == ideal) { in sun4i_dclk_round_rate() 97 best_parent = rounded; in sun4i_dclk_round_rate() 102 if (abs(rate - rounded / i) < in sun4i_dclk_round_rate() 104 best_parent = rounded; in sun4i_dclk_round_rate()
|
H A D | sun8i_hdmi_phy_clk.c | 37 unsigned long rounded; in sun8i_phy_clk_determine_rate() local 39 rounded = clk_hw_round_rate(parent, ideal); in sun8i_phy_clk_determine_rate() 41 if (rounded == ideal) { in sun8i_phy_clk_determine_rate() 42 best_rate = rounded; in sun8i_phy_clk_determine_rate() 49 abs(rate - rounded / i) < in sun8i_phy_clk_determine_rate() 51 best_rate = rounded; in sun8i_phy_clk_determine_rate()
|
H A D | sun4i_hdmi_tmds_clk.c | 91 unsigned long rounded; in sun4i_tmds_determine_rate() local 93 rounded = clk_hw_round_rate(parent, ideal); in sun4i_tmds_determine_rate() 95 if (rounded == ideal) { in sun4i_tmds_determine_rate() 96 best_parent = rounded; in sun4i_tmds_determine_rate() 103 abs(rate - rounded / i / j) < in sun4i_tmds_determine_rate() 106 best_parent = rounded; in sun4i_tmds_determine_rate()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/ |
H A D | sun8i_hdmi_phy_clk.c | 37 unsigned long rounded; in sun8i_phy_clk_determine_rate() local 39 rounded = clk_hw_round_rate(parent, ideal); in sun8i_phy_clk_determine_rate() 41 if (rounded == ideal) { in sun8i_phy_clk_determine_rate() 42 best_rate = rounded; in sun8i_phy_clk_determine_rate() 49 abs(rate - rounded / i) < in sun8i_phy_clk_determine_rate() 51 best_rate = rounded; in sun8i_phy_clk_determine_rate()
|
H A D | sun4i_tcon_dclk.c | 81 unsigned long rounded; in sun4i_dclk_round_rate() local 93 rounded = clk_hw_round_rate(clk_hw_get_parent(hw), in sun4i_dclk_round_rate() 96 if (rounded == ideal) { in sun4i_dclk_round_rate() 97 best_parent = rounded; in sun4i_dclk_round_rate() 102 if (abs(rate - rounded / i) < in sun4i_dclk_round_rate() 104 best_parent = rounded; in sun4i_dclk_round_rate()
|
H A D | sun4i_hdmi_tmds_clk.c | 91 unsigned long rounded; in sun4i_tmds_determine_rate() local 93 rounded = clk_hw_round_rate(parent, ideal); in sun4i_tmds_determine_rate() 95 if (rounded == ideal) { in sun4i_tmds_determine_rate() 96 best_parent = rounded; in sun4i_tmds_determine_rate() 103 abs(rate - rounded / i / j) < in sun4i_tmds_determine_rate() 106 best_parent = rounded; in sun4i_tmds_determine_rate()
|
/kernel/linux/linux-6.6/drivers/clk/mstar/ |
H A D | clk-msc313-cpupll.c | 147 long rounded = msc313_cpupll_frequencyforreg(reg, *parent_rate); in msc313_cpupll_round_rate() local 153 for (; rounded >= rate && reg > 0; reg--) in msc313_cpupll_round_rate() 154 rounded = msc313_cpupll_frequencyforreg(reg, *parent_rate); in msc313_cpupll_round_rate() 156 return rounded; in msc313_cpupll_round_rate()
|
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | sint.S | 4 | The entry point sINT computes the rounded integer 6 | the integer rounded to zero of the input argument. 37 | 4. Normalize the rounded result; store in fp0. 225 | ;output a0 ptr to rounded result 229 | normalize the rounded result and store value in fp0
|
H A D | smovecr.S | 9 | Output: The constant rounded to the user's rounding
|
H A D | x_unfl.S | 12 | format. After denormalization, the result is rounded to the 206 | Output: a0 points to rounded operand 209 bsrl round |returns rounded denorm at (a0) 225 tstb LOCAL_HI(%a0) |If rounded result is normal,don't
|
H A D | sacos.S | 15 | result is subsequently rounded to double precision. The
|
H A D | sasin.S | 15 | result is subsequently rounded to double precision. The
|
H A D | satanh.S | 16 | result is subsequently rounded to double precision. The
|
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | sint.S | 4 | The entry point sINT computes the rounded integer 6 | the integer rounded to zero of the input argument. 37 | 4. Normalize the rounded result; store in fp0. 225 | ;output a0 ptr to rounded result 229 | normalize the rounded result and store value in fp0
|
H A D | smovecr.S | 9 | Output: The constant rounded to the user's rounding
|
H A D | x_unfl.S | 12 | format. After denormalization, the result is rounded to the 206 | Output: a0 points to rounded operand 209 bsrl round |returns rounded denorm at (a0) 225 tstb LOCAL_HI(%a0) |If rounded result is normal,don't
|
H A D | sacos.S | 15 | result is subsequently rounded to double precision. The
|
H A D | sasin.S | 15 | result is subsequently rounded to double precision. The
|
H A D | satanh.S | 16 | result is subsequently rounded to double precision. The
|
/kernel/linux/linux-5.10/drivers/clk/mmp/ |
H A D | clk-audio.c | 170 long rounded = 0; in audio_pll_round_rate() local 183 if (rounded && freq > rounded) in audio_pll_round_rate() 185 rounded = freq; in audio_pll_round_rate() 189 return rounded; in audio_pll_round_rate()
|
/kernel/linux/linux-6.6/drivers/clk/mmp/ |
H A D | clk-audio.c | 172 long rounded = 0; in audio_pll_round_rate() local 185 if (rounded && freq > rounded) in audio_pll_round_rate() 187 rounded = freq; in audio_pll_round_rate() 191 return rounded; in audio_pll_round_rate()
|
/kernel/linux/linux-5.10/drivers/sh/clk/ |
H A D | core.c | 558 unsigned long flags, rounded; in clk_round_rate() local 561 rounded = clk->ops->round_rate(clk, rate); in clk_round_rate() 564 return rounded; in clk_round_rate()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | verity.c | 89 u64 rounded = round_up(sz, MERKLE_START_ALIGN); in merkle_file_pos() local 91 if (rounded > inode->i_sb->s_maxbytes) in merkle_file_pos() 94 return rounded; in merkle_file_pos()
|
/kernel/linux/linux-6.6/drivers/sh/clk/ |
H A D | core.c | 558 unsigned long flags, rounded; in clk_round_rate() local 561 rounded = clk->ops->round_rate(clk, rate); in clk_round_rate() 564 return rounded; in clk_round_rate()
|
/kernel/linux/linux-6.6/drivers/clk/ |
H A D | clk_test.c | 119 * between rates above the parent rate which would be rounded to 1590 long rounded; in clk_range_test_set_range_set_round_rate_consistent_lower() local 1598 rounded = clk_round_rate(clk, DUMMY_CLOCK_RATE_1 - 1000); in clk_range_test_set_range_set_round_rate_consistent_lower() 1599 KUNIT_ASSERT_GT(test, rounded, 0); in clk_range_test_set_range_set_round_rate_consistent_lower() 1605 KUNIT_EXPECT_EQ(test, rounded, clk_get_rate(clk)); in clk_range_test_set_range_set_round_rate_consistent_lower() 1675 long rounded; in clk_range_test_set_range_set_round_rate_consistent_higher() local 1683 rounded = clk_round_rate(clk, DUMMY_CLOCK_RATE_2 + 1000); in clk_range_test_set_range_set_round_rate_consistent_higher() 1684 KUNIT_ASSERT_GT(test, rounded, 0); in clk_range_test_set_range_set_round_rate_consistent_higher() 1690 KUNIT_EXPECT_EQ(test, rounded, clk_get_rate(clk)); in clk_range_test_set_range_set_round_rate_consistent_higher()
|