Searched refs:cksum (Results 1 – 7 of 7) sorted by relevance
74 unsigned char cksum, i, *ptr = (unsigned char *)idprom; in calc_idprom_cksum() local76 for (i = cksum = 0; i <= 0x0E; i++) in calc_idprom_cksum()77 cksum ^= *ptr++; in calc_idprom_cksum()79 return cksum; in calc_idprom_cksum()
46 unsigned int cksum, *cp; in main() local92 cksum = 0; in main()95 cksum += *cp++; in main()131 cksum += *cp++; in main()140 bt.bb_checksum = htonl(cksum); in main()
103 unsigned char cksum, i, *ptr = (unsigned char *)idprom; in calc_idprom_cksum() local105 for (i = cksum = 0; i <= 0x0E; i++) in calc_idprom_cksum()106 cksum ^= *ptr++; in calc_idprom_cksum()108 return cksum; in calc_idprom_cksum()
12 unsigned int cksum; member29 unsigned int cksum; member34 unsigned int cksum; member
16 u16 cksum; /* checksum (starting with BD_REV 2) */ member
55 u8 cksum; member269 if (hdr99->hdr.cksum != chrp_checksum(&hdr99->hdr)) { in core99_check()489 hdr99->hdr.cksum = chrp_checksum(&hdr99->hdr); in core99_nvram_sync()
267 sum = (mc_header->sig + mc_header->pf + mc_header->cksum) - in microcode_sanity_check()268 (ext_sig->sig + ext_sig->pf + ext_sig->cksum); in microcode_sanity_check()