Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_cgx.c460 !is_pf_cgxmapped(rvu, rvu_get_pf(rvu->pdev, pcifunc))) in is_cgx_config_permitted()
487 int pf = rvu_get_pf(rvu->pdev, pcifunc); in rvu_cgx_config_rxtx()
504 int pf = rvu_get_pf(rvu->pdev, pcifunc); in rvu_cgx_tx_enable()
529 int pf = rvu_get_pf(rvu->pdev, pcifunc); in rvu_cgx_disable_dmac_entries()
580 int pf = rvu_get_pf(rvu->pdev, req->hdr.pcifunc); in rvu_lmac_get_stats()
636 int pf = rvu_get_pf(rvu->pdev, req->hdr.pcifunc); in rvu_mbox_handler_cgx_stats_rst()
666 int pf = rvu_get_pf(rvu->pdev, req->hdr.pcifunc); in rvu_mbox_handler_cgx_fec_stats()
684 int pf = rvu_get_pf(rvu->pdev, req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_set()
707 int pf = rvu_get_pf(rvu->pdev, req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_add()
731 int pf = rvu_get_pf(rvu->pdev, req->hdr.pcifunc); in rvu_mbox_handler_cgx_mac_addr_del()
[all …]
H A Drvu_cn10k.c69 return ((rvu_get_pf(rvu->pdev, pcifunc) * LMT_MAX_VFS) + in rvu_get_lmtst_tbl_index()
86 pf = rvu_get_pf(rvu->pdev, pcifunc) & RVU_OTX2_PFVF_PF_MASK; in rvu_get_lmtaddr()
186 rvu_get_pf(rvu->pdev, req->hdr.pcifunc) != in rvu_mbox_handler_lmtst_tbl_setup()
187 rvu_get_pf(rvu->pdev, req->base_pcifunc))) in rvu_mbox_handler_lmtst_tbl_setup()
H A Drvu_rep.c42 pf = rvu_get_pf(rvu->pdev, event->pcifunc); in rvu_rep_up_notify()
125 if (!is_pf_cgxmapped(rvu, rvu_get_pf(rvu->pdev, pcifunc))) in rvu_rep_notify_pfvf_state()
128 pf = rvu_get_pf(rvu->pdev, rvu->rep_pcifunc); in rvu_rep_notify_pfvf_state()
H A Drvu_sdp.c22 u16 pf = rvu_get_pf(rvu->pdev, pcifunc); in is_sdp_pfvf()
H A Dmcs_rvu_if.c100 pfvf = &mcs->pf[rvu_get_pf(rvu->pdev, pcifunc)]; in mcs_add_intr_wq_entry()
126 pf = rvu_get_pf(rvu->pdev, event->pcifunc); in mcs_notify_pfvf()
196 pfvf = &mcs->pf[rvu_get_pf(rvu->pdev, pcifunc)]; in rvu_mbox_handler_mcs_intr_cfg()
H A Drvu.h960 static inline int rvu_get_pf(struct pci_dev *pdev, u16 pcifunc) in rvu_get_pf() function
986 is_pf_cgxmapped(rvu, rvu_get_pf(rvu->pdev, pcifunc))); in is_cgx_vf()
H A Drvu_cpt.c413 if (rvu_get_pf(rvu->pdev, pcifunc) != cpt_pf_num) in is_cpt_pf()
425 if (rvu_get_pf(rvu->pdev, pcifunc) != cpt_pf_num) in is_cpt_vf()
H A Drvu_npc.c203 pf = rvu_get_pf(rvu->pdev, pcifunc); in npc_get_nixlf_mcam_index()
850 is_pf_cgxmapped(rvu, rvu_get_pf(rvu->pdev, pcifunc))) { in rvu_npc_install_promisc_entry()
4233 int pf = rvu_get_pf(rvu->pdev, pcifunc); in rvu_npc_set_parse_mode()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_pf.c210 rvu_get_pf(pf->pdev, pf->pcifunc)); in otx2_register_flr_me_intr()
221 rvu_get_pf(pf->pdev, pf->pcifunc)); in otx2_register_flr_me_intr()
233 rvu_get_pf(pf->pdev, pf->pcifunc)); in otx2_register_flr_me_intr()
243 rvu_get_pf(pf->pdev, pf->pcifunc)); in otx2_register_flr_me_intr()
738 "RVUPF%d_VF Mbox0", rvu_get_pf(pf->pdev, pf->pcifunc)); in otx2_register_pfvf_mbox_intr()
755 rvu_get_pf(pf->pdev, pf->pcifunc)); in otx2_register_pfvf_mbox_intr()
1135 rvu_get_pf(pf->pdev, pf->pcifunc)); in otx2_register_mbox_intr()
1144 rvu_get_pf(pf->pdev, pf->pcifunc)); in otx2_register_mbox_intr()
2040 rvu_get_pf(pf->pdev, pf->pcifunc)); in otx2_open()
2058 rvu_get_pf(pf->pdev, pf->pcifunc), qidx); in otx2_open()
[all …]
H A Drep.c247 attrs.phys.port_number = rvu_get_pf(priv->pdev, rep->pcifunc); in rvu_rep_devlink_port_register()
250 attrs.pci_vf.pf = rvu_get_pf(priv->pdev, rep->pcifunc); in rvu_rep_devlink_port_register()
687 rvu_get_pf(priv->pdev, pcifunc), in rvu_rep_create()
H A Dcn20k.c220 "RVUPF%d_VF%d Mbox%d", rvu_get_pf(pf->pdev, in cn20k_register_pfvf_mbox_intr()
H A Dotx2_tc.c451 if (rvu_get_pf(nic->pdev, nic->pcifunc) != in otx2_tc_parse_actions()
452 rvu_get_pf(nic->pdev, priv->pcifunc)) { in otx2_tc_parse_actions()
/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf_mbox.c472 cptpf->pf_id = rvu_get_pf(cptpf->pdev, msg->pcifunc); in process_afpf_mbox_msg()
/linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
H A Dnpc.c4349 return is_pf_cgxmapped(rvu, rvu_get_pf(rvu->pdev, pcifunc)) || in npc_is_cgx_or_lbk()
4500 pf = rvu_get_pf(rvu->pdev, pcifunc); in npc_cn20k_dft_rules_alloc()