Lines Matching refs:eth_addr
492 static u32 get_mac_addr_hash_code(u64 eth_addr) in get_mac_addr_hash_code() argument
499 mask1 = eth_addr & (u64)0x01; in get_mac_addr_hash_code()
500 eth_addr >>= 1; in get_mac_addr_hash_code()
503 mask2 = eth_addr & (u64)0x01; in get_mac_addr_hash_code()
505 eth_addr >>= 1; in get_mac_addr_hash_code()
910 int memac_add_hash_mac_address(struct fman_mac *memac, enet_addr_t *eth_addr) in memac_add_hash_mac_address() argument
920 addr = ENET_ADDR_TO_UINT64(*eth_addr); in memac_add_hash_mac_address()
971 int memac_del_hash_mac_address(struct fman_mac *memac, enet_addr_t *eth_addr) in memac_del_hash_mac_address() argument
982 addr = ENET_ADDR_TO_UINT64(*eth_addr); in memac_del_hash_mac_address()
1031 enet_addr_t eth_addr; in memac_init() local
1060 MAKE_ENET_ADDR_FROM_UINT64(memac->addr, eth_addr); in memac_init()
1061 add_addr_in_paddr(memac->regs, (const u8 *)eth_addr, 0); in memac_init()