Lines Matching refs:ethAddr

113 static uint32_t GetMacAddrHashCode(uint64_t ethAddr)  in GetMacAddrHashCode()  argument
118 GET_MAC_ADDR_CRC(ethAddr, crc); in GetMacAddrHashCode()
818 uint64_t ethAddr; in DtsecAddExactMatchMacAddress() local
824 ethAddr = ENET_ADDR_TO_UINT64(*p_EthAddr); in DtsecAddExactMatchMacAddress()
826 if (ethAddr & GROUP_ADDRESS) in DtsecAddExactMatchMacAddress()
833 if (p_Dtsec->paddr[paddrNum] == ethAddr) in DtsecAddExactMatchMacAddress()
843 p_Dtsec->paddr[paddrNum] = ethAddr; in DtsecAddExactMatchMacAddress()
846 … fman_dtsec_add_addr_in_paddr(p_Dtsec->p_MemMap, (uint64_t)PTR_TO_UINT(&ethAddr), paddrNum); in DtsecAddExactMatchMacAddress()
861 uint64_t ethAddr; in DtsecDelExactMatchMacAddress() local
867 ethAddr = ENET_ADDR_TO_UINT64(*p_EthAddr); in DtsecDelExactMatchMacAddress()
873 (p_Dtsec->paddr[paddrNum] == ethAddr)) in DtsecDelExactMatchMacAddress()
894 uint64_t ethAddr; in DtsecAddHashMacAddress() local
902 ethAddr = ENET_ADDR_TO_UINT64(*p_EthAddr); in DtsecAddHashMacAddress()
905 mcast = (bool)((ethAddr & MAC_GROUP_ADDRESS) ? TRUE : FALSE); in DtsecAddHashMacAddress()
910 crc = GetMacAddrHashCode(ethAddr); in DtsecAddHashMacAddress()
935 p_HashEntry->addr = ethAddr; in DtsecAddHashMacAddress()
938 if (ethAddr & MAC_GROUP_ADDRESS) in DtsecAddHashMacAddress()
954 uint64_t ethAddr; in DtsecDelHashMacAddress() local
962 ethAddr = ENET_ADDR_TO_UINT64(*p_EthAddr); in DtsecDelHashMacAddress()
965 mcast = (bool)((ethAddr & MAC_GROUP_ADDRESS) ? TRUE : FALSE); in DtsecDelHashMacAddress()
970 crc = GetMacAddrHashCode(ethAddr); in DtsecDelHashMacAddress()
981 if (ethAddr & MAC_GROUP_ADDRESS) in DtsecDelHashMacAddress()
987 if (p_HashEntry->addr == ethAddr) in DtsecDelHashMacAddress()
1003 if (p_HashEntry->addr == ethAddr) in DtsecDelHashMacAddress()
1220 t_EnetAddr ethAddr; in DtsecInit() local
1234 MAKE_ENET_ADDR_FROM_UINT64(p_Dtsec->addr, ethAddr); in DtsecInit()
1240 (uint8_t*)ethAddr, in DtsecInit()