Home
last modified time | relevance | path

Searched refs:Crc (Results 1 – 4 of 4) sorted by relevance

/hal_nxp-latest/s32/drivers/s32k3/Eth_GMAC/src/
DGmac_Ip_Hw_Access.c551 uint32 Crc) in GMAC_AddToHashTable() argument
558 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() argument
580 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() argument
597 Index = (REV_BITS_32(Crc) & GMAC_CRC32_BITS_31_28_MASK) >> in GMAC_AddVlanToHashTable()
614 uint32 Crc) in GMAC_RemoveVlanFromHashTable() argument
618 Index = (REV_BITS_32(Crc) & GMAC_CRC32_BITS_31_28_MASK) >> in GMAC_RemoveVlanFromHashTable()
DGmac_Ip.c335 uint32 Crc = 0xFFFFFFFFUL; in Gmac_Ip_ComputeCRC32() local
340 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() local
2512 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 …]
/hal_nxp-latest/s32/drivers/s32k3/Eth_GMAC/include/
DGmac_Ip_Hw_Access.h161 uint32 Crc);
170 uint32 Crc);
179 uint32 Crc);
188 uint32 Crc);
/hal_nxp-latest/s32/drivers/s32ze/Eth_NETC/src/
DNetc_Eth_Ip.c1706 uint8 Crc = (uint8) 0U; in Netc_Eth_Ip_VsiMsgCalculateCRC8() local
1727 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()