Lines Matching refs:mac
49 u8 mac[ETH_ALEN]; member
228 return bgx->lmac[lmacid].mac; in bgx_get_lmac_mac()
234 void bgx_set_lmac_mac(int node, int bgx_idx, int lmacid, const u8 *mac) in bgx_set_lmac_mac() argument
241 ether_addr_copy(bgx->lmac[lmacid].mac, mac); in bgx_set_lmac_mac()
343 cam_dmac = ether_addr_to_u64(lmac->mac); in bgx_set_dmac_cam_filter()
1388 u8 mac[ETH_ALEN]; in acpi_get_mac_address() local
1391 ret = fwnode_get_mac_address(acpi_fwnode_handle(adev), mac); in acpi_get_mac_address()
1393 dev_err(dev, "MAC address invalid: %pM\n", mac); in acpi_get_mac_address()
1397 dev_info(dev, "MAC address set to: %pM\n", mac); in acpi_get_mac_address()
1399 ether_addr_copy(dst, mac); in acpi_get_mac_address()
1415 acpi_get_mac_address(dev, adev, bgx->lmac[bgx->acpi_lmac_idx].mac); in bgx_acpi_register_phy()
1484 of_get_mac_address(node, bgx->lmac[lmac].mac); in bgx_init_of_phy()