Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_cgx.c376 if ((pcifunc & RVU_PFVF_FUNC_MASK) || in is_cgx_config_permitted()
544 if ((pcifunc & RVU_PFVF_FUNC_MASK) || in rvu_cgx_ptp_rx_cfg()
710 if (!((block->fn_map[lf] & ~RVU_PFVF_FUNC_MASK) == (pcifunc & in rvu_cgx_nix_cuml_stats()
711 ~RVU_PFVF_FUNC_MASK))) in rvu_cgx_nix_cuml_stats()
754 err = rvu_cgx_config_rxtx(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK, in rvu_cgx_start_stop_io()
Drvu.c263 if (pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_get_blkaddr()
309 if (pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_update_rsrc_map()
376 func = pcifunc & RVU_PFVF_FUNC_MASK; in rvu_get_hwvf()
387 if (pcifunc & RVU_PFVF_FUNC_MASK) in rvu_get_pfvf()
402 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in is_pf_func_valid()
406 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in is_pf_func_valid()
1219 pf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK); in rvu_get_nix_blkaddr()
1586 vf = pcifunc & RVU_PFVF_FUNC_MASK; in rvu_mbox_handler_vf_flr()
1705 ~(RVU_PFVF_FUNC_MASK << RVU_PFVF_FUNC_SHIFT); in __rvu_mbox_handler()
1716 if (msg->pcifunc & RVU_PFVF_FUNC_MASK) in __rvu_mbox_handler()
[all …]
Drvu_npc.c104 if (pf && !(pcifunc & RVU_PFVF_FUNC_MASK)) { in npc_get_nixlf_mcam_index()
439 if ((pcifunc & RVU_PFVF_FUNC_MASK) && !is_afvf(pcifunc)) in rvu_npc_install_promisc_entry()
490 if (pcifunc & RVU_PFVF_FUNC_MASK) in npc_enadis_promisc_entry()
529 if (!hw->cap.nix_rx_multicast && pcifunc & RVU_PFVF_FUNC_MASK) in rvu_npc_install_bcast_match_entry()
533 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK; in rvu_npc_install_bcast_match_entry()
576 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK; in rvu_npc_enable_bcast_entry()
662 if (pcifunc & RVU_PFVF_FUNC_MASK && !rvu->hw->cap.nix_rx_multicast) in npc_enadis_default_entries()
670 index = npc_get_nixlf_mcam_index(mcam, pcifunc & ~RVU_PFVF_FUNC_MASK, in npc_enadis_default_entries()
678 !(pcifunc & RVU_PFVF_FUNC_MASK)) { in npc_enadis_default_entries()
Drvu.h36 #define RVU_PFVF_FUNC_MASK 0x3FF macro
411 return !(pcifunc & ~RVU_PFVF_FUNC_MASK); in is_afvf()
Drvu_nix.c217 if ((pcifunc & RVU_PFVF_FUNC_MASK) == 0) in nix_interface_init()
222 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in nix_interface_init()
1246 rvu_get_pf(pcifunc), pcifunc & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_nix_mark_format_cfg()
1378 schq = start + (pcifunc & RVU_PFVF_FUNC_MASK); in nix_check_txschq_alloc_req()
1432 idx = pcifunc & RVU_PFVF_FUNC_MASK; in nix_txsch_alloc()
1865 pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_mbox_handler_nix_txschq_cfg()
1992 rvu_get_pf(pcifunc), pcifunc & RVU_PFVF_FUNC_MASK); in nix_setup_mce()
2062 pfvf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK); in nix_update_bcast_mce_list()
2063 idx = pfvf->bcast_mce_idx + (pcifunc & RVU_PFVF_FUNC_MASK); in nix_update_bcast_mce_list()
Drvu_debugfs.c1633 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in rvu_print_npc_mcam_info()
1639 (pcifunc & RVU_PFVF_FUNC_MASK) - 1); in rvu_print_npc_mcam_info()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c118 req->hdr.pcifunc &= RVU_PFVF_FUNC_MASK; in otx2_flr_handler()
119 req->hdr.pcifunc |= (vf + 1) & RVU_PFVF_FUNC_MASK; in otx2_flr_handler()
478 msg->pcifunc &= RVU_PFVF_FUNC_MASK; in otx2_pfvf_mbox_handler()
479 msg->pcifunc |= (vf_idx + 1) & RVU_PFVF_FUNC_MASK; in otx2_pfvf_mbox_handler()
745 devid = msg->pcifunc & RVU_PFVF_FUNC_MASK; in otx2_process_pfaf_mbox_msg()
927 devid = msg->pcifunc & RVU_PFVF_FUNC_MASK; in otx2_pfaf_mbox_up_handler()
1402 if (!(pf->pcifunc & RVU_PFVF_FUNC_MASK)) in otx2_free_hw_resources()
1585 if (pf->linfo.link_up && !(pf->pcifunc & RVU_PFVF_FUNC_MASK)) in otx2_open()
Dotx2_common.h549 #define RVU_PFVF_FUNC_MASK 0x3FF macro
Dotx2_vf.c577 n = (vf->pcifunc >> RVU_PFVF_FUNC_SHIFT) & RVU_PFVF_FUNC_MASK; in otx2vf_probe()