Home
last modified time | relevance | path

Searched refs:carry (Results 1 – 25 of 41) sorted by relevance

12

/arch/alpha/lib/
Dcsum_partial_copy.c106 unsigned long carry = 0; in csum_partial_cfu_aligned() local
112 checksum += carry; in csum_partial_cfu_aligned()
116 carry = checksum < word; in csum_partial_cfu_aligned()
121 checksum += carry; in csum_partial_cfu_aligned()
129 carry = checksum < word; in csum_partial_cfu_aligned()
131 checksum += carry; in csum_partial_cfu_aligned()
149 unsigned long word, carry; in csum_partial_cfu_dest_aligned() local
154 carry = 0; in csum_partial_cfu_dest_aligned()
163 checksum += carry; in csum_partial_cfu_dest_aligned()
169 carry = checksum < word; in csum_partial_cfu_dest_aligned()
[all …]
Dchecksum.c112 unsigned long carry = 0; in do_csum() local
117 result += carry; in do_csum()
119 carry = (w > result); in do_csum()
121 result += carry; in do_csum()
/arch/mips/include/asm/
Dchecksum.h136 int carry; in ip_fast_csum() local
140 carry = (csum < word[1]); in ip_fast_csum()
141 csum += carry; in ip_fast_csum()
144 carry = (csum < word[2]); in ip_fast_csum()
145 csum += carry; in ip_fast_csum()
148 carry = (csum < word[3]); in ip_fast_csum()
149 csum += carry; in ip_fast_csum()
154 carry = (csum < *word); in ip_fast_csum()
155 csum += carry; in ip_fast_csum()
/arch/ia64/lib/
Dcsum_partial_copy.c65 unsigned long carry = 0; in do_csum_c() local
70 result += carry; in do_csum_c()
72 carry = (w > result); in do_csum_c()
74 result += carry; in do_csum_c()
/arch/frv/lib/
Dchecksum.c69 unsigned long carry = 0; in do_csum() local
74 result += carry; in do_csum()
76 carry = (w > result); in do_csum()
78 result += carry; in do_csum()
/arch/metag/lib/
Dchecksum.c74 unsigned int carry = 0; in do_csum() local
78 result += carry; in do_csum()
80 carry = (w > result); in do_csum()
82 result += carry; in do_csum()
/arch/blackfin/include/asm/
Dchecksum.h20 unsigned int carry; in __csum_tcpudp_nofold() local
34 : "=d" (sum), "=&d" (carry) in __csum_tcpudp_nofold()
/arch/sparc/lib/
Dudivdi3.S38 addx %i0,%i0,%i0 ! so this cannot give carry
50 ! Got carry from n. Subtract next step to cancel this carry.
76 addx %o4,%o4,%o4 ! so this cannot give carry
88 ! Got carry from n. Subtract next step to cancel this carry.
102 addx %i0,%i0,%i0 ! so this cannot give carry
114 ! Got carry from n. Subtract next step to cancel this carry.
181 addx %o4,%o4,%o4 ! so this cannot give carry
193 ! Got carry from n. Subtract next step to cancel this carry.
Ddivdi3.S61 addx %i0,%i0,%i0 ! so this cannot give carry
73 ! Got carry from n. Subtract next step to cancel this carry.
97 addx %g3,%g3,%g3 ! so this cannot give carry
109 ! Got carry from n. Subtract next step to cancel this carry.
121 addx %i0,%i0,%i0 ! so this cannot give carry
133 ! Got carry from n. Subtract next step to cancel this carry.
196 addx %o2,%o2,%o2 ! so this cannot give carry
208 ! Got carry from n. Subtract next step to cancel this carry.
Dchecksum_32.S48 addx %g0, %o2, %o2 ! add in final carry
55 addx %g0, %o2, %o2 ! add in final carry
72 addx %g0, %o2, %o0 ! add final carry into retval
113 andcc %o1, 0x70, %g1 ! clears carry flag too
118 addx %g0, %o2, %o2 ! sink in final carry
122 andcc %o1, 0x70, %g1 ! clears carry flag too
137 addx %g0, %o2, %o2 ! fetch final carry
355 addx %g0, %g7, %g7 ! add in last carry bit
362 andcc %g1, 0xf, %o3 ! get low bits of length (clears carry btw)
370 add %o1, %o2, %o1 ! advance dest ptr (carry is clear btw)
[all …]
/arch/m68k/math-emu/
Dmulti_arith.h84 int carry; in fp_addmant() local
93 asm volatile ("addx.l %0,%0" : "=d" (carry) : "0" (0)); in fp_addmant()
95 return carry; in fp_addmant()
156 char carry; \
161 asm ("subx.l %2,%1; scs %0" : "=d" (carry), "=d" (dest.m32[0]) \
163 carry; \
/arch/arm/mach-omap2/
Dclkt_dpll.c145 int r = 0, carry = 0; in _dpll_test_mult() local
149 carry = 1; in _dpll_test_mult()
150 *m = (*m / DPLL_SCALE_FACTOR) + carry; in _dpll_test_mult()
/arch/powerpc/boot/
Ddevtree.c167 int i, carry = 0; in add_reg() local
170 u64 tmp = (u64)reg[i] + add[i] + carry; in add_reg()
171 carry = tmp >> 32; in add_reg()
175 return !carry; in add_reg()
/arch/cris/arch-v32/lib/
Dchecksum.S43 ;; test $acr without trashing carry.
50 ;; fold the last carry into r13
Dchecksumcopy.S47 ;; test $acr, without trashing carry.
53 ;; fold the last carry into r13
/arch/cris/arch-v10/drivers/
DKconfig106 Specify the pin of the PB port to carry the DTR signal for serial
115 Specify the pin of the PB port to carry the RI signal for serial
124 Specify the pin of the PB port to carry the DSR signal for serial
133 Specify the pin of the PB port to carry the CD signal for serial
194 Specify the pin of the PB port to carry the DTR signal for serial
203 Specify the pin of the PB port to carry the RI signal for serial
212 Specify the pin of the PB port to carry the DSR signal for serial
221 Specify the pin of the PB port to carry the CD signal for serial
261 Specify the pin of the PA port to carry the DTR signal for serial
270 Specify the pin of the PA port to carry the RI signal for serial
[all …]
/arch/cris/arch-v10/lib/
Dchecksum.S59 ;; fold the carry into the checksum, to avoid having to loop the carry
Dchecksumcopy.S65 ;; fold the carry into the checksum, to avoid having to loop the carry
/arch/m68k/fpsp040/
Dbinstr.S33 | will be collected by the carry.
35 | A5. Add using the carry the 64-bit quantities in d2:d3 and d4:d5
95 | A4. Multiply d4:d5 by 2; add carry out to d1.
Dsrem_mod.S206 clrl %d6 | ...D6 := carry <- 0
223 tstl %d6 | ...test carry bit
226 |..At this point carry = 0, R = (D1,D2), Y = (D4,D5)
244 clrl %d6 | ...clear carry
254 roxll #1,%d1 | ...hi(R) = 2hi(R) + carry
/arch/c6x/lib/
Dcsum_64plus.S255 ; unsigned int carry = 0;
260 ; result += carry;
262 ; carry = (w > result);
264 ; result += carry;
/arch/arm/lib/
Ddiv64.S105 @ divisor for comparisons, considering the carry-out bit as well.
117 @ The top part of remainder became zero. If carry is set
/arch/x86/crypto/
Dghash-clmulni-intel_asm.S68 # carry-less multiplication
/arch/m68k/lib/
Dudivsi3.S153 jcs L2 | if no carry,
/arch/m68k/ifpsp060/src/
Dilsp.S400 bcc ldd2nd # no carry, do next quotient digit
466 addx.w %d4, %d3 # add any carry to m*m product
468 addx.w %d4, %d3 # add any carry to m*m product
564 addx.l %d4,%d3 # [4] + carry
566 addx.l %d4,%d3 # [4] + carry
690 addx.l %d4,%d3 # [4] + carry
692 addx.l %d4,%d3 # [4] + carry

12