Home
last modified time | relevance | path

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

12345678910>>...29

/linux/include/linux/
H A 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 …]
H A 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/drivers/acpi/acpica/
H A 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/tools/perf/pmu-events/arch/x86/goldmont/
H A Dfloating-point.json3 "BriefDescription": "Cycles the FP divide unit is busy",
7 "PublicDescription": "Counts core cycles the floating point divide unit is busy.",
21 "BriefDescription": "Floating point divide uops retired. (Precise Event Capable)",
26 "PublicDescription": "Counts the number of floating point divide uops retired.",
/linux/tools/perf/pmu-events/arch/x86/goldmontplus/
H A Dfloating-point.json3 "BriefDescription": "Cycles the FP divide unit is busy",
7 "PublicDescription": "Counts core cycles the floating point divide unit is busy.",
21 "BriefDescription": "Floating point divide uops retired (Precise Event Capable)",
26 "PublicDescription": "Counts the number of floating point divide uops retired.",
/linux/arch/m68k/ifpsp060/
H A 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/arch/arm/mach-pxa/
H A 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/arch/x86/math-emu/
H A 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 */
H A 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 */
/linux/drivers/gpu/drm/mcde/
H A 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/drivers/clk/pxa/
H A 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/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.h220 * Thus, we need to divide by 12K. But division is slow! Instead,
224 * To divide by 12K, we first divide by 4K, then divide by 3:
225 * To divide by 4K, shift right by 12 bits
226 * To divide by 3, multiply by 85, then divide by 256
227 * (Divide by 256 is done by shifting right by 8 bits)
/linux/drivers/spi/
H A Dspi-cadence-xspi.c335 4, //0x0 = Divide by 4. SPI clock is 200 MHz.
336 6, //0x1 = Divide by 6. SPI clock is 133.33 MHz.
337 8, //0x2 = Divide by 8. SPI clock is 100 MHz.
338 10, //0x3 = Divide by 10. SPI clock is 80 MHz.
339 12, //0x4 = Divide by 12. SPI clock is 66.666 MHz.
340 16, //0x5 = Divide by 16. SPI clock is 50 MHz.
341 18, //0x6 = Divide by 18. SPI clock is 44.44 MHz.
342 20, //0x7 = Divide by 20. SPI clock is 40 MHz.
343 24, //0x8 = Divide by 24. SPI clock is 33.33 MHz.
344 32, //0x9 = Divide by 32. SPI clock is 25 MHz.
[all …]
/linux/tools/perf/pmu-events/arch/x86/amdzen1/
H A 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/arch/microblaze/kernel/
H A 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/include/linux/can/platform/
H A Dcc770.h10 #define CPUIF_DMC 0x20 /* Divide Memory Clock */
11 #define CPUIF_DSC 0x40 /* Divide System Clock */
/linux/drivers/clk/ingenic/
H A 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/Documentation/devicetree/bindings/hwmon/
H A 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/drivers/gpu/drm/imagination/
H A Dpvr_rogue_defs.h77 * To get the number of required Dusts, divide the number of
83 * To get the number of required Bernado/Phantom(s), divide
129 * ROGUE_CDMCTRL_USC_COMMON_SIZE_ALIGNSIZE is in bytes so we divide by four.
/linux/tools/perf/pmu-events/arch/x86/silvermont/
H A Dpipeline.json189 …cy all the time. Divide this event count by core frequency to determine the elapsed time while th…
198divide unit is unable to accept a new divide UOP because it is busy processing a previously dispat…
/linux/arch/parisc/math-emu/
H A 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()
H A Ddfdiv.c15 * Double Precision Floating-point Divide
33 * Double Precision Floating-point Divide
205 /* Divide the source mantissas */ in dbl_fdiv()
208 * A non-restoring divide algorithm is used. in dbl_fdiv()
/linux/drivers/pcmcia/
H A Dsa11xx_base.h41 * divide the command width time (the greater of twIOWR and twIORD,
42 * or the greater of twWE and twOE) by processor cycle time; divide
43 * by 2; divide again by 3 (number of BCLK's per command assertion);
/linux/lib/
H A 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/Documentation/arch/arm/nwfpe/
H A Dnetwinder-fpe.rst84 DVF{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - divide
85 RDV{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - reverse divide
90 FDV{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - fast divide
91 FRD{cond}<S|D|E>{P,M,Z} Fd, Fn, <Fm,#value> - fast reverse divide

12345678910>>...29