Lines Matching refs:crc
73 uint32_t crc = prev_crc; in xlnx_efuse_u37_crc() local
89 r = rm & (crc >> rshf); in xlnx_efuse_u37_crc()
90 i = im & (crc ^ w); in xlnx_efuse_u37_crc()
91 crc = crc_tab[i] ^ r; in xlnx_efuse_u37_crc()
97 r = r2 & (crc >> 2); in xlnx_efuse_u37_crc()
98 i = i2 & (crc ^ w); in xlnx_efuse_u37_crc()
99 crc = crc_tab[i << (rshf - 2)] ^ r; in xlnx_efuse_u37_crc()
101 return crc; in xlnx_efuse_u37_crc()
107 uint32_t crc = 0; in xlnx_efuse_calc_crc() local
111 crc = xlnx_efuse_u37_crc(crc, 0, (index + u32_cnt)); in xlnx_efuse_calc_crc()
115 crc = xlnx_efuse_u37_crc(crc, data[index - 1], index); in xlnx_efuse_calc_crc()
118 return crc; in xlnx_efuse_calc_crc()