Home
last modified time | relevance | path

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

1234

/linux/Documentation/devicetree/bindings/leds/
A Dmaxim,max77693.yaml41 Valid values: 3300 - 5500, step by 25 (rounded down)
52 Valid values: 2400 - 3400, step by 33 (rounded down)
76 15625 - 250000, step by 15625 (rounded down)
78 15625 - 500000, step by 15625 (rounded down)
84 15625 - 1000000, step by 15625 (rounded down)
86 15625 - 1250000, step by 15625 (rounded down)
88 15625 - 625000, step by 15625 (rounded down)
92 Valid values: 62500 - 1000000, step by 62500 (rounded down)
/linux/drivers/gpu/drm/sun4i/
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()
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()
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/
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/
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
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
A Dsmovecr.S9 | Output: The constant rounded to the user's rounding
A Dsacos.S15 | result is subsequently rounded to double precision. The
A Dsatanh.S16 | result is subsequently rounded to double precision. The
A Dsasin.S15 | result is subsequently rounded to double precision. The
A Dscosh.S15 | result is subsequently rounded to double precision. The
A Dssinh.S15 | result is subsequently rounded to double precision. The
/linux/drivers/clk/mmp/
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/Documentation/devicetree/bindings/power/supply/
A Dmaxim,max77693.yaml30 Valid values: 3650000 - 4400000, step by 25000 (rounded down)
54 Valid values: 2000000 - 3500000, step by 250000 (rounded down)
/linux/Documentation/devicetree/bindings/clock/
A Dpwm-clock.yaml21 but was rounded to nanoseconds.
/linux/Documentation/devicetree/bindings/display/panel/
A Dlg,sw43408.yaml14 required DSC (Display Stream Compression) and has rounded corners.
A Dpanel-common.yaml27 property is expressed in millimeters and rounded to the closest unit.
32 property is expressed in millimeters and rounded to the closest unit.
/linux/fs/btrfs/
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/drivers/sh/clk/
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/Documentation/hwmon/
A Dmax31827.rst113 the temperature value register read. Note that the conversion times are rounded
120 will always be rounded down to the nearest possible value, for negative numbers
121 the user-input will always be rounded up to the nearest possible value.
A Dadt7470.rst76 The PWM frequency is rounded to the nearest one of:
/linux/Documentation/admin-guide/
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/
A Dclk_test.c1566 long rounded; in clk_range_test_set_range_set_round_rate_consistent_lower() local
1574 rounded = clk_round_rate(clk, DUMMY_CLOCK_RATE_1 - 1000); in clk_range_test_set_range_set_round_rate_consistent_lower()
1575 KUNIT_ASSERT_GT(test, rounded, 0); in clk_range_test_set_range_set_round_rate_consistent_lower()
1581 KUNIT_EXPECT_EQ(test, rounded, clk_get_rate(clk)); in clk_range_test_set_range_set_round_rate_consistent_lower()
1651 long rounded; in clk_range_test_set_range_set_round_rate_consistent_higher() local
1659 rounded = clk_round_rate(clk, DUMMY_CLOCK_RATE_2 + 1000); in clk_range_test_set_range_set_round_rate_consistent_higher()
1660 KUNIT_ASSERT_GT(test, rounded, 0); in clk_range_test_set_range_set_round_rate_consistent_higher()
1666 KUNIT_EXPECT_EQ(test, rounded, clk_get_rate(clk)); in clk_range_test_set_range_set_round_rate_consistent_higher()
/linux/Documentation/watchdog/
A Dmlx-wdt.rst17 e.g. timeout 20 sec will be rounded up to 32768 msec.

Completed in 40 milliseconds

1234