Lines Matching defs:sum
17 u8 sum = 0;
23 sum += buffer[i];
25 return (u8)(0 - sum);
175 * @sum: sum of the data (not checksum)
179 * way. Also fills up the sum of the buffer in *buffer parameter.
182 u16 length, u16 offset, u8 *sum)
189 /* sum = only sum of the data and it is not checksum */
202 *sum += *(tmp + j);
221 *sum += *(tmp + j);
233 *sum += *(tmp + j);