Home
last modified time | relevance | path

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

12345

/Linux-v4.19/net/ipv6/
Dip6_checksum.c13 int carry; in csum_ipv6_magic() local
19 carry = (sum < (__force u32)saddr->s6_addr32[0]); in csum_ipv6_magic()
20 sum += carry; in csum_ipv6_magic()
23 carry = (sum < (__force u32)saddr->s6_addr32[1]); in csum_ipv6_magic()
24 sum += carry; in csum_ipv6_magic()
27 carry = (sum < (__force u32)saddr->s6_addr32[2]); in csum_ipv6_magic()
28 sum += carry; in csum_ipv6_magic()
31 carry = (sum < (__force u32)saddr->s6_addr32[3]); in csum_ipv6_magic()
32 sum += carry; in csum_ipv6_magic()
35 carry = (sum < (__force u32)daddr->s6_addr32[0]); in csum_ipv6_magic()
[all …]
/Linux-v4.19/arch/alpha/lib/
Dcsum_partial_copy.c101 unsigned long carry = 0; in csum_partial_cfu_aligned() local
107 checksum += carry; in csum_partial_cfu_aligned()
111 carry = checksum < word; in csum_partial_cfu_aligned()
116 checksum += carry; in csum_partial_cfu_aligned()
124 carry = checksum < word; in csum_partial_cfu_aligned()
126 checksum += carry; in csum_partial_cfu_aligned()
144 unsigned long word, carry; in csum_partial_cfu_dest_aligned() local
149 carry = 0; in csum_partial_cfu_dest_aligned()
158 checksum += carry; in csum_partial_cfu_dest_aligned()
164 carry = checksum < word; in csum_partial_cfu_dest_aligned()
[all …]
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-v4.19/crypto/
Decc.c194 u64 carry = 0; in vli_lshift() local
200 result[i] = (temp << shift) | carry; in vli_lshift()
201 carry = temp >> (64 - shift); in vli_lshift()
204 return carry; in vli_lshift()
211 u64 carry = 0; in vli_rshift1() local
217 *vli = (temp >> 1) | carry; in vli_rshift1()
218 carry = temp << 63; in vli_rshift1()
226 u64 carry = 0; in vli_add() local
232 sum = left[i] + right[i] + carry; in vli_add()
234 carry = (sum < left[i]); in vli_add()
[all …]
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-v4.19/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()
/Linux-v4.19/arch/ia64/lib/
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-v4.19/drivers/infiniband/hw/hfi1/
Dpio_copy.c228 pbuf->carry.val64 = 0; in read_low_bytes()
229 jcopy(&pbuf->carry.val8[0], from, nbytes); in read_low_bytes()
244 jcopy(&pbuf->carry.val8[pbuf->carry_bytes], from, nbytes); in read_extra_bytes()
265 temp = pbuf->carry.val64 | (new << mshift(pbuf->carry_bytes)); in merge_write8()
267 pbuf->carry.val64 = new >> zshift(pbuf->carry_bytes); in merge_write8()
273 static inline void carry8_write8(union mix carry, void __iomem *dest) in carry8_write8() argument
275 writeq(carry.val64, dest); in carry8_write8()
287 writeq(pbuf->carry.val64, dest); in carry_write8()
501 carry8_write8(pbuf->carry, dest); in mid_copy_mix()
674 carry8_write8(pbuf->carry, dest); in seg_pio_copy_mid()
/Linux-v4.19/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.S62 addx %i0,%i0,%i0 ! so this cannot give carry
74 ! Got carry from n. Subtract next step to cancel this carry.
98 addx %g3,%g3,%g3 ! so this cannot give carry
110 ! Got carry from n. Subtract next step to cancel this carry.
122 addx %i0,%i0,%i0 ! so this cannot give carry
134 ! Got carry from n. Subtract next step to cancel this carry.
197 addx %o2,%o2,%o2 ! so this cannot give carry
209 ! Got carry from n. Subtract next step to cancel this carry.
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
359 addx %g0, %g7, %g7 ! add in last carry bit
366 andcc %g1, 0xf, %o3 ! get low bits of length (clears carry btw)
374 add %o1, %o2, %o1 ! advance dest ptr (carry is clear btw)
[all …]
/Linux-v4.19/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-v4.19/Documentation/devicetree/bindings/rtc/
Drtc-sh.txt7 - interrupts: 3 interrupts for alarm, period, and carry.
9 "carry".
24 interrupt-names = "alarm", "period", "carry";
/Linux-v4.19/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-v4.19/sound/firewire/digi00x/
Damdtp-dot.c39 u8 carry; member
108 state->idx = data[MAGIC_DOT_BYTE] ^ state->carry; in dot_encode_step()
110 data[MAGIC_DOT_BYTE] ^= state->carry; in dot_encode_step()
111 state->carry = dot_scrt(state->idx, ++(state->off)); in dot_encode_step()
399 p->state.carry = 0x00; in amdtp_dot_reset()
/Linux-v4.19/drivers/gpu/drm/tinydrm/
Dmipi-dbi.c612 u8 val, carry = 0; in mipi_dbi_spi1e_transfer() local
620 *dst++ = carry | BIT(8 - i) | (val >> i); in mipi_dbi_spi1e_transfer()
621 carry = val << (8 - i); in mipi_dbi_spi1e_transfer()
624 *dst++ = carry | BIT(8 - i) | (val >> i); in mipi_dbi_spi1e_transfer()
625 carry = val << (8 - i); in mipi_dbi_spi1e_transfer()
628 *dst++ = carry; in mipi_dbi_spi1e_transfer()
632 *dst++ = carry | BIT(8 - i) | (val >> i); in mipi_dbi_spi1e_transfer()
633 carry = val << (8 - i); in mipi_dbi_spi1e_transfer()
635 *dst++ = carry; in mipi_dbi_spi1e_transfer()
/Linux-v4.19/drivers/clk/ti/
Dclkt_dpll.c147 int r = 0, carry = 0; in _dpll_test_mult() local
151 carry = 1; in _dpll_test_mult()
152 *m = (*m / DPLL_SCALE_FACTOR) + carry; in _dpll_test_mult()
/Linux-v4.19/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-v4.19/Documentation/devicetree/bindings/arm/marvell/
Darmada-8kp.txt4 Boards using a SoC of the Marvell Armada 8KP families must carry
Darmada-7k-8k.txt4 Boards using a SoC of the Marvell Armada 7K or 8K families must carry
Darmada-37xx.txt4 Boards using a SoC of the Marvell Armada 37xx family must carry the
/Linux-v4.19/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
/Linux-v4.19/arch/c6x/lib/
Dcsum_64plus.S255 ; unsigned int carry = 0;
260 ; result += carry;
262 ; carry = (w > result);
264 ; result += carry;
/Linux-v4.19/drivers/net/wireless/intersil/p54/
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()

12345