Home
last modified time | relevance | path

Searched refs:divide (Results 1 – 25 of 66) sorted by relevance

123

/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
H A Dfskeleton.S145 | This is the exit point for the 060FPSP when an enabled divide-by-zero exception
147 | for enabled divide-by-zero exceptions. The exception stack frame is a divide-by-zero
/linux/arch/m68k/ifpsp060/src/
H A Dilsp.S68 # 64-bit divide instruction. #
85 # sign info for later. Separate out special cases like divide-by-zero #
90 # zero, then perform a divide-by-zero using a 16-bit implemented #
91 # divide instruction. This way, the operating system can record that #
141 # separate signed and unsigned divide
143 beq.b ldspecialcases # use positive divide
174 bls.b ld32bitdivide # yes, so use 32 bit divide
190 # perform the divide algorithm:
191 bsr.l ldclassical # do int divide
H A Disp.S492 # div64() may take a divide by zero exception.
500 btst &idbyz_bit,SPCOND_FLG(%a6) # did divide-by-zero occur?
510 # (iii) (a7)+; divide-by-zero
512 btst &idbyz_bit,SPCOND_FLG(%a6) # did divide-by-zero occur?
/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
/linux/scripts/
H A DMakefile.ubsan12 ubsan-cflags-$(CONFIG_UBSAN_DIV_ZERO) += -fsanitize=integer-divide-by-zero
/linux/arch/alpha/lib/
H A DMakefile45 $(src)/$(ev6-y)divide.S FORCE
/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/arch/powerpc/lib/
H A Ddiv64.S39 divwu r11,r11,r9 # then we divide the shifted quantities
/linux/Documentation/devicetree/bindings/net/can/
H A Dcc770.txt39 - bosch,divide-memory-clock : see data sheet.
/linux/arch/m68k/fpsp040/
H A Dfpsp.h234 .set dz_bit,2 | divide by zero
241 .set adz_bit,4 | accrued divide by zero
263 .set adz_mask,0x00000010 | accrued divide by zero
H A Dsatanh.S36 | divide-by-zero by
H A Ddecbin.S473 | else divide fp0/fp1.
485 fdivx %fp1,%fp0 |exp is negative, so divide mant by exp
H A Dbindec.S89 | result is exactly 10^LEN, decrement ILOG and divide
610 | result is exactly 10^LEN, decrement ILOG and divide
681 fdivs FTEN,%fp0 |if equal, divide by 10
/linux/drivers/media/dvb-frontends/
H A Dsp887x.c285 static void divide (int n, int d, int *quotient_i, int *quotient_f) in divide() function
333 divide(freq / 333, sysclock, NULL, &frequency_shift); in sp887x_correct_offsets()
/linux/Documentation/misc-devices/
H A Doxsemi-tornado.rst13 divisor is used as with the original 8250, to divide the frequency by a
15 that can take any value from 4 to 16 to divide the frequency further and
/linux/drivers/i2c/busses/
H A Di2c-hisi.c390 u32 divide, u32 divisor, in hisi_i2c_set_scl() argument
399 t_scl_hcnt = DIV_ROUND_UP_ULL(total_cnt * divide, divisor); in hisi_i2c_set_scl()
/linux/Documentation/devicetree/bindings/nios2/
H A Dnios2.txt34 - altr,has-div: Specifies CPU hardware divide support
/linux/Documentation/admin-guide/cgroup-v1/
H A Dcpuacct.rst34 cpuacct.stat file lists a few statistics which further divide the
/linux/arch/openrisc/
H A DKconfig125 bool "Have instruction l.div for hardware divide"
128 Select this if your implementation has a hardware divide instruction
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/fuc/
H A Dkernel.fuc253 /* try not losing precision (multiply then divide) */
264 /* let's divide then multiply, too bad for the precision! */
311 /* simply divide $ticks by HW_TICKS_PER_US */
/linux/drivers/net/wireless/broadcom/b43/
H A Ddma.c954 #define divide(a, b) ({ \ macro
981 permille_failed = divide(failed_packets * 1000, nr_packets); in b43_destroy_dmaring()
983 average_tries = divide(ring->nr_total_packet_tries * 100, nr_packets); in b43_destroy_dmaring()
993 (unsigned long long)divide(permille_failed, 10), in b43_destroy_dmaring()
995 (unsigned long long)divide(average_tries, 100), in b43_destroy_dmaring()
/linux/arch/powerpc/boot/
H A Ddiv64.S39 divwu r11,r11,r9 # then we divide the shifted quantities
/linux/arch/arm/mach-pxa/
H A Dsleep.S62 @ set SDCLKx divide-by-2 bits (this is part of a workaround for Errata 50)
/linux/drivers/media/pci/pluto2/
H A Dpluto2.c425 static inline u32 divide(u32 numerator, u32 denominator) in divide() function
448 div = divide(p->frequency * 3, 500000) + 217; in lg_tdtpe001p_tuner_set_params()

123