Home
last modified time | relevance | path

Searched refs:rvu_get_pf (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_cgx.c417 !is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))) in is_cgx_config_permitted()
444 int pf = rvu_get_pf(pcifunc); in rvu_cgx_config_rxtx()
459 int pf = rvu_get_pf(pcifunc); in rvu_cgx_disable_dmac_entries()
499 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_lmac_get_stats()
556 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_fec_stats()
572 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_set()
589 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_add()
610 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_del()
625 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_max_entries_get()
646 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_get()
[all …]
Drvu_sdp.c22 u16 pf = rvu_get_pf(pcifunc); in is_sdp_pfvf()
Drvu_nix.c278 if (rvu_get_pf(map_func) != rvu_get_pf(pcifunc)) in is_valid_txschq()
303 pf = rvu_get_pf(pcifunc); in nix_interface_init()
388 parent_pf = &rvu->pf[rvu_get_pf(pcifunc)]; in nix_interface_init()
483 pf = rvu_get_pf(pcifunc); in rvu_mbox_handler_nix_bp_disable()
585 pf = rvu_get_pf(pcifunc); in rvu_mbox_handler_nix_bp_enable()
1512 rvu_get_pf(pcifunc), pcifunc & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_nix_mark_format_cfg()
1728 int pf = rvu_get_pf(pcifunc); in nix_get_tx_link()
1746 int pf = rvu_get_pf(pcifunc); in nix_get_txschq_range()
1987 int pf = rvu_get_pf(pcifunc); in nix_smq_flush()
2321 u8 pf = rvu_get_pf(pcifunc); in rvu_nix_tx_tl2_cfg()
[all …]
Drvu_cn10k.c55 return ((rvu_get_pf(pcifunc) * rvu->hw->total_vfs) + in rvu_get_lmtst_tbl_index()
71 pf = rvu_get_pf(pcifunc) & 0x1F; in rvu_get_lmtaddr()
Drvu_cpt.c66 if (rvu_get_pf(pcifunc) != cpt_pf_num) in is_cpt_pf()
78 if (rvu_get_pf(pcifunc) != cpt_pf_num) in is_cpt_vf()
Drvu.c292 devnum = rvu_get_pf(pcifunc); in rvu_get_blkaddr()
357 devnum = rvu_get_pf(pcifunc); in rvu_update_rsrc_map()
398 inline int rvu_get_pf(u16 pcifunc) in rvu_get_pf() function
420 pf = rvu_get_pf(pcifunc); in rvu_get_hwvf()
435 return &rvu->pf[rvu_get_pf(pcifunc)]; in rvu_get_pfvf()
443 pf = rvu_get_pf(pcifunc); in is_pf_func_valid()
1394 if (is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))) { in rvu_get_nix_blkaddr()
1913 RVU_PRIV_PFX_CFG(rvu_get_pf(pcifunc))); in rvu_mbox_handler_vf_flr()
2086 msg->id, rvu_get_pf(msg->pcifunc), in __rvu_mbox_handler()
Drvu.h649 int rvu_get_pf(u16 pcifunc);
695 is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))); in is_cgx_vf()
Drvu_debugfs.c1829 rvu_get_pf(pcifunc)); in rvu_dbg_nix_band_prof_ctx_display()
1832 rvu_get_pf(pcifunc), in rvu_dbg_nix_band_prof_ctx_display()
2204 rvu_get_pf(pcifunc)); in rvu_print_npc_mcam_info()
2207 rvu_get_pf(pcifunc), in rvu_print_npc_mcam_info()
Drvu_npc.c171 int pf = rvu_get_pf(pcifunc); in npc_get_nixlf_mcam_index()
687 is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))) { in rvu_npc_install_promisc_entry()
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c196 snprintf(irq_name, NAME_SIZE, "RVUPF%d_ME0", rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr()
206 snprintf(irq_name, NAME_SIZE, "RVUPF%d_FLR0", rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr()
218 rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr()
228 rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr()
694 "RVUPF%d_VF Mbox0", rvu_get_pf(pf->pcifunc)); in otx2_register_pfvf_mbox_intr()
710 "RVUPF%d_VF Mbox1", rvu_get_pf(pf->pcifunc)); in otx2_register_pfvf_mbox_intr()
1582 rvu_get_pf(pf->pcifunc)); in otx2_open()
1603 rvu_get_pf(pf->pcifunc), qidx); in otx2_open()
Dotx2_tc.c337 if (rvu_get_pf(nic->pcifunc) != rvu_get_pf(priv->pcifunc)) { in otx2_tc_parse_actions()
Dotx2_common.h725 static inline int rvu_get_pf(u16 pcifunc) in rvu_get_pf() function