Home
last modified time | relevance | path

Searched refs:cksum (Results 1 – 7 of 7) sorted by relevance

/arch/sparc/kernel/
Didprom.c74 unsigned char cksum, i, *ptr = (unsigned char *)idprom; in calc_idprom_cksum() local
76 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()
/arch/powerpc/boot/
Dmktree.c46 unsigned int cksum, *cp; in main() local
92 cksum = 0; in main()
95 cksum += *cp++; in main()
131 cksum += *cp++; in main()
140 bt.bb_checksum = htonl(cksum); in main()
/arch/m68k/sun3/
Didprom.c103 unsigned char cksum, i, *ptr = (unsigned char *)idprom; in calc_idprom_cksum() local
105 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()
/arch/x86/include/asm/
Dmicrocode_intel.h12 unsigned int cksum; member
29 unsigned int cksum; member
34 unsigned int cksum; member
/arch/mips/include/asm/mach-ath25/
Dath25_platform.h16 u16 cksum; /* checksum (starting with BD_REV 2) */ member
/arch/powerpc/platforms/powermac/
Dnvram.c55 u8 cksum; member
269 if (hdr99->hdr.cksum != chrp_checksum(&hdr99->hdr)) { in core99_check()
489 hdr99->hdr.cksum = chrp_checksum(&hdr99->hdr); in core99_nvram_sync()
/arch/x86/kernel/cpu/microcode/
Dintel.c267 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()