Lines Matching refs:checksum
25 u32 checksum = 0;
29 checksum += (((u32)data[i] << 8) | data[i + 1]);
31 checksum = (~checksum + 1);
32 return checksum;
41 u32 checksum;
55 /* Fill with calculated checksum */
56 checksum = ncsi_calculate_checksum((unsigned char *)h,
60 *pchecksum = htonl(checksum);
221 * 32-bit boundary before the checksum field.
293 /* NCSI command packet has 16-bytes header, payload, 4 bytes checksum.
294 * Payload needs padding so that the checksum field following payload is