Lines Matching refs:chksum
648 ushort chksum;
4616 ASC_DCNT chksum;
4625 chksum = AscMemSumLramWord(iop_base, s_addr, mcode_word_size);
4626 ASC_DBG(1, "chksum 0x%lx\n", (ulong)chksum);
4636 return chksum;
4737 unsigned long chksum;
4774 chksum = (fw->data[3] << 24) | (fw->data[2] << 16) |
4776 ASC_DBG(1, "_asc_mcode_chksum 0x%lx\n", (ulong)chksum);
4778 fw->size - 4) != chksum) {
4815 int size, int memsize, int chksum)
4858 if (sum != chksum)
5034 unsigned long chksum;
5107 chksum = (fw->data[3] << 24) | (fw->data[2] << 16) |
5111 chksum);
5493 unsigned long chksum;
5623 chksum = (fw->data[3] << 24) | (fw->data[2] << 16) |
5627 chksum);
5993 unsigned long chksum;
6125 chksum = (fw->data[3] << 24) | (fw->data[2] << 16) |
6129 chksum);
10005 ushort chksum;
10038 chksum = AscGetEEPConfig(iop_base, eep_config, asc_dvc->bus_type);
10039 ASC_DBG(1, "chksum 0x%x\n", chksum);
10040 if (chksum == 0) {
10041 chksum = 0xaa55;
10060 ASC_DBG(1, "eep_config->chksum 0x%x\n", eep_config->chksum);
10061 if (chksum != eep_config->chksum) {
10064 ASC_DBG(1, "chksum error ignored; EEPROM-less board\n");
10707 ushort addr, chksum;
10712 chksum = 0;
10729 chksum += *wbuf; /* Checksum is calculated from word values. */
10740 AdvWriteWordRegister(iop_base, IOPW_EE_DATA, chksum);
10775 ushort addr, chksum;
10779 chksum = 0;
10796 chksum += *wbuf; /* Checksum is calculated from word values. */
10807 AdvWriteWordRegister(iop_base, IOPW_EE_DATA, chksum);
10842 ushort addr, chksum;
10846 chksum = 0;
10863 chksum += *wbuf; /* Checksum is calculated from word values. */
10874 AdvWriteWordRegister(iop_base, IOPW_EE_DATA, chksum);
10909 ushort wval, chksum;
10916 chksum = 0;
10921 chksum += wval; /* Checksum is calculated from word values. */
10941 return chksum;
10952 ushort wval, chksum;
10959 chksum = 0;
10964 chksum += wval; /* Checksum is calculated from word values. */
10984 return chksum;
10995 ushort wval, chksum;
11002 chksum = 0;
11007 chksum += wval; /* Checksum is calculated from word values. */
11027 return chksum;