Lines Matching refs:sum
290 unsigned sum = 0;
294 sum += *((unsigned char *) (start++));
297 return (sum & 0xFF);
465 int sum;
478 sum = get_checksum ((unsigned) local_cth_ptr,
480 if (local_cth_ptr->sig != IMPS_CTH_SIGNATURE || sum)
484 (unsigned) (fps_ptr->cth_ptr), sum));
494 sum = (get_checksum (((unsigned) local_cth_ptr)
498 if (sum)
501 ((" Bad Extended MP Config Table checksum 0x%x\n", sum));