Searched refs:rvu_get_pf (Results 1 – 14 of 14) sorted by relevance
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_cgx.c | 458 !is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))) in is_cgx_config_permitted() 485 int pf = rvu_get_pf(pcifunc); in rvu_cgx_config_rxtx() 502 int pf = rvu_get_pf(pcifunc); in rvu_cgx_tx_enable() 527 int pf = rvu_get_pf(pcifunc); in rvu_cgx_disable_dmac_entries() 578 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_lmac_get_stats() 634 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_stats_rst() 664 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_fec_stats() 682 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_set() 702 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_add() 726 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_del() [all …]
|
H A D | rvu_sdp.c | 22 u16 pf = rvu_get_pf(pcifunc); in is_sdp_pfvf()
|
H A D | rvu_npc_hash.c | 1468 int pf = rvu_get_pf(pcifunc); in rvu_npc_exact_promisc_disable() 1515 int pf = rvu_get_pf(pcifunc); in rvu_npc_exact_promisc_enable() 1563 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_npc_exact_mac_addr_reset() 1596 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_npc_exact_mac_addr_update() 1678 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_npc_exact_mac_addr_add() 1714 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_npc_exact_mac_addr_del() 1739 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_npc_exact_mac_addr_set()
|
H A D | rvu_cn10k.c | 55 return ((rvu_get_pf(pcifunc) * rvu->hw->total_vfs) + in rvu_get_lmtst_tbl_index() 72 pf = rvu_get_pf(pcifunc) & 0x1F; in rvu_get_lmtaddr()
|
H A D | rvu_nix.c | 293 if (rvu_get_pf(map_func) != rvu_get_pf(pcifunc)) in is_valid_txschq() 317 pf = rvu_get_pf(pcifunc); in nix_interface_init() 395 parent_pf = &rvu->pf[rvu_get_pf(pcifunc)]; in nix_interface_init() 490 pf = rvu_get_pf(pcifunc); in rvu_mbox_handler_nix_bp_disable() 592 pf = rvu_get_pf(pcifunc); in rvu_mbox_handler_nix_bp_enable() 1625 rvu_get_pf(pcifunc), pcifunc & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_nix_mark_format_cfg() 1877 int pf = rvu_get_pf(pcifunc); in nix_get_tx_link() 1895 int pf = rvu_get_pf(pcifunc); in nix_get_txschq_range() 2252 int pf = rvu_get_pf(pcifunc); in nix_smq_flush() 2648 u8 pf = rvu_get_pf(pcifunc); in rvu_nix_tx_tl2_cfg() [all …]
|
H A D | mcs_rvu_if.c | 100 pfvf = &mcs->pf[rvu_get_pf(pcifunc)]; in mcs_add_intr_wq_entry() 126 pf = rvu_get_pf(event->pcifunc); in mcs_notify_pfvf() 194 pfvf = &mcs->pf[rvu_get_pf(pcifunc)]; in rvu_mbox_handler_mcs_intr_cfg()
|
H A D | rvu.c | 297 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() 1483 if (is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))) { in rvu_get_nix_blkaddr() 2002 RVU_PRIV_PFX_CFG(rvu_get_pf(pcifunc))); in rvu_mbox_handler_vf_flr() 2176 msg->id, rvu_get_pf(msg->pcifunc), in __rvu_mbox_handler()
|
H A D | rvu.h | 748 int rvu_get_pf(u16 pcifunc); 796 is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))); in is_cgx_vf()
|
H A D | rvu_cpt.c | 353 if (rvu_get_pf(pcifunc) != cpt_pf_num) in is_cpt_pf() 365 if (rvu_get_pf(pcifunc) != cpt_pf_num) in is_cpt_vf()
|
H A D | rvu_debugfs.c | 2275 rvu_get_pf(pcifunc)); in rvu_dbg_nix_band_prof_ctx_display() 2278 rvu_get_pf(pcifunc), in rvu_dbg_nix_band_prof_ctx_display() 2651 rvu_get_pf(pcifunc)); in rvu_print_npc_mcam_info() 2654 rvu_get_pf(pcifunc), in rvu_print_npc_mcam_info()
|
H A D | rvu_npc.c | 172 int pf = rvu_get_pf(pcifunc); in npc_get_nixlf_mcam_index() 713 is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))) { in rvu_npc_install_promisc_entry() 3338 int pf = rvu_get_pf(pcifunc); in rvu_npc_set_parse_mode()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_pf.c | 207 snprintf(irq_name, NAME_SIZE, "RVUPF%d_ME0", rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr() 217 snprintf(irq_name, NAME_SIZE, "RVUPF%d_FLR0", rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr() 229 rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr() 239 rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr() 699 "RVUPF%d_VF Mbox0", rvu_get_pf(pf->pcifunc)); in otx2_register_pfvf_mbox_intr() 715 "RVUPF%d_VF Mbox1", rvu_get_pf(pf->pcifunc)); in otx2_register_pfvf_mbox_intr() 1882 rvu_get_pf(pf->pcifunc)); in otx2_open() 1903 rvu_get_pf(pf->pcifunc), qidx); in otx2_open()
|
H A D | otx2_tc.c | 390 if (rvu_get_pf(nic->pcifunc) != rvu_get_pf(priv->pcifunc)) { in otx2_tc_parse_actions()
|
H A D | otx2_common.h | 886 static inline int rvu_get_pf(u16 pcifunc) in rvu_get_pf() function
|