Lines Matching refs:EthAddr
2228 u8 EthAddr[ETH_ALEN]; in get_permanent_address() local
2265 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()
2266 *(u16 *) &EthAddr[0] = SHORTSWAP(*(u16 *) &Addr[1]); in get_permanent_address()
2268 if (is_valid_ether_addr(EthAddr)) { in get_permanent_address()
2269 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address()
2301 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()
2302 *(u16 *) &EthAddr[0] = SHORTSWAP(*(u16 *)&Addr[1]); in get_permanent_address()
2303 if (is_valid_ether_addr(EthAddr)) { in get_permanent_address()
2304 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address()
2310 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()
2311 *(u16 *) &EthAddr[0] = SHORTSWAP(*(u16 *) &Addr[1]); in get_permanent_address()
2313 if (is_valid_ether_addr(EthAddr)) { in get_permanent_address()
2314 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address()