Home
last modified time | relevance | path

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

/linux-6.15/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_cgx.c485 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()
791 int pf = rvu_get_pf(pcifunc); in rvu_mbox_handler_cgx_promisc_enable()
829 int pf = rvu_get_pf(pcifunc); in rvu_cgx_ptp_rx_cfg()
879 int pf = rvu_get_pf(pcifunc); in rvu_cgx_config_linkevents()
918 pf = rvu_get_pf(req->hdr.pcifunc); in rvu_mbox_handler_cgx_get_linkinfo()
976 int pf = rvu_get_pf(pcifunc); in rvu_cgx_config_intlbk()
1006 int pf = rvu_get_pf(pcifunc); in rvu_cgx_cfg_pause_frm()
1273 int pf = rvu_get_pf(pcifunc); in rvu_cgx_prio_flow_ctrl_cfg()
[all …]
H A Drvu_rep.c42 pf = rvu_get_pf(event->pcifunc); in rvu_rep_up_notify()
115 if (!is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))) in rvu_rep_notify_pfvf_state()
118 pf = rvu_get_pf(rvu->rep_pcifunc); in rvu_rep_notify_pfvf_state()
H A Drvu_sdp.c22 u16 pf = rvu_get_pf(pcifunc); in is_sdp_pfvf()
H A Drvu_npc_hash.c1468 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 Drvu_nix.c318 (rvu_get_pf(map_func) != rvu_get_pf(pcifunc))) in is_valid_txschq()
342 pf = rvu_get_pf(pcifunc); in nix_interface_init()
593 pf = rvu_get_pf(pcifunc); in nix_bp_disable()
739 pf = rvu_get_pf(pcifunc); in nix_bp_enable()
2053 int pf = rvu_get_pf(pcifunc); in nix_get_tx_link()
2071 int pf = rvu_get_pf(pcifunc); in nix_get_txschq_range()
2823 u8 pf = rvu_get_pf(pcifunc); in rvu_nix_tx_tl2_cfg()
3553 pf = rvu_get_pf(pcifunc); in nix_update_mce_rule()
5254 pf = rvu_get_pf(pcifunc); in rvu_mbox_handler_nix_lf_start_rx()
5287 pf = rvu_get_pf(pcifunc); in rvu_mbox_handler_nix_lf_stop_rx()
[all …]
H A Dmcs_rvu_if.c100 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 Drvu_cn10k.c69 return ((rvu_get_pf(pcifunc) * LMT_MAX_VFS) + in rvu_get_lmtst_tbl_index()
86 pf = rvu_get_pf(pcifunc) & RVU_PFVF_PF_MASK; in rvu_get_lmtaddr()
H A 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()
1488 if (is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))) { in rvu_get_nix_blkaddr()
2007 RVU_PRIV_PFX_CFG(rvu_get_pf(pcifunc))); in rvu_mbox_handler_vf_flr()
2247 msg->id, rvu_get_pf(msg->pcifunc), in __rvu_mbox_handler()
H A Drvu.h839 int rvu_get_pf(u16 pcifunc);
896 is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))); in is_cgx_vf()
H A Drvu_cpt.c413 if (rvu_get_pf(pcifunc) != cpt_pf_num) in is_cpt_pf()
425 if (rvu_get_pf(pcifunc) != cpt_pf_num) in is_cpt_vf()
H A Drvu_debugfs.c2626 rvu_get_pf(pcifunc)); in rvu_dbg_nix_band_prof_ctx_display()
2629 rvu_get_pf(pcifunc), in rvu_dbg_nix_band_prof_ctx_display()
2986 rvu_get_pf(pcifunc)); in rvu_print_npc_mcam_info()
2989 rvu_get_pf(pcifunc), in rvu_print_npc_mcam_info()
H A Drvu_npc.c150 int pf = rvu_get_pf(pcifunc); in npc_get_nixlf_mcam_index()
701 is_pf_cgxmapped(rvu, rvu_get_pf(pcifunc))) { in rvu_npc_install_promisc_entry()
3451 int pf = rvu_get_pf(pcifunc); in rvu_npc_set_parse_mode()
/linux-6.15/drivers/net/ethernet/marvell/octeontx2/nic/
H A Drep.c247 attrs.phys.port_number = rvu_get_pf(rep->pcifunc); in rvu_rep_devlink_port_register()
250 attrs.pci_vf.pf = rvu_get_pf(rep->pcifunc); in rvu_rep_devlink_port_register()
675 rvu_get_pf(pcifunc), (pcifunc & RVU_PFVF_FUNC_MASK)); in rvu_rep_create()
H A Dotx2_pf.c209 snprintf(irq_name, NAME_SIZE, "RVUPF%d_ME0", rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr()
219 snprintf(irq_name, NAME_SIZE, "RVUPF%d_FLR0", rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr()
231 rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr()
241 rvu_get_pf(pf->pcifunc)); in otx2_register_flr_me_intr()
698 "RVUPF%d_VF Mbox0", rvu_get_pf(pf->pcifunc)); in otx2_register_pfvf_mbox_intr()
714 "RVUPF%d_VF Mbox1", rvu_get_pf(pf->pcifunc)); in otx2_register_pfvf_mbox_intr()
1957 rvu_get_pf(pf->pcifunc)); in otx2_open()
1975 rvu_get_pf(pf->pcifunc), qidx); in otx2_open()
1986 rvu_get_pf(pf->pcifunc), qidx); in otx2_open()
H A Dotx2_tc.c470 if (rvu_get_pf(nic->pcifunc) != rvu_get_pf(priv->pcifunc)) { in otx2_tc_parse_actions()
H A Dotx2_common.h913 static inline int rvu_get_pf(u16 pcifunc) in rvu_get_pf() function