Home
last modified time | relevance | path

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

123456

/linux/net/ipv6/
A Dip6_checksum.c13 int carry; in csum_ipv6_magic() local
20 sum += carry; in csum_ipv6_magic()
24 sum += carry; in csum_ipv6_magic()
28 sum += carry; in csum_ipv6_magic()
32 sum += carry; in csum_ipv6_magic()
36 sum += carry; in csum_ipv6_magic()
40 sum += carry; in csum_ipv6_magic()
44 sum += carry; in csum_ipv6_magic()
48 sum += carry; in csum_ipv6_magic()
53 sum += carry; in csum_ipv6_magic()
[all …]
/linux/arch/alpha/lib/
A Dcsum_partial_copy.c94 checksum += carry; in csum_partial_cfu_aligned()
103 checksum += carry; in csum_partial_cfu_aligned()
114 checksum += carry; in csum_partial_cfu_aligned()
136 carry = 0; in csum_partial_cfu_dest_aligned()
146 checksum += carry; in csum_partial_cfu_dest_aligned()
155 checksum += carry; in csum_partial_cfu_dest_aligned()
170 checksum += carry; in csum_partial_cfu_dest_aligned()
196 checksum += carry; in csum_partial_cfu_src_aligned()
206 checksum += carry; in csum_partial_cfu_src_aligned()
228 checksum += carry; in csum_partial_cfu_src_aligned()
[all …]
A Dchecksum.c110 unsigned long carry = 0; in do_csum() local
115 result += carry; in do_csum()
117 carry = (w > result); in do_csum()
119 result += carry; in do_csum()
/linux/crypto/
A Decc.c301 carry = !!carry; in vli_uadd()
494 u64 carry; in vli_mod_add() local
582 if (carry) in vli_mmod_special2()
588 if (carry) in vli_mmod_special2()
593 if (carry) in vli_mmod_special2()
677 u64 carry; in vli_mmod_barrett() local
693 int carry; in vli_mmod_fast_192() local
719 int carry; in vli_mmod_fast_256() local
802 int carry; in vli_mmod_fast_384() local
995 u64 carry; in vli_mod_inv() local
[all …]
A 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()
A Dstreebog_generic.c937 u64 carry = 0; in streebog_add512() local
944 sum = left + le64_to_cpu(y->qword[i]) + carry; in streebog_add512()
946 carry = (sum < left); in streebog_add512()
/linux/arch/mips/include/asm/
A Dchecksum.h102 int carry; in ip_fast_csum() local
106 carry = (csum < word[1]); in ip_fast_csum()
107 csum += carry; in ip_fast_csum()
110 carry = (csum < word[2]); in ip_fast_csum()
111 csum += carry; in ip_fast_csum()
114 carry = (csum < word[3]); in ip_fast_csum()
115 csum += carry; in ip_fast_csum()
120 carry = (csum < *word); in ip_fast_csum()
121 csum += carry; in ip_fast_csum()
/linux/arch/ia64/lib/
A Dcsum_partial_copy.c66 unsigned long carry = 0; in do_csum_c() local
71 result += carry; in do_csum_c()
73 carry = (w > result); in do_csum_c()
75 result += carry; in do_csum_c()
/linux/drivers/infiniband/hw/hfi1/
A Dpio_copy.c186 pbuf->carry.val64 = 0; in read_low_bytes()
187 jcopy(&pbuf->carry.val8[0], from, nbytes); in read_low_bytes()
202 jcopy(&pbuf->carry.val8[pbuf->carry_bytes], from, nbytes); in read_extra_bytes()
223 temp = pbuf->carry.val64 | (new << mshift(pbuf->carry_bytes)); in merge_write8()
225 pbuf->carry.val64 = new >> zshift(pbuf->carry_bytes); in merge_write8()
231 static inline void carry8_write8(union mix carry, void __iomem *dest) in carry8_write8() argument
233 writeq(carry.val64, dest); in carry8_write8()
245 writeq(pbuf->carry.val64, dest); in carry_write8()
459 carry8_write8(pbuf->carry, dest); in mid_copy_mix()
632 carry8_write8(pbuf->carry, dest); in seg_pio_copy_mid()
/linux/block/
A Dblk-crypto.c152 unsigned int carry = bytes >> bc->bc_key->data_unit_size_bits; in bio_crypt_dun_is_contiguous() local
155 if (bc->bc_dun[i] + carry != next_dun[i]) in bio_crypt_dun_is_contiguous()
161 if ((bc->bc_dun[i] + carry) < carry) in bio_crypt_dun_is_contiguous()
162 carry = 1; in bio_crypt_dun_is_contiguous()
164 carry = 0; in bio_crypt_dun_is_contiguous()
168 return carry == 0; in bio_crypt_dun_is_contiguous()
/linux/arch/sparc/lib/
A Dudivdi3.S26 addx %i0,%i0,%i0 ! so this cannot give carry
38 ! Got carry from n. Subtract next step to cancel this carry.
64 addx %o4,%o4,%o4 ! so this cannot give carry
76 ! Got carry from n. Subtract next step to cancel this carry.
90 addx %i0,%i0,%i0 ! so this cannot give carry
102 ! Got carry from n. Subtract next step to cancel this carry.
169 addx %o4,%o4,%o4 ! so this cannot give carry
181 ! Got carry from n. Subtract next step to cancel this carry.
A Ddivdi3.S50 addx %i0,%i0,%i0 ! so this cannot give carry
62 ! Got carry from n. Subtract next step to cancel this carry.
86 addx %g3,%g3,%g3 ! so this cannot give carry
98 ! Got carry from n. Subtract next step to cancel this carry.
110 addx %i0,%i0,%i0 ! so this cannot give carry
122 ! Got carry from n. Subtract next step to cancel this carry.
185 addx %o2,%o2,%o2 ! so this cannot give carry
197 ! Got carry from n. Subtract next step to cancel this carry.
A Dchecksum_32.S50 addx %g0, %o2, %o2 ! add in final carry
57 addx %g0, %o2, %o2 ! add in final carry
74 addx %g0, %o2, %o0 ! add final carry into retval
116 andcc %o1, 0x70, %g1 ! clears carry flag too
121 addx %g0, %o2, %o2 ! sink in final carry
125 andcc %o1, 0x70, %g1 ! clears carry flag too
140 addx %g0, %o2, %o2 ! fetch final carry
328 addx %g0, %g7, %g7 ! add in last carry bit
343 add %o1, %o2, %o1 ! advance dest ptr (carry is clear btw)
362 addx %g0, %g7, %g7 ! add in last carry bit
[all …]
/linux/lib/
A Dchecksum.c71 unsigned int carry = 0; in do_csum() local
75 result += carry; in do_csum()
77 carry = (w > result); in do_csum()
79 result += carry; in do_csum()
/linux/arch/m68k/math-emu/
A Dmulti_arith.h83 int carry; in fp_addmant() local
92 asm volatile ("addx.l %0,%0" : "=d" (carry) : "0" (0)); in fp_addmant()
94 return carry; in fp_addmant()
155 char carry; \
160 asm ("subx.l %2,%1; scs %0" : "=d" (carry), "=d" (dest.m32[0]) \
162 carry; \
/linux/sound/firewire/digi00x/
A Damdtp-dot.c38 u8 carry; member
107 state->idx = data[MAGIC_DOT_BYTE] ^ state->carry; in dot_encode_step()
109 data[MAGIC_DOT_BYTE] ^= state->carry; in dot_encode_step()
110 state->carry = dot_scrt(state->idx, ++(state->off)); in dot_encode_step()
415 p->state.carry = 0x00; in amdtp_dot_reset()
/linux/net/netfilter/
A Dnft_bitwise.c42 u32 carry = 0; in nft_bitwise_eval_lshift() local
45 dst[i - 1] = (src[i - 1] << shift) | carry; in nft_bitwise_eval_lshift()
46 carry = src[i - 1] >> (BITS_PER_TYPE(u32) - shift); in nft_bitwise_eval_lshift()
55 u32 carry = 0; in nft_bitwise_eval_rshift() local
58 dst[i] = carry | (src[i] >> shift); in nft_bitwise_eval_rshift()
59 carry = src[i] << (BITS_PER_TYPE(u32) - shift); in nft_bitwise_eval_rshift()
/linux/drivers/clk/ti/
A Dclkt_dpll.c144 int r = 0, carry = 0; in _dpll_test_mult() local
148 carry = 1; in _dpll_test_mult()
149 *m = (*m / DPLL_SCALE_FACTOR) + carry; in _dpll_test_mult()
/linux/drivers/gpu/drm/
A Ddrm_mipi_dbi.c795 u8 val, carry = 0; in mipi_dbi_spi1e_transfer() local
803 *dst++ = carry | BIT(8 - i) | (val >> i); in mipi_dbi_spi1e_transfer()
804 carry = val << (8 - i); in mipi_dbi_spi1e_transfer()
807 *dst++ = carry | BIT(8 - i) | (val >> i); in mipi_dbi_spi1e_transfer()
808 carry = val << (8 - i); in mipi_dbi_spi1e_transfer()
811 *dst++ = carry; in mipi_dbi_spi1e_transfer()
815 *dst++ = carry | BIT(8 - i) | (val >> i); in mipi_dbi_spi1e_transfer()
816 carry = val << (8 - i); in mipi_dbi_spi1e_transfer()
818 *dst++ = carry; in mipi_dbi_spi1e_transfer()
/linux/arch/powerpc/boot/
A Ddevtree.c172 int i, carry = 0; in add_reg() local
175 u64 tmp = (u64)be32_to_cpu(reg[i]) + be32_to_cpu(add[i]) + carry; in add_reg()
176 carry = tmp >> 32; in add_reg()
180 return !carry; in add_reg()
/linux/Documentation/devicetree/bindings/rtc/
A Drenesas,sh-rtc.yaml29 - const: carry
72 interrupt-names = "alarm", "period", "carry";
/linux/arch/arm/crypto/
A Dghash-ce-glue.c147 u64 carry = be64_to_cpu(k->a) >> 63; in ghash_reflect() local
149 h[0] = (be64_to_cpu(k->b) << 1) | carry; in ghash_reflect()
152 if (carry) in ghash_reflect()
/linux/arch/m68k/fpsp040/
A 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.
A 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
/linux/drivers/net/wireless/intersil/p54/
A Dp54usb.c501 u8 carry = 0; in p54u_upload_firmware_3887() local
535 if (carry) { in p54u_upload_firmware_3887()
536 *tmp++ = carry; in p54u_upload_firmware_3887()
537 carry = 0; in p54u_upload_firmware_3887()
544 carry = '^'; in p54u_upload_firmware_3887()
548 carry = ']'; in p54u_upload_firmware_3887()

Completed in 59 milliseconds

123456