Home
last modified time | relevance | path

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

1234

/linux-3.4.99/include/net/
Dip6_checksum.h43 int carry; in csum_ipv6_magic() local
49 carry = (sum < (__force u32)saddr->s6_addr32[0]); in csum_ipv6_magic()
50 sum += carry; in csum_ipv6_magic()
53 carry = (sum < (__force u32)saddr->s6_addr32[1]); in csum_ipv6_magic()
54 sum += carry; in csum_ipv6_magic()
57 carry = (sum < (__force u32)saddr->s6_addr32[2]); in csum_ipv6_magic()
58 sum += carry; in csum_ipv6_magic()
61 carry = (sum < (__force u32)saddr->s6_addr32[3]); in csum_ipv6_magic()
62 sum += carry; in csum_ipv6_magic()
65 carry = (sum < (__force u32)daddr->s6_addr32[0]); in csum_ipv6_magic()
[all …]
/linux-3.4.99/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()
/linux-3.4.99/arch/mips/include/asm/
Dchecksum.h106 int carry; in ip_fast_csum() local
110 carry = (csum < word[1]); in ip_fast_csum()
111 csum += carry; in ip_fast_csum()
114 carry = (csum < word[2]); in ip_fast_csum()
115 csum += carry; in ip_fast_csum()
118 carry = (csum < word[3]); in ip_fast_csum()
119 csum += carry; in ip_fast_csum()
124 carry = (csum < *word); in ip_fast_csum()
125 csum += carry; in ip_fast_csum()
/linux-3.4.99/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()
/linux-3.4.99/arch/h8300/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()
/linux-3.4.99/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()
/linux-3.4.99/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.
75 addx %o4,%o4,%o4 ! so this cannot give carry
87 ! Got carry from n. Subtract next step to cancel this carry.
101 addx %i0,%i0,%i0 ! so this cannot give carry
113 ! Got carry from n. Subtract next step to cancel this carry.
180 addx %o4,%o4,%o4 ! so this cannot give carry
192 ! Got carry from n. Subtract next step to cancel this carry.
Ddivdi3.S62 addx %i0,%i0,%i0 ! so this cannot give carry
74 ! 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 …]
/linux-3.4.99/lib/
Dchecksum.c75 unsigned int carry = 0; in do_csum() local
79 result += carry; in do_csum()
81 carry = (w > result); in do_csum()
83 result += carry; in do_csum()
/linux-3.4.99/arch/blackfin/include/asm/
Dchecksum.h20 unsigned int carry; in __csum_tcpudp_nofold() local
34 : "=d" (sum), "=&d" (carry) in __csum_tcpudp_nofold()
/linux-3.4.99/net/mac80211/
Daes_cmac.c27 int i, carry; in gf_mulx() local
29 carry = pad[0] & 0x80; in gf_mulx()
33 if (carry) in gf_mulx()
/linux-3.4.99/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; \
/linux-3.4.99/crypto/
Dwp512.c1012 u32 b, carry; in wp512_update() local
1019 for (i = 31, carry = 0; i >= 0 && (carry != 0 || value != 0ULL); i--) { in wp512_update()
1020 carry += bitLength[i] + ((u32)value & 0xff); in wp512_update()
1021 bitLength[i] = (u8)carry; in wp512_update()
1022 carry >>= 8; in wp512_update()
/linux-3.4.99/arch/arm/mach-omap2/
Dclkt_dpll.c160 int r = 0, carry = 0; in _dpll_test_mult() local
164 carry = 1; in _dpll_test_mult()
165 *m = (*m / DPLL_SCALE_FACTOR) + carry; in _dpll_test_mult()
/linux-3.4.99/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()
/linux-3.4.99/drivers/net/ethernet/
Ds6gmac.c358 unsigned long carry[sizeof(struct net_device_stats) / sizeof(long)]; member
488 pd->carry[inf[b].net_index] += (1 << inf[b].reg_size); in s6gmac_stats_carry()
492 static inline u32 s6gmac_stats_pending(struct s6gmac *pd, int carry) in s6gmac_stats_pending() argument
494 int r = readl(pd->reg + S6_GMAC_STATCARRY(carry)) & in s6gmac_stats_pending()
495 ~readl(pd->reg + S6_GMAC_STATCARRYMSK(carry)); in s6gmac_stats_pending()
499 static inline void s6gmac_stats_interrupt(struct s6gmac *pd, int carry) in s6gmac_stats_interrupt() argument
502 mask = s6gmac_stats_pending(pd, carry); in s6gmac_stats_interrupt()
504 writel(mask, pd->reg + S6_GMAC_STATCARRY(carry)); in s6gmac_stats_interrupt()
505 s6gmac_stats_carry(pd, &statinf[carry][0], mask); in s6gmac_stats_interrupt()
942 pd->carry[i] << (S6_GMAC_STAT_SIZE_MIN - 1); in s6gmac_stats()
/linux-3.4.99/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
/linux-3.4.99/arch/cris/arch-v10/drivers/
DKconfig108 Specify the pin of the PB port to carry the DTR signal for serial
117 Specify the pin of the PB port to carry the RI signal for serial
126 Specify the pin of the PB port to carry the DSR signal for serial
135 Specify the pin of the PB port to carry the CD signal for serial
196 Specify the pin of the PB port to carry the DTR signal for serial
205 Specify the pin of the PB port to carry the RI signal for serial
214 Specify the pin of the PB port to carry the DSR signal for serial
223 Specify the pin of the PB port to carry the CD signal for serial
263 Specify the pin of the PA port to carry the DTR signal for serial
272 Specify the pin of the PA port to carry the RI signal for serial
[all …]
/linux-3.4.99/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
/linux-3.4.99/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.
/linux-3.4.99/arch/c6x/lib/
Dcsum_64plus.S255 ; unsigned int carry = 0;
260 ; result += carry;
262 ; carry = (w > result);
264 ; result += carry;

1234