Searched refs:checksum_local (Results 1 – 2 of 2) sorted by relevance
700 u16 checksum_local = 0; in i40e_calc_nvm_checksum() local759 checksum_local += data[i % I40E_SR_SECTOR_SIZE_IN_WORDS]; in i40e_calc_nvm_checksum()762 *checksum = (u16)I40E_SR_SW_CHECKSUM_BASE - checksum_local; in i40e_calc_nvm_checksum()808 u16 checksum_local = 0; in i40e_validate_nvm_checksum() local820 ret_code = i40e_calc_nvm_checksum(hw, &checksum_local); in i40e_validate_nvm_checksum()829 if (checksum_local != checksum_sr) in i40e_validate_nvm_checksum()834 *checksum = checksum_local; in i40e_validate_nvm_checksum()
1575 u16 checksum_local = 0; in ice_calc_sr_checksum() 1625 checksum_local += data[i % ICE_SR_SECTOR_SIZE_IN_WORDS];1628 *checksum = (u16)ICE_SR_SW_CHECKSUM_BASE - checksum_local;1670 u16 checksum_local; in ice_validate_sr_checksum() 1678 status = ice_calc_sr_checksum(hw, &checksum_local); in ice_validate_sr_checksum() 1691 if (checksum_local != checksum_sr)1696 *checksum = checksum_local; in ice_nvm_validate_checksum() 1564 u16 checksum_local = 0; ice_calc_sr_checksum() local 1659 u16 checksum_local; ice_validate_sr_checksum() local