Searched refs:checksum_local (Results 1 – 1 of 1) sorted by relevance
640 u16 checksum_local = 0; in i40e_calc_nvm_checksum() local701 checksum_local += data[i % I40E_SR_SECTOR_SIZE_IN_WORDS]; in i40e_calc_nvm_checksum()704 *checksum = (u16)I40E_SR_SW_CHECKSUM_BASE - checksum_local; in i40e_calc_nvm_checksum()749 u16 checksum_local = 0; in i40e_validate_nvm_checksum() local756 ret_code = i40e_calc_nvm_checksum(hw, &checksum_local); in i40e_validate_nvm_checksum()770 if (checksum_local != checksum_sr) in i40e_validate_nvm_checksum()775 *checksum = checksum_local; in i40e_validate_nvm_checksum()