Home
last modified time | relevance | path

Searched refs:is_valid_ether_addr (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/
Denic_dev.c54 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()
/kernel/linux/linux-5.10/net/ethernet/
Deth.c297 if (!is_valid_ether_addr(addr->sa_data)) in eth_prepare_mac_addr_change()
340 if (!is_valid_ether_addr(dev->dev_addr)) in eth_validate_addr()
550 if (len != ETH_ALEN || !is_valid_ether_addr(mac)) { in nvmem_get_mac_address()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_vf.c24 if (is_valid_ether_addr(perm_addr)) { in fm10k_stop_hw_vf()
283 if (!is_valid_ether_addr(mac)) in fm10k_update_uc_addr_vf()
287 if (is_valid_ether_addr(hw->mac.perm_addr) && in fm10k_update_uc_addr_vf()
Dfm10k_iov.c97 if (is_valid_ether_addr(vf_info->mac) && in fm10k_iov_msg_queue_mac_vlan()
578 if (!is_zero_ether_addr(mac) && !is_valid_ether_addr(mac)) in fm10k_ndo_set_vf_mac()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_sriov.c184 if (is_valid_ether_addr(vf->mac_addr)) in bnxt_get_vf_config()
477 if (is_valid_ether_addr(vf->mac_addr)) { in __bnxt_set_vf_params()
975 if (is_valid_ether_addr(req->dflt_mac_addr) && in bnxt_vf_configure_mac()
976 (trust || !is_valid_ether_addr(vf->mac_addr) || in bnxt_vf_configure_mac()
993 if (!is_valid_ether_addr((const u8 *)req->l2_addr)) in bnxt_vf_validate_set_mac()
1003 } else if (is_valid_ether_addr(vf->mac_addr)) { in bnxt_vf_validate_set_mac()
1006 } else if (is_valid_ether_addr(vf->vf_mac_addr)) { in bnxt_vf_validate_set_mac()
1145 if (is_valid_ether_addr(bp->vf.mac_addr)) in bnxt_update_vf_mac()
1160 if (is_valid_ether_addr(bp->vf.mac_addr)) in bnxt_approve_mac()
/kernel/linux/linux-5.10/drivers/of/
Dof_net.c52 if (pp && pp->length == ETH_ALEN && is_valid_ether_addr(pp->value)) in of_get_mac_addr()
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
Dcolibri-pxa3xx.c52 if (is_valid_ether_addr(ether_mac_addr)) { in colibri_pxa3xx_init_eth()
/kernel/linux/linux-5.10/drivers/staging/most/net/
Dnet.c207 if (is_valid_ether_addr(dev->dev_addr)) in most_nd_open()
565 if (m && is_valid_ether_addr(m)) { in on_netinfo()
566 if (!is_valid_ether_addr(dev->dev_addr)) { in on_netinfo()
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
Deeprom.c103 if (!is_valid_ether_addr(dev->macaddr)) { in mt76_eeprom_override()
/kernel/linux/linux-5.10/arch/mips/alchemy/common/
Dplatform.c415 if (!i && !is_valid_ether_addr(au1xxx_eth0_platform_data.mac)) in alchemy_setup_macs()
436 if (!i && !is_valid_ether_addr(au1xxx_eth1_platform_data.mac)) in alchemy_setup_macs()
/kernel/linux/linux-5.10/drivers/net/
Ddummy.c144 if (!is_valid_ether_addr(nla_data(tb[IFLA_ADDRESS]))) in dummy_validate()
/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_alb.c397 if (is_valid_ether_addr(rx_hash_table[index].mac_dst)) { in rlb_clear_slave()
426 if (!client_info->slave || !is_valid_ether_addr(client_info->mac_dst)) in rlb_update_client()
501 is_valid_ether_addr(client_info->mac_dst)) { in rlb_req_update_slave_clients()
542 is_valid_ether_addr(client_info->mac_dst)) { in rlb_req_update_subnet_clients()
619 if (is_valid_ether_addr(client_info->mac_dst)) { in rlb_choose_channel()
1788 if (!is_valid_ether_addr(ss->__data)) in bond_alb_set_mac_address()
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c62 if (is_valid_ether_addr(hw->perm_mac_addr)) in atl1e_get_permanent_address()
89 if (is_valid_ether_addr(eth_addr)) { in atl1e_get_permanent_address()
/kernel/linux/linux-5.10/net/batman-adv/
Drouting.c197 if (!is_valid_ether_addr(ethhdr->h_source)) in batadv_check_management_packet()
372 if (!is_valid_ether_addr(ethhdr->h_dest)) in batadv_recv_icmp_packet()
470 if (!is_valid_ether_addr(ethhdr->h_dest)) in batadv_check_unicast_packet()
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/atlx/
Datlx.c69 if (!is_valid_ether_addr(addr->sa_data)) in atlx_set_mac()
/kernel/linux/linux-5.10/arch/xtensa/platforms/iss/
Dnetwork.c142 if (!is_valid_ether_addr(addr)) { in setup_etheraddr()
467 if (!is_valid_ether_addr(hwaddr->sa_data)) in iss_net_set_mac()
/kernel/linux/linux-5.10/drivers/net/usb/
Ddm9601.c328 if (!is_valid_ether_addr(addr->sa_data)) { in dm9601_set_mac_address()
393 if (is_valid_ether_addr(mac)) in dm9601_bind()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-nvm-parse.c900 if (is_valid_ether_addr(data->hw_addr)) in iwl_set_hw_address_from_csr()
935 if (is_valid_ether_addr(data->hw_addr) && in iwl_set_hw_address_family_8000()
980 if (!is_valid_ether_addr(data->hw_addr)) { in iwl_set_hw_address()
1573 if (!is_valid_ether_addr(nvm->hw_addr)) { in iwl_get_nvm()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_vf.c82 if (!is_valid_ether_addr(saddr->sa_data)) in enetc_vf_set_mac_addr()
/kernel/linux/linux-5.10/Documentation/networking/
Ddriver.rst87 linux/etherdevice.h:is_valid_ether_addr()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dpno.c381 if (!err && is_valid_ether_addr(ms->bssid)) in brcmf_pno_config_networks()
586 if (is_valid_ether_addr(ms->bssid) && in brcmf_pno_get_bucket_map()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/
Dprestera_main.c119 if (!is_valid_ether_addr(addr)) in prestera_is_valid_mac_addr()
479 if (!is_valid_ether_addr(sw->base_mac)) { in prestera_switch_set_base_mac_addr()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dmain.c1353 if (!is_valid_ether_addr(mac)) { in wil_get_bl_info()
1360 if (!is_valid_ether_addr(ndev->dev_addr)) in wil_get_bl_info()
1414 if (is_valid_ether_addr(mac)) { in wil_get_otp_info()
1426 if (!is_valid_ether_addr(mac)) { in wil_get_otp_info()
1433 if (!is_valid_ether_addr(ndev->dev_addr)) in wil_get_otp_info()
/kernel/linux/linux-5.10/drivers/net/ethernet/wiznet/
Dw5300.c473 if (!is_valid_ether_addr(sock_addr->sa_data)) in w5300_set_macaddr()
536 if (data && is_valid_ether_addr(data->mac_addr)) { in w5300_hw_probe()
/kernel/linux/linux-5.10/drivers/net/ethernet/moxa/
Dmoxart_ether.c65 if (!is_valid_ether_addr(address->sa_data)) in moxart_set_mac_address()
170 if (!is_valid_ether_addr(ndev->dev_addr)) in moxart_mac_open()

12345678910>>...12