Home
last modified time | relevance | path

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

12345678910>>...19

/linux-6.12.1/Documentation/devicetree/bindings/leds/
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-6.12.1/include/linux/
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-6.12.1/drivers/gpu/drm/sun4i/
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()
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()
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-6.12.1/arch/m68k/fpsp040/
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
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-6.12.1/drivers/clk/mstar/
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-6.12.1/drivers/power/supply/
Ducs1002_power.c142 * To fit within 32 bits some values are rounded (uA/h) in ucs1002_get_charge()
147 * B0: 0.01084 mA/h rounded to 11 uA/h in ucs1002_get_charge()
148 * B1: 0.02169 mA/h rounded to 22 uA/h in ucs1002_get_charge()
149 * B2: 0.04340 mA/h rounded to 43 uA/h in ucs1002_get_charge()
150 * B3: 0.08676 mA/h rounded to 87 uA/h in ucs1002_get_charge()
151 * B4: 0.17350 mA/h rounded to 173 uÁ/h in ucs1002_get_charge()
156 * B6: 0.00271 mA/h rounded to 3 uA/h in ucs1002_get_charge()
157 * B7: 0.005422 mA/h rounded to 5 uA/h in ucs1002_get_charge()
/linux-6.12.1/arch/nios2/lib/
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-6.12.1/arch/csky/lib/
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-6.12.1/include/asm-generic/
Ddelay.h19 /* 0x10c7 is 2**32 / 1000000 (rounded up) */
32 /* 0x5 is 2**32 / 1000000000 (rounded up) */
/linux-6.12.1/arch/arm64/include/asm/
Dkvm_pgtable.h190 * The @size parameter is in bytes, and is rounded
454 * The offset of @addr within a page is ignored, @size is rounded-up to
455 * the next page boundary and @phys is rounded-down to the previous page
474 * The offset of @addr within a page is ignored, @size is rounded-up to
475 * the next page boundary and @phys is rounded-down to the previous page
589 * The offset of @addr within a page is ignored, @size is rounded-up to
590 * the next page boundary and @phys is rounded-down to the previous page
637 * The offset of @addr within a page is ignored and @size is rounded-up to
657 * The offset of @addr within a page is ignored and @size is rounded-up to
732 * The offset of @addr within a page is ignored and @size is rounded-up to
[all …]
/linux-6.12.1/arch/x86/um/
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-6.12.1/arch/openrisc/lib/
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-6.12.1/arch/arm64/lib/
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-6.12.1/Documentation/devicetree/bindings/power/supply/
Dmaxim,max77693.yaml30 Valid values: 3650000 - 4400000, step by 25000 (rounded down)
54 Valid values: 2000000 - 3500000, step by 250000 (rounded down)
/linux-6.12.1/drivers/clk/mmp/
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-6.12.1/Documentation/hwmon/
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.
/linux-6.12.1/drivers/clk/ti/
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
281 * be rounded, or the rounded rate upon success.
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/tests/
Dscan.c57 .desc = "Adding -80dBm to -75dBm until it is still rounded to -79dBm",
66 .desc = "Adding -80dBm to -75dBm until it is just rounded to -80dBm",
/linux-6.12.1/net/atm/
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-6.12.1/drivers/gpu/drm/sti/
Dsti_tvout.c196 * tvout_vip_set_rnd - Set the rounded value of a VIP
200 * @rnd: rounded val per component
334 /* Set round mode (rounded to 8-bit per component) */ in tvout_dvo_start()
383 /* set round mode (rounded to 8-bit per component) */ in tvout_hdmi_start()
435 /* set round mode (rounded to 10-bit per component) */ in tvout_hda_start()
484 seq_printf(s, "%-24s input data rounded to %s per component\n", in tvout_dbg_vip()
/linux-6.12.1/arch/mips/math-emu/
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-6.12.1/Documentation/devicetree/bindings/display/panel/
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.

12345678910>>...19