Home
last modified time | relevance | path

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

/Linux-v6.1/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()
469 int pf = rvu_get_pf(pcifunc); in rvu_cgx_disable_dmac_entries()
514 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_lmac_get_stats()
571 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_fec_stats()
587 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_set()
607 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_add()
631 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_del()
649 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_max_entries_get()
675 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_npc_hash.c1428 int pf = rvu_get_pf(pcifunc); in rvu_npc_exact_promisc_disable()
1479 int pf = rvu_get_pf(pcifunc); in rvu_npc_exact_promisc_enable()
1531 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_npc_exact_mac_addr_reset()
1564 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_npc_exact_mac_addr_update()
1646 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_npc_exact_mac_addr_add()
1682 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_npc_exact_mac_addr_del()
1707 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_npc_exact_mac_addr_set()
Drvu_nix.c280 if (rvu_get_pf(map_func) != rvu_get_pf(pcifunc)) in is_valid_txschq()
304 pf = rvu_get_pf(pcifunc); in nix_interface_init()
382 parent_pf = &rvu->pf[rvu_get_pf(pcifunc)]; in nix_interface_init()
477 pf = rvu_get_pf(pcifunc); in rvu_mbox_handler_nix_bp_disable()
579 pf = rvu_get_pf(pcifunc); in rvu_mbox_handler_nix_bp_enable()
1581 rvu_get_pf(pcifunc), pcifunc & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_nix_mark_format_cfg()
1797 int pf = rvu_get_pf(pcifunc); in nix_get_tx_link()
1815 int pf = rvu_get_pf(pcifunc); in nix_get_txschq_range()
2056 int pf = rvu_get_pf(pcifunc); in nix_smq_flush()
2390 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()
Dmcs_rvu_if.c63 pfvf = &mcs->pf[rvu_get_pf(pcifunc)]; in mcs_add_intr_wq_entry()
89 pf = rvu_get_pf(event->pcifunc); in mcs_notify_pfvf()
152 pfvf = &mcs->pf[rvu_get_pf(pcifunc)]; in rvu_mbox_handler_mcs_intr_cfg()
Drvu.c297 devnum = rvu_get_pf(pcifunc); in rvu_get_blkaddr()
362 devnum = rvu_get_pf(pcifunc); in rvu_update_rsrc_map()
403 inline int rvu_get_pf(u16 pcifunc) in rvu_get_pf() function
425 pf = rvu_get_pf(pcifunc); in rvu_get_hwvf()
440 return &rvu->pf[rvu_get_pf(pcifunc)]; in rvu_get_pfvf()
448 pf = rvu_get_pf(pcifunc); in is_pf_func_valid()
1474 if (is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))) { in rvu_get_nix_blkaddr()
1993 RVU_PRIV_PFX_CFG(rvu_get_pf(pcifunc))); in rvu_mbox_handler_vf_flr()
2167 msg->id, rvu_get_pf(msg->pcifunc), in __rvu_mbox_handler()
Drvu.h683 int rvu_get_pf(u16 pcifunc);
731 is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))); in is_cgx_vf()
Drvu_cpt.c295 if (rvu_get_pf(pcifunc) != cpt_pf_num) in is_cpt_pf()
307 if (rvu_get_pf(pcifunc) != cpt_pf_num) in is_cpt_vf()
Drvu_debugfs.c2272 rvu_get_pf(pcifunc)); in rvu_dbg_nix_band_prof_ctx_display()
2275 rvu_get_pf(pcifunc), in rvu_dbg_nix_band_prof_ctx_display()
2648 rvu_get_pf(pcifunc)); in rvu_print_npc_mcam_info()
2651 rvu_get_pf(pcifunc), in rvu_print_npc_mcam_info()
Drvu_npc.c172 int pf = rvu_get_pf(pcifunc); in npc_get_nixlf_mcam_index()
694 is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))) { in rvu_npc_install_promisc_entry()
3263 int pf = rvu_get_pf(pcifunc); in rvu_npc_set_parse_mode()
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_pf.c205 snprintf(irq_name, NAME_SIZE, "RVUPF%d_ME0", rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr()
215 snprintf(irq_name, NAME_SIZE, "RVUPF%d_FLR0", rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr()
227 rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr()
237 rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr()
708 "RVUPF%d_VF Mbox0", rvu_get_pf(pf->pcifunc)); in otx2_register_pfvf_mbox_intr()
724 "RVUPF%d_VF Mbox1", rvu_get_pf(pf->pcifunc)); in otx2_register_pfvf_mbox_intr()
1777 rvu_get_pf(pf->pcifunc)); in otx2_open()
1798 rvu_get_pf(pf->pcifunc), qidx); in otx2_open()
Dotx2_tc.c410 if (rvu_get_pf(nic->pcifunc) != rvu_get_pf(priv->pcifunc)) { in otx2_tc_parse_actions()
Dotx2_common.h857 static inline int rvu_get_pf(u16 pcifunc) in rvu_get_pf() function