Lines Matching refs:mac
30 u8 mac[ETH_ALEN]; member
172 return bgx->lmac[lmacid].mac; in bgx_get_lmac_mac()
178 void bgx_set_lmac_mac(int node, int bgx_idx, int lmacid, const u8 *mac) in bgx_set_lmac_mac() argument
185 ether_addr_copy(bgx->lmac[lmacid].mac, mac); in bgx_set_lmac_mac()
891 u8 mac[ETH_ALEN]; in acpi_get_mac_address() local
895 "mac-address", mac, ETH_ALEN); in acpi_get_mac_address()
899 if (!is_valid_ether_addr(mac)) { in acpi_get_mac_address()
904 memcpy(dst, mac, ETH_ALEN); in acpi_get_mac_address()
919 acpi_get_mac_address(adev, bgx->lmac[bgx->lmac_count].mac); in bgx_acpi_register_phy()
975 const char *mac; in bgx_init_of_phy() local
990 mac = of_get_mac_address(np_child); in bgx_init_of_phy()
991 if (mac) in bgx_init_of_phy()
992 ether_addr_copy(bgx->lmac[lmac].mac, mac); in bgx_init_of_phy()