Home
last modified time | relevance | path

Searched refs:RVU_PFVF_FUNC_MASK (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_cgx.c345 if ((pcifunc & RVU_PFVF_FUNC_MASK) || !is_pf_cgxmapped(rvu, pf)) in rvu_cgx_config_rxtx()
378 if ((req->hdr.pcifunc & RVU_PFVF_FUNC_MASK) || in rvu_mbox_handler_cgx_stats()
449 if ((req->hdr.pcifunc & RVU_PFVF_FUNC_MASK) || in rvu_mbox_handler_cgx_promisc_enable()
469 if ((req->hdr.pcifunc & RVU_PFVF_FUNC_MASK) || in rvu_mbox_handler_cgx_promisc_disable()
487 if ((pcifunc & RVU_PFVF_FUNC_MASK) || !is_pf_cgxmapped(rvu, pf)) in rvu_cgx_config_linkevents()
543 if ((pcifunc & RVU_PFVF_FUNC_MASK) || !is_pf_cgxmapped(rvu, pf)) in rvu_cgx_config_intlbk()
Drvu.c229 if (pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_get_blkaddr()
275 if (pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_update_rsrc_map()
337 func = pcifunc & RVU_PFVF_FUNC_MASK; in rvu_get_hwvf()
348 if (pcifunc & RVU_PFVF_FUNC_MASK) in rvu_get_pfvf()
363 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in is_pf_func_valid()
367 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in is_pf_func_valid()
1353 vf = pcifunc & RVU_PFVF_FUNC_MASK; in rvu_mbox_handler_vf_flr()
1460 ~(RVU_PFVF_FUNC_MASK << RVU_PFVF_FUNC_SHIFT); in __rvu_mbox_handler()
1471 if (msg->pcifunc & RVU_PFVF_FUNC_MASK) in __rvu_mbox_handler()
1475 (msg->pcifunc & RVU_PFVF_FUNC_MASK) - 1); in __rvu_mbox_handler()
Drvu.h36 #define RVU_PFVF_FUNC_MASK 0x3FF macro
301 return !(pcifunc & ~RVU_PFVF_FUNC_MASK); in is_afvf()
Drvu_npc.c71 if (pf && !(pcifunc & RVU_PFVF_FUNC_MASK)) { in npc_get_nixlf_mcam_index()
377 if ((pcifunc & RVU_PFVF_FUNC_MASK) && !is_afvf(pcifunc)) in rvu_npc_install_promisc_entry()
428 if (pcifunc & RVU_PFVF_FUNC_MASK) in npc_enadis_promisc_entry()
462 if (pcifunc & RVU_PFVF_FUNC_MASK) in rvu_npc_install_bcast_match_entry()
465 pfvf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK); in rvu_npc_install_bcast_match_entry()
590 if (pcifunc & RVU_PFVF_FUNC_MASK) in npc_enadis_default_entries()
Drvu_nix.c200 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in nix_interface_init()
998 rvu_get_pf(pcifunc), pcifunc & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_nix_mark_format_cfg()
1525 if (pcifunc & RVU_PFVF_FUNC_MASK && in rvu_mbox_handler_nix_txschq_cfg()
1646 rvu_get_pf(pcifunc), pcifunc & RVU_PFVF_FUNC_MASK); in nix_setup_mce()
1717 pfvf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK); in nix_update_bcast_mce_list()
1718 idx = pfvf->bcast_mce_idx + (pcifunc & RVU_PFVF_FUNC_MASK); in nix_update_bcast_mce_list()