Searched refs:RVU_PFVF_FUNC_MASK (Results 1 – 15 of 15) 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()
457 if ((pcifunc & RVU_PFVF_FUNC_MASK) || in is_cgx_config_permitted()1034 pcifunc & RVU_PFVF_FUNC_MASK)) { in rvu_cgx_cfg_pause_frm()1115 if (!((block->fn_map[lf] & ~RVU_PFVF_FUNC_MASK) == (pcifunc & in rvu_cgx_nix_cuml_stats()1116 ~RVU_PFVF_FUNC_MASK))) in rvu_cgx_nix_cuml_stats()1159 err = rvu_cgx_config_rxtx(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK, in rvu_cgx_start_stop_io()1298 pcifunc & RVU_PFVF_FUNC_MASK)) { in rvu_cgx_prio_flow_ctrl_cfg()
292 if (pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_get_blkaddr()357 if (pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_update_rsrc_map()426 func = pcifunc & RVU_PFVF_FUNC_MASK; in rvu_get_hwvf()437 if (pcifunc & RVU_PFVF_FUNC_MASK) in rvu_get_pfvf()452 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) in is_pf_func_valid()456 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in is_pf_func_valid()1485 pf = rvu_get_pfvf(rvu, pcifunc & ~RVU_PFVF_FUNC_MASK); in rvu_get_nix_blkaddr()2005 vf = pcifunc & RVU_PFVF_FUNC_MASK; in rvu_mbox_handler_vf_flr()2047 if ((pcifunc & RVU_PFVF_FUNC_MASK) || is_lbk_vf(rvu, pcifunc)) in rvu_mbox_handler_set_vf_perm()2050 target = (pcifunc & ~RVU_PFVF_FUNC_MASK) | (req->vf + 1); in rvu_mbox_handler_set_vf_perm()[all …]
47 #define RVU_PFVF_FUNC_MASK 0x3FF macro806 return (!(pcifunc & ~RVU_PFVF_FUNC_MASK) && in is_lbk_vf()812 return !!(pcifunc & RVU_PFVF_FUNC_MASK); in is_vf()893 return ((pcifunc & RVU_PFVF_FUNC_MASK) && in is_cgx_vf()
56 (pcifunc & RVU_PFVF_FUNC_MASK)) * LMT_MAPTBL_ENTRY_SIZE; in rvu_get_lmtst_tbl_index()74 ((pcifunc & RVU_PFVF_FUNC_MASK) & 0xFF); in rvu_get_lmtaddr()
144 (((func) & RVU_PFVF_FUNC_MASK) << RVU_PFVF_FUNC_SHIFT))
368 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in nix_interface_init()418 from_vf = !!(pcifunc & RVU_PFVF_FUNC_MASK); in nix_interface_init()428 vf = (pcifunc & RVU_PFVF_FUNC_MASK) - 1; in nix_interface_init()1801 rvu_get_pf(pcifunc), pcifunc & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_nix_mark_format_cfg()2114 schq = start + (pcifunc & RVU_PFVF_FUNC_MASK); in nix_check_txschq_alloc_req()2169 idx = pcifunc & RVU_PFVF_FUNC_MASK; in nix_txsch_alloc()2385 if ((TXSCH_MAP_FUNC(txsch->pfvf_map[tl2]) & ~RVU_PFVF_FUNC_MASK) != in nix_smq_flush_enadis_xoff()2387 ~RVU_PFVF_FUNC_MASK))) in nix_smq_flush_enadis_xoff()2562 if (!(pcifunc & RVU_PFVF_FUNC_MASK)) { in nix_txschq_free()2880 pcifunc & RVU_PFVF_FUNC_MASK) { in rvu_mbox_handler_nix_txschq_cfg()[all …]
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()191 if (pcifunc & RVU_PFVF_FUNC_MASK) in rvu_mbox_handler_mcs_intr_cfg()
1400 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()
23 (((func) & RVU_PFVF_FUNC_MASK) << RVU_PFVF_FUNC_SHIFT))
94 & RVU_PFVF_FUNC_MASK) - 1; in process_pfvf_mbox_mbox_msg()
401 ((vf->vf_id + 1) & RVU_PFVF_FUNC_MASK); in otx2_cptpf_vfpf_mbox_handler()585 RVU_PFVF_FUNC_MASK; in otx2_cptpf_afpf_mbox_handler()
157 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()
243 if (!(rep->pcifunc & RVU_PFVF_FUNC_MASK)) { in rvu_rep_devlink_port_register()249 attrs.pci_vf.vf = rep->pcifunc & RVU_PFVF_FUNC_MASK; in rvu_rep_devlink_port_register()673 rvu_get_pf(pcifunc), (pcifunc & RVU_PFVF_FUNC_MASK)); in rvu_rep_create()