| /linux/include/linux/ |
| H A D | etherdevice.h | 464 static inline u64 ether_addr_to_u64(const u8 *addr) in ether_addr_to_u64() function 497 u64 u = ether_addr_to_u64(addr); in eth_addr_dec() 509 u64 u = ether_addr_to_u64(addr); in eth_addr_inc() 523 u64 u = ether_addr_to_u64(addr); in eth_addr_add() 607 u64 u = ether_addr_to_u64(base_addr); in eth_hw_addr_gen()
|
| /linux/drivers/net/ethernet/hisilicon/hibmcge/ |
| H A D | hbg_err.c | 20 addr = ether_addr_to_u64(filter->mac_table[i].addr); in hbg_restore_mac_table() 30 u64 rx_pause_addr = ether_addr_to_u64(priv->filter.mac_table[0].addr); in hbg_restore_user_def_settings()
|
| /linux/drivers/infiniband/hw/irdma/ |
| H A D | uda.c | 30 set_64bit_val(wqe, 0, ether_addr_to_u64(info->mac_addr) << 16); in irdma_sc_access_ah() 138 set_64bit_val(wqe, 0, ether_addr_to_u64(info->dest_mac_addr)); in irdma_access_mcast_grp()
|
| /linux/net/dsa/ |
| H A D | tag_sja1105.c | 81 u64 dmac = ether_addr_to_u64(hdr->h_dest); in sja1105_is_link_local() 127 u64 smac = ether_addr_to_u64(hdr->h_source); in sja1105_is_meta_frame() 128 u64 dmac = ether_addr_to_u64(hdr->h_dest); in sja1105_is_meta_frame()
|
| /linux/drivers/net/ethernet/broadcom/asp2/ |
| H A D | bcmasp.c | 884 addr1 = ether_addr_to_u64(priv->mda_filters[i].addr); in bcmasp_combine_set_filter() 885 mask1 = ether_addr_to_u64(priv->mda_filters[i].mask); in bcmasp_combine_set_filter() 886 addr2 = ether_addr_to_u64(addr); in bcmasp_combine_set_filter() 887 mask2 = ether_addr_to_u64(mask); in bcmasp_combine_set_filter()
|
| /linux/drivers/s390/net/ |
| H A D | qeth_l2_main.c | 126 ether_addr_to_u64(mac), CARD_DEVID(card)); in qeth_l2_write_mac() 129 ether_addr_to_u64(mac), CARD_DEVID(card), rc); in qeth_l2_write_mac() 143 ether_addr_to_u64(mac), CARD_DEVID(card), rc); in qeth_l2_remove_mac() 657 "mc%012llx", ether_addr_to_u64(ntfy_mac)); in qeth_l2_dev2br_fdb_notify() 663 "mc%012llx", ether_addr_to_u64(ntfy_mac)); in qeth_l2_dev2br_fdb_notify() 763 QETH_CARD_TEXT_(card, 4, "ma%012llx", ether_addr_to_u64(addr)); in qeth_l2_br2dev_worker()
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_main.c | 1515 if (l2_lookup.macaddr == ether_addr_to_u64(addr) && in sja1105et_is_fdb_entry_in_bin() 1554 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105et_fdb_add() 1597 if (tmp.macaddr != ether_addr_to_u64(addr) || tmp.vlanid != vid) in sja1105et_fdb_add() 1654 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_add() 1745 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_del() 2614 mgmt_route.macaddr = ether_addr_to_u64(hdr->h_dest); in sja1105_mgmt_xmit()
|
| H A D | sja1105_flower.c | 251 dmac = ether_addr_to_u64(match.key->dst); in sja1105_flower_parse_key()
|
| H A D | sja1105_dynamic_config.c | 1404 input = ((u64)vid << 48) | ether_addr_to_u64(addr); in sja1105et_fdb_hash()
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_netdev.c | 650 u64 mac = ether_addr_to_u64(priv->dev->dev_addr); in mlx4_en_get_qp() 689 u64 mac = ether_addr_to_u64(priv->dev->dev_addr); in mlx4_en_put_qp() 707 u64 new_mac_u64 = ether_addr_to_u64(new_mac); in mlx4_en_replace_mac() 714 u64 prev_mac_u64 = ether_addr_to_u64(prev_mac); in mlx4_en_replace_mac() 1083 mcast_addr = ether_addr_to_u64(mclist->addr); in mlx4_en_do_multicast() 1176 mac = ether_addr_to_u64(entry->mac); in mlx4_en_do_uc_filter() 1219 mac = ether_addr_to_u64(ha->addr); in mlx4_en_do_uc_filter() 1355 mac = ether_addr_to_u64(entry->mac); in mlx4_en_delete_rss_steer_rules()
|
| H A D | fw.c | 3108 dev->caps.def_mac[i] = ether_addr_to_u64(mac_addr); in mlx4_replace_zero_macs()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_npc_fs.c | 1075 u64 dmac_mask = ether_addr_to_u64(mask->dmac); in npc_update_flow() 1076 u64 smac_mask = ether_addr_to_u64(mask->smac); in npc_update_flow() 1077 u64 dmac_val = ether_addr_to_u64(pkt->dmac); in npc_update_flow() 1078 u64 smac_val = ether_addr_to_u64(pkt->smac); in npc_update_flow() 2002 ether_addr_to_u64(pfvf->mac_addr), 0, in npc_update_dmac_value()
|
| /linux/net/bridge/ |
| H A D | br_mrp.c | 952 ether_addr_to_u64(hdr->sa) < ether_addr_to_u64(br->dev->dev_addr))) in br_mrp_test_better_than_own()
|
| /linux/drivers/net/ethernet/mellanox/mlxbf_gige/ |
| H A D | mlxbf_gige_main.c | 85 local_mac = ether_addr_to_u64(priv->netdev->dev_addr); in mlxbf_gige_initial_mac()
|
| /linux/drivers/net/ethernet/fungible/funeth/ |
| H A D | funeth_main.c | 947 ether_addr_to_u64(saddr->sa_data)); in fun_set_macaddr() 1013 ether_addr_to_u64(netdev->dev_addr)); in fun_get_port_attributes() 1218 mac_param.u.mac = FUN_ADI_MAC_INIT(ether_addr_to_u64(mac)); in fun_set_vf_mac()
|
| /linux/drivers/net/ethernet/ibm/ |
| H A D | ibmveth.c | 677 mac_address = ether_addr_to_u64(netdev->dev_addr); in ibmveth_open() 1617 mcast_addr = ether_addr_to_u64(ha->addr); in ibmveth_set_multicast_list() 1747 mac_address = ether_addr_to_u64(addr->sa_data); in ibmveth_set_mac_addr()
|
| /linux/drivers/net/wireless/marvell/mwifiex/ |
| H A D | main.c | 955 old_mac_addr = ether_addr_to_u64(priv->curr_addr); in mwifiex_set_mac_address() 958 mac_addr = ether_addr_to_u64(new_mac); in mwifiex_set_mac_address()
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | lib.sh | 1077 ether_addr_to_u64() 2285 local tmp=$(ether_addr_to_u64 $mac_addr) 949 ether_addr_to_u64() global() function
|
| /linux/drivers/net/ethernet/cavium/thunder/ |
| H A D | thunder_bgx.c | 343 cam_dmac = ether_addr_to_u64(lmac->mac); in bgx_set_dmac_cam_filter()
|
| H A D | nicvf_main.c | 2063 ether_addr_to_u64(ha->addr); in nicvf_set_rx_mode()
|
| /linux/drivers/net/dsa/b53/ |
| H A D | b53_common.c | 1964 mac = ether_addr_to_u64(addr); in b53_arl_op()
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc.c | 50 u64 fold = __swab64(ether_addr_to_u64(addr)) >> 16; in enetc_mac_addr_hash_idx()
|