Home
last modified time | relevance | path

Searched full:divide (Results 1 – 25 of 799) sorted by relevance

12345678910>>...32

/Linux-v6.6/include/linux/
Dmath64.h16 * div_u64_rem - unsigned 64bit divide with 32bit divisor with remainder
24 * divide.
33 * div_s64_rem - signed 64bit divide with 32bit divisor with remainder
47 * div64_u64_rem - unsigned 64bit divide with 64bit divisor and remainder
61 * div64_u64 - unsigned 64bit divide with 64bit divisor
73 * div64_s64 - signed 64bit divide with 64bit divisor
116 * div_u64 - unsigned 64bit divide with 32bit divisor
120 * This is the most common 64bit divide and should be used if possible,
122 * divide.
135 * div_s64 - signed 64bit divide with 32bit divisor
[all …]
Dreciprocal_div.h47 * ceil(log2(d)) result will be 32 which then requires u128 divide on host. The
54 * It makes no sense to use this advanced version for host divide emulation,
58 * However, it makes sense to use it for JIT divide code generation for which
/Linux-v6.6/tools/perf/pmu-events/arch/x86/goldmont/
Dfloating-point.json3 "BriefDescription": "Cycles the FP divide unit is busy",
6 "PublicDescription": "Counts core cycles the floating point divide unit is busy.",
19 "BriefDescription": "Floating point divide uops retired. (Precise Event Capable)",
23 "PublicDescription": "Counts the number of floating point divide uops retired.",
/Linux-v6.6/tools/perf/pmu-events/arch/x86/goldmontplus/
Dfloating-point.json3 "BriefDescription": "Cycles the FP divide unit is busy",
6 "PublicDescription": "Counts core cycles the floating point divide unit is busy.",
19 "BriefDescription": "Floating point divide uops retired (Precise Event Capable)",
23 "PublicDescription": "Counts the number of floating point divide uops retired.",
/Linux-v6.6/arch/arm/mach-ep93xx/
Dclock.c595 * These four bits set the divide ratio between the PLL2 in ep93xx_clock_init()
597 * 0000 - Divide by 1 in ep93xx_clock_init()
598 * 0001 - Divide by 2 in ep93xx_clock_init()
599 * 0010 - Divide by 3 in ep93xx_clock_init()
600 * 0011 - Divide by 4 in ep93xx_clock_init()
601 * 0100 - Divide by 5 in ep93xx_clock_init()
602 * 0101 - Divide by 6 in ep93xx_clock_init()
603 * 0110 - Divide by 7 in ep93xx_clock_init()
604 * 0111 - Divide by 8 in ep93xx_clock_init()
605 * 1000 - Divide by 9 in ep93xx_clock_init()
[all …]
/Linux-v6.6/drivers/acpi/acpica/
Dutmath.c14 /* Structures used only for 64-bit divide */
229 * Optional support for 64-bit double-precision integer divide. This code
233 * Support for a more normal 64-bit divide/modulo (with check for a divide-
247 * RETURN: Status (Checks for divide-by-zero)
250 * divide and modulo. The result is a 64-bit quotient and a
268 ACPI_ERROR((AE_INFO, "Divide by zero")); in acpi_ut_short_divide()
276 * and is generated by the second divide. in acpi_ut_short_divide()
305 * RETURN: Status (Checks for divide-by-zero)
307 * DESCRIPTION: Perform a divide and modulo.
330 ACPI_ERROR((AE_INFO, "Divide by zero")); in acpi_ut_divide()
[all …]
/Linux-v6.6/arch/m68k/ifpsp060/
Dilsp.doc34 module can be used to emulate 64-bit divide and multiply,
95 For a divide:
105 bsr.l _060LISP_TOP+0x08 # branch to divide routine
128 If the instruction being emulated is a divide and the source
130 instruction, executes an implemented divide using a zero
131 source operand so that an "Integer Divide-by-Zero" exception
/Linux-v6.6/arch/arm/mach-pxa/
Dsmemc.h57 #define MDREFR_K0DB4 (1 << 29) /* SDCLK0 Divide by 4 Control/Status */
63 #define MDREFR_K2DB2 (1 << 19) /* SDCLK2 Divide by 2 Control/Status */
65 #define MDREFR_K1DB2 (1 << 17) /* SDCLK1 Divide by 2 Control/Status */
68 #define MDREFR_K0DB2 (1 << 14) /* SDCLK0 Divide by 2 Control/Status */
/Linux-v6.6/drivers/gpu/drm/mcde/
Dmcde_clk_div.c93 * means "divide by 2". in mcde_clk_div_recalc_rate()
102 /* 0 in the PCD means "divide by 2", 1 means "divide by 3" etc */ in mcde_clk_div_recalc_rate()
117 * We cache the CR bits to set the divide in the state so that in mcde_clk_div_set_rate()
/Linux-v6.6/arch/x86/math-emu/
Ddiv_Xsig.S16 | Divide the 96 bit quantity pointed to by a, by that pointed to by b, and |
99 | Divide: Return arg1/arg2 to arg3. |
114 /* Divide by 2 to prevent overflow */
136 /* We will divide by a number which is too large */
141 /* here we need to divide by 100000000h,
147 divl %ecx /* Divide the numerator by the augmented
222 divl %ecx /* Divide the numerator by the denom ms dw */
Dreg_u_div.S6 | Divide one FPU_REG by another and put the result in a destination FPU_REG.|
118 jnz L_Full_Division /* Can't do a quick divide */
132 /* Divide the 64 bit number by the 32 bit denominator */
163 | Divide: Return arg1/arg2 to arg3. |
218 /* We will divide by a number which is too large */
223 /* here we need to divide by 100000000h,
229 divl %ecx /* Divide the numerator by the augmented
304 divl %ecx /* Divide the numerator by the denom ms dw */
/Linux-v6.6/drivers/usb/dwc3/
Ddwc3-octeon.c64 /* Divide the reference clock by 2 before entering the
87 * 0x0 = divide by 1
88 * 0x1 = divide by 2
89 * 0x2 = divide by 4
90 * 0x3 = divide by 6
91 * 0x4 = divide by 8
92 * 0x5 = divide by 16
93 * 0x6 = divide by 24
94 * 0x7 = divide by 32
/Linux-v6.6/drivers/clk/pxa/
Dclk-pxa.c22 #define MDREFR_K0DB4 (1 << 29) /* SDCLK0 Divide by 4 Control/Status */
28 #define MDREFR_K2DB2 (1 << 19) /* SDCLK2 Divide by 2 Control/Status */
30 #define MDREFR_K1DB2 (1 << 17) /* SDCLK1 Divide by 2 Control/Status */
33 #define MDREFR_K0DB2 (1 << 14) /* SDCLK0 Divide by 2 Control/Status */
183 * must be set prior to the change. Clearing the divide must be done in pxa2xx_cpll_change()
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h218 * Thus, we need to divide by 12K. But division is slow! Instead,
222 * To divide by 12K, we first divide by 4K, then divide by 3:
223 * To divide by 4K, shift right by 12 bits
224 * To divide by 3, multiply by 85, then divide by 256
225 * (Divide by 256 is done by shifting right by 8 bits)
/Linux-v6.6/drivers/net/ethernet/intel/iavf/
Diavf_txrx.h216 * Thus, we need to divide by 12K. But division is slow! Instead,
220 * To divide by 12K, we first divide by 4K, then divide by 3:
221 * To divide by 4K, shift right by 12 bits
222 * To divide by 3, multiply by 85, then divide by 256
223 * (Divide by 256 is done by shifting right by 8 bits)
/Linux-v6.6/tools/perf/pmu-events/arch/x86/amdzen1/
Dfloating-point.json87 "BriefDescription": "Divide and square root Ops.",
88 …ave retired. The number of events logged per cycle can vary from 0 to 8. Divide and square root Op…
122 "BriefDescription": "Double precision divide/square root FLOPS.",
123 …e can vary from 0 to 64. This event can count above 15. Double precision divide/square root FLOPS.…
150 "BriefDescription": "Single-precision divide/square root FLOPS.",
151 …e can vary from 0 to 64. This event can count above 15. Single-precision divide/square root FLOPS.…
/Linux-v6.6/include/linux/can/platform/
Dcc770.h10 #define CPUIF_DMC 0x20 /* Divide Memory Clock */
11 #define CPUIF_DSC 0x40 /* Divide System Clock */
/Linux-v6.6/arch/microblaze/kernel/
Dexceptions.c110 pr_debug("Divide by zero exception in user mode\n"); in full_exception()
114 pr_warn("Divide by zero exception in kernel mode.\n"); in full_exception()
115 die("Divide by zero exception", regs, SIGBUS); in full_exception()
/Linux-v6.6/drivers/clk/ingenic/
Dcgu.h86 * @shift: number of bits to left shift the divide value by (ie. the index of
87 * the lowest bit of the divide value within its control register)
88 * @div: number to divide the divider value by (i.e. if the
91 * @bits: the size of the divide value in bits
/Linux-v6.6/Documentation/devicetree/bindings/hwmon/
Dmoortec,mr75203.yaml25 *) Pre Scaler - provides divide-by-X scaling of input voltage, which can then
27 divide by 2 pre-scaler).
84 Defines the channels that use a mr76006 pre-scaler to divide the input
/Linux-v6.6/lib/
DKconfig.ubsan98 bool "Perform checking for integer divide-by-zero"
99 depends on $(cc-option,-fsanitize=integer-divide-by-zero)
104 This option enables -fsanitize=integer-divide-by-zero which checks
/Linux-v6.6/arch/parisc/math-emu/
Dsfdiv.c15 * Single Precision Floating-point Divide
33 * Single Precision Floating-point Divide
203 /* Divide the source mantissas */ in sgl_fdiv()
206 * A non_restoring divide algorithm is used. in sgl_fdiv()
/Linux-v6.6/arch/arc/include/asm/
Ddelay.h43 * -Mathematically if we multiply and divide a number by same value the
49 * -Divide by 2^32 is very simply right shift by 32
/Linux-v6.6/tools/perf/pmu-events/arch/x86/silvermont/
Dpipeline.json169 …cy all the time. Divide this event count by core frequency to determine the elapsed time while th…
177divide unit is unable to accept a new divide UOP because it is busy processing a previously dispat…
/Linux-v6.6/tools/include/nolibc/
Dstdlib.h32 /* must be exported, as it's used by libgcc for various divide functions */
198 * in a way to optimize the code size and avoid any divide that could add a
239 * any divide that could add a dependency on large external functions.
330 * the code size and avoid any divide that could add a dependency on large
374 * the code size and avoid any divide that could add a dependency on large

12345678910>>...32