/Linux-v4.19/drivers/of/ |
D | of_net.c | 46 if (pp && pp->length == ETH_ALEN && is_valid_ether_addr(pp->value)) in of_get_mac_addr() 111 if (len < ETH_ALEN || !is_valid_ether_addr(mac)) { in of_get_nvmem_mac_address()
|
/Linux-v4.19/drivers/net/ethernet/cisco/enic/ |
D | enic_dev.c | 54 if (!is_valid_ether_addr(enic->netdev->dev_addr)) in enic_dev_add_station_addr() 68 if (!is_valid_ether_addr(enic->netdev->dev_addr)) in enic_dev_del_station_addr()
|
/Linux-v4.19/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_vf.c | 24 if (is_valid_ether_addr(perm_addr)) { in fm10k_stop_hw_vf() 281 if (!is_valid_ether_addr(mac)) in fm10k_update_uc_addr_vf() 285 if (is_valid_ether_addr(hw->mac.perm_addr) && in fm10k_update_uc_addr_vf()
|
D | fm10k_iov.c | 97 if (is_valid_ether_addr(vf_info->mac) && in fm10k_iov_msg_queue_mac_vlan() 549 if (!is_zero_ether_addr(mac) && !is_valid_ether_addr(mac)) in fm10k_ndo_set_vf_mac()
|
D | fm10k_pf.c | 355 if (!is_valid_ether_addr(mac)) in fm10k_update_uc_addr_pf() 908 if (is_valid_ether_addr(vf_info->mac)) { in fm10k_iov_assign_default_mac_vlan_pf() 1038 if (is_valid_ether_addr(vf_info->mac)) { in fm10k_iov_reset_resources_pf() 1255 if (is_valid_ether_addr(vf_info->mac) && in fm10k_iov_msg_mac_vlan_pf()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_sriov.c | 155 if (is_valid_ether_addr(vf->mac_addr)) in bnxt_get_vf_config() 930 if (is_valid_ether_addr(req->dflt_mac_addr) && in bnxt_vf_configure_mac() 932 !is_valid_ether_addr(vf->mac_addr) || in bnxt_vf_configure_mac() 949 if (!is_valid_ether_addr((const u8 *)req->l2_addr)) in bnxt_vf_validate_set_mac() 959 } else if (is_valid_ether_addr(vf->mac_addr)) { in bnxt_vf_validate_set_mac() 962 } else if (is_valid_ether_addr(vf->vf_mac_addr)) { in bnxt_vf_validate_set_mac() 1101 if (is_valid_ether_addr(bp->vf.mac_addr)) in bnxt_update_vf_mac() 1116 if (is_valid_ether_addr(bp->vf.mac_addr)) in bnxt_approve_mac()
|
/Linux-v4.19/arch/arm/mach-pxa/ |
D | colibri-pxa3xx.c | 55 if (is_valid_ether_addr(ether_mac_addr)) { in colibri_pxa3xx_init_eth()
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/ |
D | eeprom.c | 93 if (!is_valid_ether_addr(dev->macaddr)) { in mt76_eeprom_override()
|
D | mt76x2u_mac.c | 228 if (!is_valid_ether_addr(dev->mt76.macaddr)) { in mt76x2u_mac_setaddr()
|
/Linux-v4.19/drivers/staging/most/net/ |
D | net.c | 197 if (is_valid_ether_addr(dev->dev_addr)) in most_nd_open() 543 if (m && is_valid_ether_addr(m)) { in on_netinfo() 544 if (!is_valid_ether_addr(dev->dev_addr)) { in on_netinfo()
|
/Linux-v4.19/net/ethernet/ |
D | eth.c | 275 if (!is_valid_ether_addr(addr->sa_data)) in eth_prepare_mac_addr_change() 334 if (!is_valid_ether_addr(dev->dev_addr)) in eth_validate_addr()
|
/Linux-v4.19/arch/mips/alchemy/common/ |
D | platform.c | 409 if (!i && !is_valid_ether_addr(au1xxx_eth0_platform_data.mac)) in alchemy_setup_macs() 430 if (!i && !is_valid_ether_addr(au1xxx_eth1_platform_data.mac)) in alchemy_setup_macs()
|
/Linux-v4.19/drivers/net/bonding/ |
D | bond_alb.c | 418 if (is_valid_ether_addr(rx_hash_table[index].mac_dst)) { in rlb_clear_slave() 447 if (!client_info->slave || !is_valid_ether_addr(client_info->mac_dst)) in rlb_update_client() 521 is_valid_ether_addr(client_info->mac_dst)) { in rlb_req_update_slave_clients() 562 is_valid_ether_addr(client_info->mac_dst)) { in rlb_req_update_subnet_clients() 638 if (is_valid_ether_addr(client_info->mac_dst)) { in rlb_choose_channel() 1764 if (!is_valid_ether_addr(ss->__data)) in bond_alb_set_mac_address()
|
/Linux-v4.19/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_hw.c | 75 if (is_valid_ether_addr(hw->perm_mac_addr)) in atl1e_get_permanent_address() 102 if (is_valid_ether_addr(eth_addr)) { in atl1e_get_permanent_address()
|
/Linux-v4.19/drivers/net/ |
D | dummy.c | 182 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in dummy_validate()
|
/Linux-v4.19/arch/xtensa/platforms/iss/ |
D | network.c | 147 if (!is_valid_ether_addr(addr)) { in setup_etheraddr() 472 if (!is_valid_ether_addr(hwaddr->sa_data)) in iss_net_set_mac()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-nvm-parse.c | 702 if (is_valid_ether_addr(data->hw_addr)) in iwl_set_hw_address_from_csr() 739 if (is_valid_ether_addr(data->hw_addr) && in iwl_set_hw_address_family_8000() 784 if (!is_valid_ether_addr(data->hw_addr)) { in iwl_set_hw_address() 1347 if (!is_valid_ether_addr(nvm->hw_addr)) { in iwl_get_nvm()
|
/Linux-v4.19/net/batman-adv/ |
D | routing.c | 209 if (!is_valid_ether_addr(ethhdr->h_source)) in batadv_check_management_packet() 384 if (!is_valid_ether_addr(ethhdr->h_dest)) in batadv_recv_icmp_packet() 482 if (!is_valid_ether_addr(ethhdr->h_dest)) in batadv_check_unicast_packet()
|
/Linux-v4.19/drivers/net/ethernet/atheros/atlx/ |
D | atlx.c | 82 if (!is_valid_ether_addr(addr->sa_data)) in atlx_set_mac()
|
/Linux-v4.19/drivers/net/usb/ |
D | dm9601.c | 328 if (!is_valid_ether_addr(addr->sa_data)) { in dm9601_set_mac_address() 393 if (is_valid_ether_addr(mac)) in dm9601_bind()
|
/Linux-v4.19/Documentation/networking/ |
D | driver.txt | 83 linux/etherdevice.h:is_valid_ether_addr()
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | pno.c | 383 if (!err && is_valid_ether_addr(ms->bssid)) in brcmf_pno_config_networks() 582 if (is_valid_ether_addr(ms->bssid) && in brcmf_pno_get_bucket_map()
|
/Linux-v4.19/drivers/net/ethernet/wiznet/ |
D | w5300.c | 489 if (!is_valid_ether_addr(sock_addr->sa_data)) in w5300_set_macaddr() 552 if (data && is_valid_ether_addr(data->mac_addr)) { in w5300_hw_probe()
|
/Linux-v4.19/drivers/net/ethernet/moxa/ |
D | moxart_ether.c | 65 if (!is_valid_ether_addr(address->sa_data)) in moxart_set_mac_address() 173 if (!is_valid_ether_addr(ndev->dev_addr)) in moxart_mac_open()
|
/Linux-v4.19/drivers/net/ethernet/huawei/hinic/ |
D | hinic_main.c | 546 if (!is_valid_ether_addr(addr)) in change_mac_addr() 603 if (!is_valid_ether_addr(addr)) in add_mac_addr() 638 if (!is_valid_ether_addr(addr)) in remove_mac_addr()
|