Home
last modified time | relevance | path

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

/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_sdp.c40 !(pcifunc & RVU_PFVF_FUNC_MASK)); in is_sdp_pf()
46 if (!(pcifunc & ~RVU_PFVF_FUNC_MASK)) in is_sdp_vf()
50 !!(pcifunc & RVU_PFVF_FUNC_MASK)); in is_sdp_vf()
A Drvu_npc.c401 (owner & RVU_PFVF_FUNC_MASK) || in npc_fixup_vf_rule()
402 !(target_func & RVU_PFVF_FUNC_MASK)) in npc_fixup_vf_rule()
682 pcifunc & ~RVU_PFVF_FUNC_MASK, in rvu_npc_install_promisc_entry()
756 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK; in rvu_npc_enable_promisc_entry()
788 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK; in rvu_npc_install_bcast_match_entry()
848 vf_func = pcifunc & RVU_PFVF_FUNC_MASK; in rvu_npc_install_allmulti_entry()
849 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK; in rvu_npc_install_allmulti_entry()
924 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK; in rvu_npc_enable_allmulti_entry()
938 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in npc_update_vf_flow_entry()
2519 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in npc_mcam_alloc_entries()
[all …]
A Drvu.h50 #define RVU_PFVF_FUNC_MASK 0x3FF macro
59 ((func & RVU_PFVF_FUNC_MASK) << in rvu_make_pcifunc()
64 ((func & RVU_PFVF_FUNC_MASK) << in rvu_make_pcifunc()
855 return (!(pcifunc & ~RVU_PFVF_FUNC_MASK) && in is_lbk_vf()
861 return !!(pcifunc & RVU_PFVF_FUNC_MASK); in is_vf()
951 return ((pcifunc & RVU_PFVF_FUNC_MASK) && in is_cgx_vf()
A Drvu_cgx.c459 if ((pcifunc & RVU_PFVF_FUNC_MASK) || in is_cgx_config_permitted()
1031 pcifunc & RVU_PFVF_FUNC_MASK)) { in rvu_cgx_cfg_pause_frm()
1112 if (!((block->fn_map[lf] & ~RVU_PFVF_FUNC_MASK) == (pcifunc & in rvu_cgx_nix_cuml_stats()
1113 ~RVU_PFVF_FUNC_MASK))) in rvu_cgx_nix_cuml_stats()
1156 err = rvu_cgx_config_rxtx(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK, in rvu_cgx_start_stop_io()
1302 pcifunc & RVU_PFVF_FUNC_MASK)) { in rvu_cgx_prio_flow_ctrl_cfg()
A Drvu.c292 if (pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_get_blkaddr()
357 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()
1487 pf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK); in rvu_get_nix_blkaddr()
2007 vf = pcifunc & RVU_PFVF_FUNC_MASK; in rvu_mbox_handler_vf_flr()
2253 ~(RVU_PFVF_FUNC_MASK << RVU_PFVF_FUNC_SHIFT); in __rvu_mbox_handler()
2264 if (msg->pcifunc & RVU_PFVF_FUNC_MASK) in __rvu_mbox_handler()
[all …]
A Drvu_cn10k.c70 (pcifunc & RVU_PFVF_FUNC_MASK)) * LMT_MAPTBL_ENTRY_SIZE; in rvu_get_lmtst_tbl_index()
88 ((pcifunc & RVU_PFVF_FUNC_MASK) & 0xFF); in rvu_get_lmtaddr()
A Drvu_nix.c369 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in nix_interface_init()
419 from_vf = !!(pcifunc & RVU_PFVF_FUNC_MASK); in nix_interface_init()
429 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in nix_interface_init()
1803 pcifunc & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_nix_mark_format_cfg()
2171 idx = pcifunc & RVU_PFVF_FUNC_MASK; in nix_txsch_alloc()
2389 ~RVU_PFVF_FUNC_MASK))) in nix_smq_flush_enadis_xoff()
2564 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) { in nix_txschq_free()
2882 pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_mbox_handler_nix_txschq_cfg()
3196 pcifunc & RVU_PFVF_FUNC_MASK); in nix_blk_setup_mce()
3517 pcifunc & ~RVU_PFVF_FUNC_MASK))) { in nix_get_mce_list()
[all …]
A Drvu_cpt.c415 if (pcifunc & RVU_PFVF_FUNC_MASK) in is_cpt_pf()
427 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in is_cpt_vf()
734 } else if (!(req->hdr.pcifunc & RVU_PFVF_FUNC_MASK)) { in validate_and_update_reg_offset()
A Dmcs_rvu_if.c97 if (pcifunc & RVU_PFVF_FUNC_MASK) in mcs_add_intr_wq_entry()
193 if (pcifunc & RVU_PFVF_FUNC_MASK) in rvu_mbox_handler_mcs_intr_cfg()
A Drvu_debugfs.c2689 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in rvu_dbg_nix_band_prof_ctx_display()
2695 (pcifunc & RVU_PFVF_FUNC_MASK) - 1); in rvu_dbg_nix_band_prof_ctx_display()
3143 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in rvu_print_npc_mcam_info()
3149 (pcifunc & RVU_PFVF_FUNC_MASK) - 1); in rvu_print_npc_mcam_info()
3491 if (iter->owner & RVU_PFVF_FUNC_MASK) { in rvu_dbg_npc_mcam_show_rules()
3492 vf = (iter->owner & RVU_PFVF_FUNC_MASK) - 1; in rvu_dbg_npc_mcam_show_rules()
3509 if (target & RVU_PFVF_FUNC_MASK) { in rvu_dbg_npc_mcam_show_rules()
3510 vf = (target & RVU_PFVF_FUNC_MASK) - 1; in rvu_dbg_npc_mcam_show_rules()
A Drvu_rep.c463 ((vf + 1) & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_get_rep_cnt()
A Drvu_npc_fs.c1400 bool from_vf = !!(req->hdr.pcifunc & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_npc_install_flow()
1460 target = (req->hdr.pcifunc & ~RVU_PFVF_FUNC_MASK) | req->vf; in rvu_mbox_handler_npc_install_flow()
/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_vf.c260 RVU_PFVF_FUNC_MASK) - 1)); in otx2vf_register_mbox_intr()
712 n = (vf->pcifunc >> RVU_PFVF_FUNC_SHIFT) & RVU_PFVF_FUNC_MASK; in otx2vf_probe()
721 n = vf->pcifunc & RVU_PFVF_FUNC_MASK; in otx2vf_probe()
A Drep.c245 if (!(rep->pcifunc & RVU_PFVF_FUNC_MASK)) { in rvu_rep_devlink_port_register()
251 attrs.pci_vf.vf = rep->pcifunc & RVU_PFVF_FUNC_MASK; in rvu_rep_devlink_port_register()
676 (pcifunc & RVU_PFVF_FUNC_MASK)); in rvu_rep_create()
A Dotx2_pf.c131 req->hdr.pcifunc &= RVU_PFVF_FUNC_MASK; in otx2_flr_handler()
132 req->hdr.pcifunc |= (vf + 1) & RVU_PFVF_FUNC_MASK; in otx2_flr_handler()
481 msg->pcifunc &= ~RVU_PFVF_FUNC_MASK; in otx2_pfvf_mbox_handler()
482 msg->pcifunc |= (vf_idx + 1) & RVU_PFVF_FUNC_MASK; in otx2_pfvf_mbox_handler()
793 devid = msg->pcifunc & RVU_PFVF_FUNC_MASK; in otx2_process_pfaf_mbox_msg()
1027 devid = msg->pcifunc & RVU_PFVF_FUNC_MASK; in otx2_pfaf_mbox_up_handler()
2111 if (pf->linfo.link_up && !(pf->pcifunc & RVU_PFVF_FUNC_MASK)) in otx2_open()
A Dotx2_tc.c476 req->vf = priv->pcifunc & RVU_PFVF_FUNC_MASK; in otx2_tc_parse_actions()
479 req->vf = rdev->pcifunc & RVU_PFVF_FUNC_MASK; in otx2_tc_parse_actions()
A Dotx2_common.h928 return !!(pcifunc & RVU_PFVF_FUNC_MASK); in is_otx2_vf()
/drivers/crypto/marvell/octeontx2/
A Dotx2_cptvf_mbox.c95 & RVU_PFVF_FUNC_MASK) - 1; in process_pfvf_mbox_mbox_msg()
A Dotx2_cptpf_main.c157 req->pcifunc &= RVU_PFVF_FUNC_MASK; in cptpf_flr_wq_handler()
158 req->pcifunc |= (vf + 1) & RVU_PFVF_FUNC_MASK; in cptpf_flr_wq_handler()
A Dotx2_cptpf_mbox.c580 RVU_PFVF_FUNC_MASK; in otx2_cptpf_afpf_mbox_handler()

Completed in 69 milliseconds