Home
last modified time | relevance | path

Searched refs:rounded (Results 1 – 25 of 69) sorted by relevance

123

/linux/drivers/gpu/drm/sun4i/
H A Dsun8i_hdmi_phy_clk.c37 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 Dsun4i_tcon_dclk.c81 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 Dsun4i_hdmi_tmds_clk.c91 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()
/linux/drivers/clk/mstar/
H A Dclk-msc313-cpupll.c147 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()
/linux/arch/m68k/fpsp040/
H A Dsint.S4 | 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 Dx_unfl.S12 | 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 Dsmovecr.S9 | Output: The constant rounded to the user's rounding
H A Dsacos.S15 | result is subsequently rounded to double precision. The
H A Dsasin.S15 | result is subsequently rounded to double precision. The
H A Dsatanh.S16 | result is subsequently rounded to double precision. The
H A Dscosh.S15 | result is subsequently rounded to double precision. The
H A Ddecbin.S53 | tables rounded to RN, RM, and RP, according to the table
82 | PTENRN, PTENRM, and PTENRP are arrays of powers of 10 rounded
H A Dssinh.S15 | result is subsequently rounded to double precision. The
/linux/drivers/clk/mmp/
H A Dclk-audio.c172 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()
/linux/drivers/sh/clk/
H A Dcore.c558 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()
/linux/fs/btrfs/
H A Dverity.c88 u64 rounded = round_up(sz, MERKLE_START_ALIGN); in merkle_file_pos() local
90 if (rounded > inode->i_sb->s_maxbytes) in merkle_file_pos()
93 return rounded; in merkle_file_pos()
/linux/Documentation/admin-guide/
H A Dramoops.rst23 * ``mem_size`` for the size. The memory size will be rounded down to a
38 The memory area is divided into ``record_size`` chunks (also rounded down to
/linux/drivers/clk/
H A Dclk_test.c1568 long rounded; in clk_range_test_set_range_set_round_rate_consistent_lower() local
1576 rounded = clk_round_rate(clk, DUMMY_CLOCK_RATE_1 - 1000); in clk_range_test_set_range_set_round_rate_consistent_lower()
1577 KUNIT_ASSERT_GT(test, rounded, 0); in clk_range_test_set_range_set_round_rate_consistent_lower()
1583 KUNIT_EXPECT_EQ(test, rounded, clk_get_rate(clk)); in clk_range_test_set_range_set_round_rate_consistent_lower()
1653 long rounded; in clk_range_test_set_range_set_round_rate_consistent_higher() local
1661 rounded = clk_round_rate(clk, DUMMY_CLOCK_RATE_2 + 1000); in clk_range_test_set_range_set_round_rate_consistent_higher()
1662 KUNIT_ASSERT_GT(test, rounded, 0); in clk_range_test_set_range_set_round_rate_consistent_higher()
1668 KUNIT_EXPECT_EQ(test, rounded, clk_get_rate(clk)); in clk_range_test_set_range_set_round_rate_consistent_higher()
/linux/Documentation/watchdog/
H A Dmlx-wdt.rst17 e.g. timeout 20 sec will be rounded up to 32768 msec.
H A Dhpwdt.rst55 non-zero values will be rounded, possibly to zero. Users should verify
/linux/Documentation/hwmon/
H A Dadt7470.rst76 The PWM frequency is rounded to the nearest one of:
/linux/Documentation/userspace-api/media/v4l/
H A Dmetafmt-vsp1-hgt.rst66 (rounded down).
/linux/Documentation/ABI/testing/
H A Dsysfs-class-power692 - 4 - 16 (hours), step by 2 (rounded down)
707 - 100000 - 200000 (microamps), step by 25000 (rounded down)
708 - 200000 - 350000 (microamps), step by 50000 (rounded down)
723 - 0 - 70 (minutes), step by 10 (rounded down)
H A Dsysfs-bus-siox42 Note this is rounded to jiffies on writing. On reading the current value
/linux/Documentation/arch/xtensa/
H A Dmmu.rst62 5. The parent-bus-address value is rounded down to the nearest 256MB boundary

123