Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_cgx.c361 if ((pcifunc & RVU_PFVF_FUNC_MASK) || in is_cgx_config_permitted()
529 if ((pcifunc & RVU_PFVF_FUNC_MASK) || in rvu_cgx_ptp_rx_cfg()
695 if (!((block->fn_map[lf] & ~RVU_PFVF_FUNC_MASK) == (pcifunc & in rvu_cgx_nix_cuml_stats()
696 ~RVU_PFVF_FUNC_MASK))) in rvu_cgx_nix_cuml_stats()
739 err = rvu_cgx_config_rxtx(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK, in rvu_cgx_start_stop_io()
H A 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()
H A Drvu.c263 if (pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_get_blkaddr()
309 if (pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_update_rsrc_map()
371 func = pcifunc & RVU_PFVF_FUNC_MASK; in rvu_get_hwvf()
382 if (pcifunc & RVU_PFVF_FUNC_MASK) in rvu_get_pfvf()
397 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in is_pf_func_valid()
401 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in is_pf_func_valid()
1502 vf = pcifunc & RVU_PFVF_FUNC_MASK; in rvu_mbox_handler_vf_flr()
1621 ~(RVU_PFVF_FUNC_MASK << RVU_PFVF_FUNC_SHIFT); in __rvu_mbox_handler()
1632 if (msg->pcifunc & RVU_PFVF_FUNC_MASK) in __rvu_mbox_handler()
1636 (msg->pcifunc & RVU_PFVF_FUNC_MASK) - 1); in __rvu_mbox_handler()
H A Drvu.h36 #define RVU_PFVF_FUNC_MASK 0x3FF macro
408 return !(pcifunc & ~RVU_PFVF_FUNC_MASK); in is_afvf()
H A 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()
1235 rvu_get_pf(pcifunc), pcifunc & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_nix_mark_format_cfg()
1367 schq = start + (pcifunc & RVU_PFVF_FUNC_MASK); in nix_check_txschq_alloc_req()
1421 idx = pcifunc & RVU_PFVF_FUNC_MASK; in nix_txsch_alloc()
1854 pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_mbox_handler_nix_txschq_cfg()
1981 rvu_get_pf(pcifunc), pcifunc & RVU_PFVF_FUNC_MASK); in nix_setup_mce()
2051 pfvf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK); in nix_update_bcast_mce_list()
2052 idx = pfvf->bcast_mce_idx + (pcifunc & RVU_PFVF_FUNC_MASK); in nix_update_bcast_mce_list()
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/
H A 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()
H A Dotx2_common.h549 #define RVU_PFVF_FUNC_MASK 0x3FF macro
H A Dotx2_vf.c577 n = (vf->pcifunc >> RVU_PFVF_FUNC_SHIFT) & RVU_PFVF_FUNC_MASK; in otx2vf_probe()