Lines Matching refs:EthAddr
2200 u8 EthAddr[ETH_ALEN]; in get_permanent_address() local
2237 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()
2238 *(u16 *) &EthAddr[0] = SHORTSWAP(*(u16 *) &Addr[1]); in get_permanent_address()
2240 if (is_valid_ether_addr(EthAddr)) { in get_permanent_address()
2241 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address()
2273 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()
2274 *(u16 *) &EthAddr[0] = SHORTSWAP(*(u16 *)&Addr[1]); in get_permanent_address()
2275 if (is_valid_ether_addr(EthAddr)) { in get_permanent_address()
2276 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address()
2282 *(u32 *) &EthAddr[2] = LONGSWAP(Addr[0]); in get_permanent_address()
2283 *(u16 *) &EthAddr[0] = SHORTSWAP(*(u16 *) &Addr[1]); in get_permanent_address()
2285 if (is_valid_ether_addr(EthAddr)) { in get_permanent_address()
2286 memcpy(hw->perm_mac_addr, EthAddr, ETH_ALEN); in get_permanent_address()