Lines Matching refs:chksum
2158 uint8_t chksum = 0;
2178 for (cnt = 0, chksum = 0; cnt < ha->nvram_size; cnt++)
2179 chksum += *ptr++;
2185 if (chksum || nv->id[0] != 'I' || nv->id[1] != 'S' ||
2189 "checksum=0x%x id=%c version=0x%x.\n", chksum, nv->id[0],
4230 uint32_t chksum;
4260 for (cnt = 0, chksum = 0; cnt < ha->nvram_size >> 2; cnt++)
4261 chksum += le32_to_cpu(*dptr++);
4267 if (chksum || nv->id[0] != 'I' || nv->id[1] != 'S' || nv->id[2] != 'P'
4272 "checksum=0x%x id=%c version=0x%x.\n", chksum, nv->id[0],
4988 uint32_t chksum;
5009 for (cnt = 0, chksum = 0; cnt < ha->nvram_size >> 2; cnt++)
5010 chksum += le32_to_cpu(*dptr++);
5016 if (chksum || nv->id[0] != 'I' || nv->id[1] != 'S' || nv->id[2] != 'P'
5021 "checksum=0x%x id=%c version=0x%x.\n", chksum, nv->id[0],