Lines Matching refs:EthAddr
2227 u8 EthAddr[ETH_ALEN]; in get_permanent_address() local
2264 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()
2265 *(u16 *) &EthAddr[0] = SHORTSWAP(*(u16 *) &Addr[1]); in get_permanent_address()
2267 if (is_valid_ether_addr(EthAddr)) { in get_permanent_address()
2268 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address()
2300 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()
2301 *(u16 *) &EthAddr[0] = SHORTSWAP(*(u16 *)&Addr[1]); in get_permanent_address()
2302 if (is_valid_ether_addr(EthAddr)) { in get_permanent_address()
2303 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address()
2309 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()
2310 *(u16 *) &EthAddr[0] = SHORTSWAP(*(u16 *) &Addr[1]); in get_permanent_address()
2312 if (is_valid_ether_addr(EthAddr)) { in get_permanent_address()
2313 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address()