Searched refs:RVU_PFVF_FUNC_MASK (Results 1 – 13 of 13) sorted by relevance
40 !(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()
50 #define RVU_PFVF_FUNC_MASK 0x3FF macro59 ((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()
459 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()
70 (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()
415 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()
97 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()
471 ((vf + 1) & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_get_rep_cnt()
1741 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()
245 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()
131 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()
457 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()
580 RVU_PFVF_FUNC_MASK; in otx2_cptpf_afpf_mbox_handler()
1526 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) { in rvu_mbox_handler_npc_cn20k_read_base_steer_rule()