Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H 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()
H 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()
888 return (!(pcifunc & ~RVU_PFVF_FUNC_MASK) && in is_lbk_vf()
894 return !!(pcifunc & RVU_PFVF_FUNC_MASK); in is_vf()
985 return ((pcifunc & RVU_PFVF_FUNC_MASK) && in is_cgx_vf()
H 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()
1305 pcifunc & RVU_PFVF_FUNC_MASK)) { in rvu_cgx_prio_flow_ctrl_cfg()
1374 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in rvu_cgx_is_pkind_config_permitted()
H A Drvu_npc.c204 if (pf && !(pcifunc & RVU_PFVF_FUNC_MASK)) { in npc_get_nixlf_mcam_index()
489 (owner & RVU_PFVF_FUNC_MASK) || in npc_fixup_vf_rule()
490 !(target_func & RVU_PFVF_FUNC_MASK)) in npc_fixup_vf_rule()
810 pcifunc & ~RVU_PFVF_FUNC_MASK, in rvu_npc_install_promisc_entry()
853 pfvf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK); in rvu_npc_install_promisc_entry()
902 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK; in rvu_npc_enable_promisc_entry()
942 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK; in rvu_npc_install_bcast_match_entry()
1011 vf_func = pcifunc & RVU_PFVF_FUNC_MASK; in rvu_npc_install_allmulti_entry()
1012 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK; in rvu_npc_install_allmulti_entry()
1094 pcifunc = pcifunc & ~RVU_PFVF_FUNC_MASK; in rvu_npc_enable_allmulti_entry()
[all …]
H A Drvu.c293 if (pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_get_blkaddr()
358 if (pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_update_rsrc_map()
422 func = pcifunc & RVU_PFVF_FUNC_MASK; in rvu_get_hwvf()
433 if (pcifunc & RVU_PFVF_FUNC_MASK) in rvu_get_pfvf()
448 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in is_pf_func_valid()
452 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in is_pf_func_valid()
1521 pf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK); in rvu_get_nix_blkaddr()
2093 vf = pcifunc & RVU_PFVF_FUNC_MASK; in rvu_mbox_handler_vf_flr()
2138 if ((pcifunc & RVU_PFVF_FUNC_MASK) || is_lbk_vf(rvu, pcifunc)) in rvu_mbox_handler_set_vf_perm()
2141 target = (pcifunc & ~RVU_PFVF_FUNC_MASK) | (req->vf + 1); in rvu_mbox_handler_set_vf_perm()
[all …]
H 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()
H A Drvu_nix.c378 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in nix_interface_init()
428 from_vf = !!(pcifunc & RVU_PFVF_FUNC_MASK); in nix_interface_init()
438 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in nix_interface_init()
1863 pcifunc & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_nix_mark_format_cfg()
2176 schq = start + (pcifunc & RVU_PFVF_FUNC_MASK); in nix_check_txschq_alloc_req()
2231 idx = pcifunc & RVU_PFVF_FUNC_MASK; in nix_txsch_alloc()
2447 if ((TXSCH_MAP_FUNC(txsch->pfvf_map[tl2]) & ~RVU_PFVF_FUNC_MASK) != in nix_smq_flush_enadis_xoff()
2449 ~RVU_PFVF_FUNC_MASK)) in nix_smq_flush_enadis_xoff()
2623 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) { in nix_txschq_free()
2941 pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_mbox_handler_nix_txschq_cfg()
[all …]
H 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()
H 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()
H A Drvu_debugfs.c2718 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in rvu_dbg_nix_band_prof_ctx_display()
2724 (pcifunc & RVU_PFVF_FUNC_MASK) - 1); in rvu_dbg_nix_band_prof_ctx_display()
3179 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in rvu_print_npc_mcam_info()
3185 (pcifunc & RVU_PFVF_FUNC_MASK) - 1); in rvu_print_npc_mcam_info()
3547 if (iter->owner & RVU_PFVF_FUNC_MASK) { in rvu_dbg_npc_mcam_show_rules()
3548 vf = (iter->owner & RVU_PFVF_FUNC_MASK) - 1; in rvu_dbg_npc_mcam_show_rules()
3565 if (target & RVU_PFVF_FUNC_MASK) { in rvu_dbg_npc_mcam_show_rules()
3566 vf = (target & RVU_PFVF_FUNC_MASK) - 1; in rvu_dbg_npc_mcam_show_rules()
H A Drvu_rep.c471 ((vf + 1) & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_get_rep_cnt()
H A Drvu_npc_fs.c1741 bool from_vf = !!(req->hdr.pcifunc & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_npc_install_flow()
1825 target = (req->hdr.pcifunc & ~RVU_PFVF_FUNC_MASK) | req->vf; in rvu_mbox_handler_npc_install_flow()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_vf.c268 RVU_PFVF_FUNC_MASK) - 1)); in otx2vf_register_mbox_intr()
721 n = (vf->pcifunc >> RVU_PFVF_FUNC_SHIFT) & RVU_PFVF_FUNC_MASK; in otx2vf_probe()
730 n = vf->pcifunc & RVU_PFVF_FUNC_MASK; in otx2vf_probe()
H 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()
688 (pcifunc & RVU_PFVF_FUNC_MASK)); in rvu_rep_create()
H 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()
2105 if (pf->linfo.link_up && !(pf->pcifunc & RVU_PFVF_FUNC_MASK)) in otx2_open()
H A Dotx2_tc.c457 req->vf = priv->pcifunc & RVU_PFVF_FUNC_MASK; in otx2_tc_parse_actions()
460 req->vf = rdev->pcifunc & RVU_PFVF_FUNC_MASK; in otx2_tc_parse_actions()
/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf_mbox.c580 RVU_PFVF_FUNC_MASK; in otx2_cptpf_afpf_mbox_handler()
/linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
H A Dnpc.c1526 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) { in rvu_mbox_handler_npc_cn20k_read_base_steer_rule()