Home
last modified time | relevance | path

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

12

/linux-6.6.21/include/linux/
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()
/linux-6.6.21/drivers/infiniband/hw/irdma/
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()
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()
/linux-6.6.21/net/dsa/
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()
/linux-6.6.21/drivers/net/ethernet/broadcom/asp2/
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()
/linux-6.6.21/drivers/s390/net/
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()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
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()
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()
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()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
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()
/linux-6.6.21/drivers/net/dsa/sja1105/
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()
Dsja1105_flower.c248 dmac = ether_addr_to_u64(match.key->dst); in sja1105_flower_parse_key()
Dsja1105_dynamic_config.c1404 input = ((u64)vid << 48) | ether_addr_to_u64(addr); in sja1105et_fdb_hash()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxbf_gige/
Dmlxbf_gige_main.c84 local_mac = ether_addr_to_u64(priv->netdev->dev_addr); in mlxbf_gige_initial_mac()
/linux-6.6.21/drivers/net/dsa/b53/
Db53_priv.h300 *mac_vid = ether_addr_to_u64(ent->mac); in b53_arl_from_entry()
Db53_common.c1664 mac = ether_addr_to_u64(addr); in b53_arl_op()
/linux-6.6.21/net/bridge/
Dbr_mrp.c952 ether_addr_to_u64(hdr->sa) < ether_addr_to_u64(br->dev->dev_addr))) in br_mrp_test_better_than_own()
/linux-6.6.21/drivers/net/ethernet/ibm/
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()
/linux-6.6.21/drivers/net/ethernet/fungible/funeth/
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()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
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()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/
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()
/linux-6.6.21/drivers/net/ethernet/freescale/enetc/
Denetc_pf.c82 u64 fold = __swab64(ether_addr_to_u64(addr)) >> 16; in enetc_mac_addr_hash_idx()
/linux-6.6.21/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.c343 cam_dmac = ether_addr_to_u64(lmac->mac); in bgx_set_dmac_cam_filter()
Dnicvf_main.c2065 ether_addr_to_u64(ha->addr); in nicvf_set_rx_mode()
/linux-6.6.21/drivers/net/ethernet/neterion/
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