/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_cgx.c | 432 !is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))) in is_cgx_config_permitted() 459 int pf = rvu_get_pf(pcifunc); in rvu_cgx_config_rxtx() 476 int pf = rvu_get_pf(pcifunc); in rvu_cgx_tx_enable() 501 int pf = rvu_get_pf(pcifunc); in rvu_cgx_disable_dmac_entries() 552 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_lmac_get_stats() 609 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_fec_stats() 627 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_set() 647 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_add() 671 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_del() 689 int pf = rvu_get_pf(re in rvu_mbox_handler_cgx_mac_max_entries_get() [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 | 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() 1482 if (is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))) { in rvu_get_nix_blkaddr() 2001 RVU_PRIV_PFX_CFG(rvu_get_pf(pcifunc))); in rvu_mbox_handler_vf_flr() 2175 msg->id, rvu_get_pf(msg->pcifunc), in __rvu_mbox_handler()
|
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() 2251 int pf = rvu_get_pf(pcifun in nix_smq_flush() [all...] |
H A D | rvu.h | 749 int rvu_get_pf(u16 pcifunc); 797 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 | 2277 rvu_get_pf(pcifunc)); in rvu_dbg_nix_band_prof_ctx_display() 2280 rvu_get_pf(pcifunc), in rvu_dbg_nix_band_prof_ctx_display() 2653 rvu_get_pf(pcifunc)); in rvu_print_npc_mcam_info() 2656 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() 3327 int pf = rvu_get_pf(pcifunc); in rvu_npc_set_parse_mode()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_cgx.c | 377 !is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))) in is_cgx_config_permitted() 402 int pf = rvu_get_pf(pcifunc); in rvu_cgx_config_rxtx() 432 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_stats() 469 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_set() 486 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_get() 508 int pf = rvu_get_pf(pcifunc); in rvu_mbox_handler_cgx_promisc_enable() 523 int pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_promisc_disable() 537 int pf = rvu_get_pf(pcifunc); in rvu_cgx_ptp_rx_cfg() 576 int pf = rvu_get_pf(pcifunc); in rvu_cgx_config_linkevents() 615 pf = rvu_get_pf(re in rvu_mbox_handler_cgx_get_linkinfo() [all...] |
H A D | rvu.c | 268 devnum = rvu_get_pf(pcifunc); in rvu_get_blkaddr() 314 devnum = rvu_get_pf(pcifunc); in rvu_update_rsrc_map() 355 inline int rvu_get_pf(u16 pcifunc) in rvu_get_pf() function 375 pf = rvu_get_pf(pcifunc); in rvu_get_hwvf() 390 return &rvu->pf[rvu_get_pf(pcifunc)]; in rvu_get_pfvf() 398 pf = rvu_get_pf(pcifunc); in is_pf_func_valid() 1218 if (is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))) { in rvu_get_nix_blkaddr() 1588 RVU_PRIV_PFX_CFG(rvu_get_pf(pcifunc))); in rvu_mbox_handler_vf_flr() 1719 msg->id, rvu_get_pf(msg->pcifunc), in __rvu_mbox_handler()
|
H A D | rvu_nix.c | 175 if (rvu_get_pf(map_func) != rvu_get_pf(pcifunc)) in is_valid_txschq() 194 pf = rvu_get_pf(pcifunc); in nix_interface_init() 303 pf = rvu_get_pf(pcifunc); in rvu_mbox_handler_nix_bp_disable() 390 pf = rvu_get_pf(pcifunc); in rvu_mbox_handler_nix_bp_enable() 1246 rvu_get_pf(pcifunc), pcifunc & RVU_PFVF_FUNC_MASK); in rvu_mbox_handler_nix_mark_format_cfg() 1318 int pf = rvu_get_pf(pcifunc); in nix_get_tx_link() 1336 int pf = rvu_get_pf(pcifunc); in nix_get_txschq_range() 1579 int pf = rvu_get_pf(pcifunc); in nix_smq_flush() 1993 rvu_get_pf(pcifun in nix_setup_mce() [all...] |
H A D | rvu.h | 438 int rvu_get_pf(u16 pcifunc);
|
H A D | rvu_debugfs.c | 1635 rvu_get_pf(pcifunc)); in rvu_print_npc_mcam_info() 1638 rvu_get_pf(pcifunc), in rvu_print_npc_mcam_info()
|
H A D | rvu_npc.c | 100 int pf = rvu_get_pf(pcifunc); in npc_get_nixlf_mcam_index()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_pf.c | 196 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() 1539 rvu_get_pf(pf->pcifunc)); in otx2_open() 1560 rvu_get_pf(pf->pcifunc), qidx); in otx2_open()
|
H A D | otx2_common.h | 551 static inline int rvu_get_pf(u16 pcifunc) in rvu_get_pf() function
|
/kernel/linux/linux-6.6/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() 1865 rvu_get_pf(pf->pcifunc)); in otx2_open() 1886 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
|