Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_sdp.c40 !(pcifunc & RVU_PFVF_FUNC_MASK)); in is_sdp_pf()
46 !!(pcifunc & RVU_PFVF_FUNC_MASK)); in is_sdp_vf()
Drvu_npc.c78 ((pf_func & ~RVU_PFVF_FUNC_MASK) != in npc_mcam_verify_pf_func()
79 (pcifunc & ~RVU_PFVF_FUNC_MASK))) in npc_mcam_verify_pf_func()
175 if (pf && !(pcifunc & RVU_PFVF_FUNC_MASK)) { in npc_get_nixlf_mcam_index()
413 (owner & RVU_PFVF_FUNC_MASK) || in npc_fixup_vf_rule()
414 !(target_func & RVU_PFVF_FUNC_MASK)) in npc_fixup_vf_rule()
668 pcifunc & ~RVU_PFVF_FUNC_MASK, in rvu_npc_install_promisc_entry()
690 pfvf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK); in rvu_npc_install_promisc_entry()
740 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK; in rvu_npc_enable_promisc_entry()
772 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK; in rvu_npc_install_bcast_match_entry()
812 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK; in rvu_npc_enable_bcast_entry()
[all …]
Drvu_cpt.c68 if (pcifunc & RVU_PFVF_FUNC_MASK) in is_cpt_pf()
80 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in is_cpt_vf()
232 } else if (!(req->hdr.pcifunc & RVU_PFVF_FUNC_MASK)) { in is_valid_offset()
Drvu_cgx.c416 if ((pcifunc & RVU_PFVF_FUNC_MASK) || in is_cgx_config_permitted()
707 if ((pcifunc & RVU_PFVF_FUNC_MASK) || in rvu_cgx_ptp_rx_cfg()
925 if (!((block->fn_map[lf] & ~RVU_PFVF_FUNC_MASK) == (pcifunc & in rvu_cgx_nix_cuml_stats()
926 ~RVU_PFVF_FUNC_MASK))) in rvu_cgx_nix_cuml_stats()
969 err = rvu_cgx_config_rxtx(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK, in rvu_cgx_start_stop_io()
Drvu.h42 #define RVU_PFVF_FUNC_MASK 0x3FF macro
620 return !(pcifunc & ~RVU_PFVF_FUNC_MASK); in is_afvf()
625 return !!(pcifunc & RVU_PFVF_FUNC_MASK); in is_vf()
694 return ((pcifunc & RVU_PFVF_FUNC_MASK) && in is_cgx_vf()
Drvu.c287 if (pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_get_blkaddr()
352 if (pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_update_rsrc_map()
421 func = pcifunc & RVU_PFVF_FUNC_MASK; in rvu_get_hwvf()
432 if (pcifunc & RVU_PFVF_FUNC_MASK) in rvu_get_pfvf()
447 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in is_pf_func_valid()
451 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in is_pf_func_valid()
1391 pf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK); in rvu_get_nix_blkaddr()
1911 vf = pcifunc & RVU_PFVF_FUNC_MASK; in rvu_mbox_handler_vf_flr()
1945 if ((pcifunc & RVU_PFVF_FUNC_MASK) || is_afvf(pcifunc)) in rvu_mbox_handler_set_vf_perm()
1948 target = (pcifunc & ~RVU_PFVF_FUNC_MASK) | (req->vf + 1); in rvu_mbox_handler_set_vf_perm()
[all …]
Drvu_cn10k.c56 (pcifunc & RVU_PFVF_FUNC_MASK)) * LMT_MAPTBL_ENTRY_SIZE; in rvu_get_lmtst_tbl_index()
73 ((pcifunc & RVU_PFVF_FUNC_MASK) & 0xFF); in rvu_get_lmtaddr()
Drvu_nix.c331 if ((pcifunc & RVU_PFVF_FUNC_MASK) == 0) in nix_interface_init()
337 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in nix_interface_init()
387 from_vf = !!(pcifunc & RVU_PFVF_FUNC_MASK); in nix_interface_init()
397 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in nix_interface_init()
1512 rvu_get_pf(pcifunc), pcifunc & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_nix_mark_format_cfg()
1788 schq = start + (pcifunc & RVU_PFVF_FUNC_MASK); in nix_check_txschq_alloc_req()
1842 idx = pcifunc & RVU_PFVF_FUNC_MASK; in nix_txsch_alloc()
2064 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) { in nix_txschq_free()
2377 pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_mbox_handler_nix_txschq_cfg()
2691 rvu_get_pf(pcifunc), pcifunc & RVU_PFVF_FUNC_MASK); in nix_blk_setup_mce()
[all …]
Drvu_debugfs.c1827 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in rvu_dbg_nix_band_prof_ctx_display()
1833 (pcifunc & RVU_PFVF_FUNC_MASK) - 1); in rvu_dbg_nix_band_prof_ctx_display()
2202 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in rvu_print_npc_mcam_info()
2208 (pcifunc & RVU_PFVF_FUNC_MASK) - 1); in rvu_print_npc_mcam_info()
2462 if (iter->owner & RVU_PFVF_FUNC_MASK) { in rvu_dbg_npc_mcam_show_rules()
2463 vf = (iter->owner & RVU_PFVF_FUNC_MASK) - 1; in rvu_dbg_npc_mcam_show_rules()
2480 if (target & RVU_PFVF_FUNC_MASK) { in rvu_dbg_npc_mcam_show_rules()
2481 vf = (target & RVU_PFVF_FUNC_MASK) - 1; in rvu_dbg_npc_mcam_show_rules()
Drvu_npc_fs.c1155 bool from_vf = !!(req->hdr.pcifunc & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_npc_install_flow()
1185 target = (req->hdr.pcifunc & ~RVU_PFVF_FUNC_MASK) | req->vf; in rvu_mbox_handler_npc_install_flow()
/Linux-v5.15/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf_mbox.c196 ((vf->vf_id + 1) & RVU_PFVF_FUNC_MASK); in otx2_cptpf_vfpf_mbox_handler()
345 RVU_PFVF_FUNC_MASK; in otx2_cptpf_afpf_mbox_handler()
Dotx2_cpt_common.h22 (((func) & RVU_PFVF_FUNC_MASK) << RVU_PFVF_FUNC_SHIFT))
Dotx2_cptvf_mbox.c93 & RVU_PFVF_FUNC_MASK) - 1; in process_pfvf_mbox_mbox_msg()
Dotx2_cptpf_main.c149 req->pcifunc &= RVU_PFVF_FUNC_MASK; in cptpf_flr_wq_handler()
150 req->pcifunc |= (vf + 1) & RVU_PFVF_FUNC_MASK; in cptpf_flr_wq_handler()
/Linux-v5.15/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()
473 msg->pcifunc &= RVU_PFVF_FUNC_MASK; in otx2_pfvf_mbox_handler()
474 msg->pcifunc |= (vf_idx + 1) & RVU_PFVF_FUNC_MASK; in otx2_pfvf_mbox_handler()
748 devid = msg->pcifunc & RVU_PFVF_FUNC_MASK; in otx2_process_pfaf_mbox_msg()
933 devid = msg->pcifunc & RVU_PFVF_FUNC_MASK; in otx2_pfaf_mbox_up_handler()
1443 if (!(pf->pcifunc & RVU_PFVF_FUNC_MASK)) in otx2_free_hw_resources()
1635 if (pf->linfo.link_up && !(pf->pcifunc & RVU_PFVF_FUNC_MASK)) in otx2_open()
Dotx2_common.h718 #define RVU_PFVF_FUNC_MASK 0x3FF macro
722 return !!(pcifunc & RVU_PFVF_FUNC_MASK); in is_otx2_vf()
Dotx2_vf.c672 n = (vf->pcifunc >> RVU_PFVF_FUNC_SHIFT) & RVU_PFVF_FUNC_MASK; in otx2vf_probe()
Dotx2_tc.c342 req->vf = priv->pcifunc & RVU_PFVF_FUNC_MASK; in otx2_tc_parse_actions()