/openbmc/linux/include/linux/ |
H A D | etherdevice.h | 459 static inline u64 ether_addr_to_u64(const u8 *addr) in ether_addr_to_u64() function 492 u64 u = ether_addr_to_u64(addr); in eth_addr_dec() 504 u64 u = ether_addr_to_u64(addr); in eth_addr_inc() 518 u64 u = ether_addr_to_u64(addr); in eth_addr_add() 602 u64 u = ether_addr_to_u64(base_addr); in eth_hw_addr_gen()
|
/openbmc/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()
|
H A D | ctrl.c | 193 set_64bit_val(wqe, 16, ether_addr_to_u64(info->mac_addr)); in irdma_sc_add_arp_cache_entry() 314 set_64bit_val(wqe, 0, ether_addr_to_u64(info->mac_addr)); in irdma_sc_manage_qhash_table_entry() 719 set_64bit_val(qp_ctx, 152, ether_addr_to_u64(roce_info->mac_addr) << 16); in irdma_sc_qp_setctx_roce() 806 set_64bit_val(wqe, 32, ether_addr_to_u64(info->mac_addr)); in irdma_sc_add_local_mac_entry() 938 mac = ether_addr_to_u64(iw->mac_addr); in irdma_sc_qp_setctx()
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/ |
H A D | bcmasp.c | 866 addr1 = ether_addr_to_u64(priv->mda_filters[i].addr); in bcmasp_combine_set_filter() 867 mask1 = ether_addr_to_u64(priv->mda_filters[i].mask); in bcmasp_combine_set_filter() 868 addr2 = ether_addr_to_u64(addr); in bcmasp_combine_set_filter() 869 mask2 = ether_addr_to_u64(mask); in bcmasp_combine_set_filter()
|
/openbmc/linux/drivers/s390/net/ |
H A D | qeth_l2_main.c | 125 ether_addr_to_u64(mac), CARD_DEVID(card)); in qeth_l2_write_mac() 128 ether_addr_to_u64(mac), CARD_DEVID(card), rc); in qeth_l2_write_mac() 142 ether_addr_to_u64(mac), CARD_DEVID(card), rc); in qeth_l2_remove_mac() 656 "mc%012llx", ether_addr_to_u64(ntfy_mac)); in qeth_l2_dev2br_fdb_notify() 662 "mc%012llx", ether_addr_to_u64(ntfy_mac)); in qeth_l2_dev2br_fdb_notify() 762 QETH_CARD_TEXT_(card, 4, "ma%012llx", ether_addr_to_u64(addr)); in qeth_l2_br2dev_worker()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc_fs.c | 878 u64 dmac_mask = ether_addr_to_u64(mask->dmac); in npc_update_flow() 879 u64 smac_mask = ether_addr_to_u64(mask->smac); in npc_update_flow() 880 u64 dmac_val = ether_addr_to_u64(pkt->dmac); in npc_update_flow() 881 u64 smac_val = ether_addr_to_u64(pkt->smac); in npc_update_flow() 1499 ether_addr_to_u64(pfvf->mac_addr), 0, in npc_update_dmac_value()
|
H A D | cgx.c | 244 cfg = ether_addr_to_u64(mac_addr); in cgx_lmac_addr_set() 311 cfg = ether_addr_to_u64(mac_addr); in cgx_lmac_addr_add() 394 cfg |= ether_addr_to_u64(mac_addr); in cgx_lmac_addr_update()
|
H A D | rvu_npc_hash.c | 403 u64 ldata = ether_addr_to_u64(mac); in rvu_exact_prepare_mdata() 591 u64 ldata = ether_addr_to_u64(mac_addr); in rvu_exact_prepare_table_entry()
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_netdev.c | 648 u64 mac = ether_addr_to_u64(priv->dev->dev_addr); in mlx4_en_get_qp() 687 u64 mac = ether_addr_to_u64(priv->dev->dev_addr); in mlx4_en_put_qp() 705 u64 new_mac_u64 = ether_addr_to_u64(new_mac); in mlx4_en_replace_mac() 712 u64 prev_mac_u64 = ether_addr_to_u64(prev_mac); in mlx4_en_replace_mac() 1080 mcast_addr = ether_addr_to_u64(mclist->addr); in mlx4_en_do_multicast() 1173 mac = ether_addr_to_u64(entry->mac); in mlx4_en_do_uc_filter() 1216 mac = ether_addr_to_u64(ha->addr); in mlx4_en_do_uc_filter() 1352 mac = ether_addr_to_u64(entry->mac); in mlx4_en_delete_rss_steer_rules()
|
/openbmc/linux/drivers/net/dsa/sja1105/ |
H A D | sja1105_main.c | 1537 if (l2_lookup.macaddr == ether_addr_to_u64(addr) && in sja1105et_is_fdb_entry_in_bin() 1576 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105et_fdb_add() 1619 if (tmp.macaddr != ether_addr_to_u64(addr) || tmp.vlanid != vid) in sja1105et_fdb_add() 1676 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_add() 1767 l2_lookup.macaddr = ether_addr_to_u64(addr); in sja1105pqrs_fdb_del() 2677 mgmt_route.macaddr = ether_addr_to_u64(hdr->h_dest); in sja1105_mgmt_xmit()
|
H A D | sja1105_flower.c | 248 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()
|
/openbmc/linux/drivers/net/dsa/b53/ |
H A D | b53_priv.h | 300 *mac_vid = ether_addr_to_u64(ent->mac); in b53_arl_from_entry()
|
H A D | b53_common.c | 1668 mac = ether_addr_to_u64(addr); in b53_arl_op()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 589 mac_address = ether_addr_to_u64(netdev->dev_addr); in ibmveth_open() 1491 mcast_addr = ether_addr_to_u64(ha->addr); in ibmveth_set_multicast_list() 1621 mac_address = ether_addr_to_u64(addr->sa_data); in ibmveth_set_mac_addr()
|
/openbmc/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() 1231 mac_param.u.mac = FUN_ADI_MAC_INIT(ether_addr_to_u64(mac)); in fun_set_vf_mac()
|
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | main.c | 973 old_mac_addr = ether_addr_to_u64(priv->curr_addr); in mwifiex_set_mac_address() 976 mac_addr = ether_addr_to_u64(new_mac); in mwifiex_set_mac_address()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | cn10k_macsec.c | 329 mac_da = ether_addr_to_u64(secy->netdev->dev_addr); in cn10k_mcs_write_rx_flowid() 596 mac_sa = ether_addr_to_u64(secy->netdev->dev_addr); in cn10k_mcs_write_tx_flowid()
|
/openbmc/linux/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc_pf.c | 82 u64 fold = __swab64(ether_addr_to_u64(addr)) >> 16; in enetc_mac_addr_hash_idx()
|
/openbmc/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 | 2065 ether_addr_to_u64(ha->addr); in nicvf_set_rx_mode()
|
/openbmc/linux/drivers/net/ethernet/neterion/ |
H A D | s2io.c | 5097 mac_addr = ether_addr_to_u64(addr); in do_s2io_add_mc() 5230 mac_addr = ether_addr_to_u64(addr); in do_s2io_prog_unicast() 5231 perm_addr = ether_addr_to_u64(sp->def_mac_addr[0].mac_addr); in do_s2io_prog_unicast()
|