Home
last modified time | relevance | path

Searched refs:ether_addr_to_u64 (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/include/linux/
H A Detherdevice.h459 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 Duda.c30 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 Dctrl.c193 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 Dtag_sja1105.c81 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 Dbcmasp.c866 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 Dqeth_l2_main.c125 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 Drvu_npc_fs.c878 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 Dcgx.c244 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 Drvu_npc_hash.c403 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 Den_netdev.c648 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 Dsja1105_main.c1537 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 Dsja1105_flower.c248 dmac = ether_addr_to_u64(match.key->dst); in sja1105_flower_parse_key()
H A Dsja1105_dynamic_config.c1404 input = ((u64)vid << 48) | ether_addr_to_u64(addr); in sja1105et_fdb_hash()
/openbmc/linux/drivers/net/dsa/b53/
H A Db53_priv.h300 *mac_vid = ether_addr_to_u64(ent->mac); in b53_arl_from_entry()
H A Db53_common.c1668 mac = ether_addr_to_u64(addr); in b53_arl_op()
/openbmc/linux/net/bridge/
H A Dbr_mrp.c952 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 Dmlxbf_gige_main.c85 local_mac = ether_addr_to_u64(priv->netdev->dev_addr); in mlxbf_gige_initial_mac()
/openbmc/linux/drivers/net/ethernet/ibm/
H A Dibmveth.c589 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 Dfuneth_main.c947 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 Dmain.c973 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 Dcn10k_macsec.c329 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 Denetc_pf.c82 u64 fold = __swab64(ether_addr_to_u64(addr)) >> 16; in enetc_mac_addr_hash_idx()
/openbmc/linux/drivers/net/ethernet/cavium/thunder/
H A Dthunder_bgx.c343 cam_dmac = ether_addr_to_u64(lmac->mac); in bgx_set_dmac_cam_filter()
H A Dnicvf_main.c2065 ether_addr_to_u64(ha->addr); in nicvf_set_rx_mode()
/openbmc/linux/drivers/net/ethernet/neterion/
H A Ds2io.c5097 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()

12