Home
last modified time | relevance | path

Searched full:rounded (Results 1 – 25 of 356) sorted by relevance

12345678910>>...15

/linux/Documentation/devicetree/bindings/leds/
H 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/include/linux/
H A Dmath64.h288 * DIV64_U64_ROUND_UP - unsigned 64bit divide with 64bit divisor rounded up
295 * Return: dividend / divisor rounded up
301 * DIV_U64_ROUND_UP - unsigned 64bit divide with 32bit divisor rounded up
308 * Return: dividend / divisor rounded up
314 * DIV64_U64_ROUND_CLOSEST - unsigned 64bit divide with 64bit divisor rounded to nearest integer
321 * Return: dividend / divisor rounded to nearest integer
327 * DIV_U64_ROUND_CLOSEST - unsigned 64bit divide with 32bit divisor rounded to nearest integer
334 * Return: dividend / divisor rounded to nearest integer
340 * DIV_S64_ROUND_CLOSEST - signed 64bit divide with 32bit divisor rounded to nearest integer
347 * Return: dividend / divisor rounded to nearest integer
[all …]
/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/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
/linux/drivers/clk/mstar/
H A Dclk-msc313-cpupll.c147 long rounded = msc313_cpupll_frequencyforreg(reg, req->best_parent_rate); in msc313_cpupll_determine_rate() local
153 for (; rounded >= req->rate && reg > 0; reg--) in msc313_cpupll_determine_rate()
154 rounded = msc313_cpupll_frequencyforreg(reg, req->best_parent_rate); in msc313_cpupll_determine_rate()
156 req->rate = rounded; in msc313_cpupll_determine_rate()
/linux/arch/nios2/lib/
H A Ddelay.c32 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ in __udelay()
38 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/linux/arch/csky/lib/
H A Ddelay.c31 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ in __udelay()
37 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/linux/arch/arm64/include/asm/
H A Dkvm_pgtable.h195 * The @size parameter is in bytes, and is rounded
464 * The offset of @addr within a page is ignored, @size is rounded-up to
465 * the next page boundary and @phys is rounded-down to the previous page
484 * The offset of @addr within a page is ignored, @size is rounded-up to
485 * the next page boundary and @phys is rounded-down to the previous page
602 * The offset of @addr within a page is ignored, @size is rounded-up to
603 * the next page boundary and @phys is rounded-down to the previous page
650 * The offset of @addr within a page is ignored and @size is rounded-up to
670 * The offset of @addr within a page is ignored and @size is rounded-up to
747 * The offset of @addr within a page is ignored and @size is rounded-up to
[all …]
/linux/arch/x86/um/
H A Ddelay.c49 __const_udelay(usecs * 0x000010c7); /* 2**32 / 1000000 (rounded up) */ in __udelay()
55 __const_udelay(nsecs * 0x00005); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/linux/arch/openrisc/lib/
H A Ddelay.c51 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ in __udelay()
57 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/linux/include/uapi/linux/
H A Dpwm.h34 * rounded down to the next possible value, unless there is no such value, then
35 * values are rounded up. Note that zero isn't considered for rounding down
/linux/arch/arm64/lib/
H A Ddelay.c61 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ in __udelay()
67 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/linux/Documentation/devicetree/bindings/power/supply/
H A Dmaxim,max77693.yaml30 Valid values: 3650000 - 4400000, step by 25000 (rounded down)
54 Valid values: 2000000 - 3500000, step by 250000 (rounded down)
/linux/drivers/clk/mmp/
H A Dclk-audio.c172 long rounded = 0; in audio_pll_determine_rate() local
185 if (rounded && freq > rounded) in audio_pll_determine_rate()
187 rounded = freq; in audio_pll_determine_rate()
191 req->rate = rounded; in audio_pll_determine_rate()
/linux/drivers/clk/ti/
H A Dclkt_dpll.c35 * but the closer the rounded rate to the target rate. DPLL_SCALE_FACTOR
124 * @new_rate: pointer to storage for the resulting rounded rate
280 * cannot be rounded, or the rounded rate upon success.
/linux/net/atm/
H A Datm_misc.c50 * atm_pcr_goal returns the positive PCR if it should be rounded up, the
51 * negative PCR if it should be rounded down, and zero if the maximum available
/linux/drivers/net/wireless/intel/iwlwifi/tests/
H A Dutils.c56 .desc = "Adding -80dBm to -75dBm until it is still rounded to -79dBm",
65 .desc = "Adding -80dBm to -75dBm until it is just rounded to -80dBm",
/linux/arch/mips/math-emu/
H A Ddp_sqrt.c110 /* twiddle last bit to force y correctly rounded */ in ieee754dp_sqrt()
141 /* adjust scalx for correctly rounded sqrt(x) */ in ieee754dp_sqrt()
/linux/include/linux/can/
H A Dlength.h238 * (rounded up, including intermission)
247 * (rounded up, ignoring bitstuffing but including intermission)
253 * (rounded up, ignoring dynamic bitstuffing but including intermission)
/linux/include/vdso/
H A Dktime.h10 * idea of the (in)accuracy of timers. Timer values are rounded up to
/linux/arch/arm/common/
H A Dvlock.h14 /* Offsets and sizes are rounded to a word (4 bytes) */
/linux/Documentation/devicetree/bindings/clock/
H A Dpwm-clock.yaml21 but was rounded to nanoseconds.

12345678910>>...15