Home
last modified time | relevance | path

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

12345678910>>...35

/kernel/linux/linux-6.6/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)
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/
Dmax77693.txt53 Valid values: 3650000 - 4400000, step by 25000 (rounded down)
57 Valid values: 3000000 - 3700000, step by 100000 (rounded down)
68 Valid values: 2000000 - 3500000, step by 250000 (rounded down)
99 Valid values: 3300 - 5500, step by 25 (rounded down)
104 Valid values: 2400 - 3400, step by 33 (rounded down)
112 15625 - 250000, step by 15625 (rounded down)
114 15625 - 500000, step by 15625 (rounded down)
118 15625 - 1000000, step by 15625 (rounded down)
120 15625 - 1250000, step by 15625 (rounded down)
122 15625 - 625000, step by 15625 (rounded down)
[all …]
/kernel/linux/linux-5.10/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_dotclock.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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/include/linux/
Dmath64.h292 * DIV64_U64_ROUND_UP - unsigned 64bit divide with 64bit divisor rounded up
299 * Return: dividend / divisor rounded up
305 * DIV64_U64_ROUND_CLOSEST - unsigned 64bit divide with 64bit divisor rounded to nearest integer
312 * Return: dividend / divisor rounded to nearest integer
318 * DIV_U64_ROUND_CLOSEST - unsigned 64bit divide with 32bit divisor rounded to nearest integer
325 * Return: dividend / divisor rounded to nearest integer
331 * DIV_S64_ROUND_CLOSEST - signed 64bit divide with 32bit divisor rounded to nearest integer
338 * Return: dividend / divisor rounded to nearest integer
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_pgtable.h111 * The offset of @addr within a page is ignored, @size is rounded-up to
112 * the next page boundary and @phys is rounded-down to the previous page
153 * The offset of @addr within a page is ignored, @size is rounded-up to
154 * the next page boundary and @phys is rounded-down to the previous page
176 * The offset of @addr within a page is ignored and @size is rounded-up to
196 * The offset of @addr within a page is ignored and @size is rounded-up to
278 * The offset of @addr within a page is ignored and @size is rounded-up to
292 * The offset of @addr within a page is ignored and @size is rounded-up to
/kernel/linux/linux-5.10/fs/ntfs/
Dmalloc.h22 * Allocates @size bytes of memory, rounded up to multiples of PAGE_SIZE and
45 * Allocates @size bytes of memory, rounded up to multiples of PAGE_SIZE and
59 * Allocates @size bytes of memory, rounded up to multiples of PAGE_SIZE and
/kernel/linux/linux-6.6/fs/ntfs/
Dmalloc.h22 * Allocates @size bytes of memory, rounded up to multiples of PAGE_SIZE and
45 * Allocates @size bytes of memory, rounded up to multiples of PAGE_SIZE and
59 * Allocates @size bytes of memory, rounded up to multiples of PAGE_SIZE and
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/h8300/lib/
Ddelay.c33 __const_udelay(usecs * 0x10C7UL); /* 2**32 / 1000000 (rounded up) */ in __udelay()
39 __const_udelay(nsecs * 0x5UL); /* 2**32 / 1000000000 (rounded up) */ in __ndelay()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/arch/arm64/include/asm/
Dkvm_pgtable.h120 * The @size parameter is in bytes, and is rounded
382 * The offset of @addr within a page is ignored, @size is rounded-up to
383 * the next page boundary and @phys is rounded-down to the previous page
402 * The offset of @addr within a page is ignored, @size is rounded-up to
403 * the next page boundary and @phys is rounded-down to the previous page
517 * The offset of @addr within a page is ignored, @size is rounded-up to
518 * the next page boundary and @phys is rounded-down to the previous page
565 * The offset of @addr within a page is ignored and @size is rounded-up to
585 * The offset of @addr within a page is ignored and @size is rounded-up to
660 * The offset of @addr within a page is ignored and @size is rounded-up to
[all …]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/asm-generic/
Ddelay.h19 /* 0x10c7 is 2**32 / 1000000 (rounded up) */
32 /* 0x5 is 2**32 / 1000000000 (rounded up) */
/kernel/linux/linux-6.6/include/asm-generic/
Ddelay.h19 /* 0x10c7 is 2**32 / 1000000 (rounded up) */
32 /* 0x5 is 2**32 / 1000000000 (rounded up) */

12345678910>>...35