Searched refs:Crc (Results 1 – 4 of 4) sorted by relevance
551 uint32 Crc) in GMAC_AddToHashTable() argument558 Index = GMAC_HASH_TABLE_REG_IDX(REV_BITS_32(Crc)); in GMAC_AddToHashTable()559 Hash_bit = (uint32)1U << GMAC_HASH_TABLE_BIT_IDX(REV_BITS_32(Crc)); in GMAC_AddToHashTable()573 uint32 Crc) in GMAC_RemoveFromHashTable() argument580 Index = GMAC_HASH_TABLE_REG_IDX(REV_BITS_32(Crc)); in GMAC_RemoveFromHashTable()581 Hash_bit = (uint32)1U << GMAC_HASH_TABLE_BIT_IDX(REV_BITS_32(Crc)); in GMAC_RemoveFromHashTable()593 uint32 Crc) in GMAC_AddVlanToHashTable() argument597 Index = (REV_BITS_32(Crc) & GMAC_CRC32_BITS_31_28_MASK) >> in GMAC_AddVlanToHashTable()614 uint32 Crc) in GMAC_RemoveVlanFromHashTable() argument618 Index = (REV_BITS_32(Crc) & GMAC_CRC32_BITS_31_28_MASK) >> in GMAC_RemoveVlanFromHashTable()
335 uint32 Crc = 0xFFFFFFFFUL; in Gmac_Ip_ComputeCRC32() local340 Crc = Crc ^ Mac[i]; in Gmac_Ip_ComputeCRC32()343 if ((Crc & 0x1U) != 0U) in Gmac_Ip_ComputeCRC32()345 Crc = (Crc >> 1U) ^ 0xEDB88320U; in Gmac_Ip_ComputeCRC32()349 Crc = (Crc >> 1U); in Gmac_Ip_ComputeCRC32()354 return ~Crc; in Gmac_Ip_ComputeCRC32()2506 uint32 Crc; in Gmac_Ip_AddDstAddrToHashFilter() local2512 Crc = Gmac_Ip_ComputeCRC32(MacAddr, 6U); in Gmac_Ip_AddDstAddrToHashFilter()2514 GMAC_AddToHashTable(Base, Crc); in Gmac_Ip_AddDstAddrToHashFilter()2527 uint32 Crc; in Gmac_Ip_RemoveDstAddrFromHashFilter() local[all …]
161 uint32 Crc);170 uint32 Crc);179 uint32 Crc);188 uint32 Crc);
1706 uint8 Crc = (uint8) 0U; in Netc_Eth_Ip_VsiMsgCalculateCRC8() local1727 Crc ^= Data; in Netc_Eth_Ip_VsiMsgCalculateCRC8()1732 if((Crc & ((uint8) 1U << (uint8) 7U)) != (uint8) 0U) in Netc_Eth_Ip_VsiMsgCalculateCRC8()1734 Crc = (Crc << (uint8) 1U) ^ (uint8) NETC_ETH_IP_VSI_MSG_POLYNOMIAL; in Netc_Eth_Ip_VsiMsgCalculateCRC8()1738 Crc = Crc << (uint8) 1U; in Netc_Eth_Ip_VsiMsgCalculateCRC8()1743 return Crc; in Netc_Eth_Ip_VsiMsgCalculateCRC8()