Lines Matching defs:sum
50 u8 sum = 0;
58 sum += buffer[i];
60 return (u8) (0 - sum);
220 * @sum: sum of the data (not checksum)
224 * way. Also fills up the sum of the buffer in *buffer parameter.
227 u16 length, u16 offset, u8 *sum)
236 /* sum = only sum of the data and it is not checksum */
249 *sum += *(tmp + j);
268 *sum += *(tmp + j);
281 *sum += *(tmp + j);