Lines Matching +full:32 +full:- +full:bit
1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 1999, 2003 Hewlett-Packard Co
11 * in an architecture-specific manner due to speed..
22 /* add up 32-bit words for 33 bits */ in from64to16()
23 x = (x & 0xffffffff) + (x >> 32); in from64to16()
24 /* add up 16-bit and 17-bit words for 17+c bits */ in from64to16()
26 /* add up 16-bit and 2-bit for 16+c bit */ in from64to16()
34 * computes the checksum of the TCP/UDP pseudo-header
35 * returns a 16-bit checksum, already complemented.
57 /* Fold down to 32-bits so we don't lose in the typedef-less network stack. */ in csum_tcpudp_nofold()
59 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold()
60 /* 33 to 32 */ in csum_tcpudp_nofold()
61 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold()
70 * and adds in "sum" (32-bit)
72 * returns a 32-bit number suitable for feeding into itself
78 * it's best to have buff aligned on a 32-bit boundary
86 /* 32+c bits -> 32 bits */ in csum_partial()
87 result = (result & 0xffffffff) + (result >> 32); in csum_partial()
94 * this routine is used for miscellaneous IP-like checksums, mainly