Home
last modified time | relevance | path

Searched refs:total_pfs (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/net/ethernet/marvell/octeontx2/af/cn20k/
H A Dmbox_init.c131 RVU_MBOX_AF_PFAF_INT(0), INTR_MASK(hw->total_pfs)); in cn20k_rvu_enable_mbox_intr()
134 RVU_MBOX_AF_PFAF_INT(1), INTR_MASK(hw->total_pfs - 64)); in cn20k_rvu_enable_mbox_intr()
137 RVU_MBOX_AF_PFAF1_INT(0), INTR_MASK(hw->total_pfs)); in cn20k_rvu_enable_mbox_intr()
140 RVU_MBOX_AF_PFAF1_INT(1), INTR_MASK(hw->total_pfs - 64)); in cn20k_rvu_enable_mbox_intr()
144 INTR_MASK(hw->total_pfs) & ~1ULL); in cn20k_rvu_enable_mbox_intr()
147 INTR_MASK(hw->total_pfs - 64)); in cn20k_rvu_enable_mbox_intr()
150 INTR_MASK(hw->total_pfs) & ~1ULL); in cn20k_rvu_enable_mbox_intr()
153 INTR_MASK(hw->total_pfs - 64)); in cn20k_rvu_enable_mbox_intr()
159 INTR_MASK(rvu->hw->total_pfs) & ~1ULL); in cn20k_rvu_unregister_interrupts()
162 INTR_MASK(rvu->hw->total_pfs - 64)); in cn20k_rvu_unregister_interrupts()
[all …]
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu.c444 if (pf >= rvu->hw->total_pfs) in is_pf_func_valid()
609 for (pf = 0; pf < hw->total_pfs; pf++) { in rvu_setup_msix_resources()
737 for (id = 0; id < hw->total_pfs; id++) { in rvu_free_hw_resources()
772 for (pf = 0; pf < hw->total_pfs; pf++) { in rvu_setup_pfvf_macaddress()
936 hw->total_pfs = (cfg >> 32) & 0xFF; in rvu_setup_hw_resources()
1073 rvu->pf = devm_kcalloc(rvu->dev, hw->total_pfs, in rvu_setup_hw_resources()
2720 rvu_queue_work(&rvu->afpf_wq_info, 0, rvu->hw->total_pfs, intr); in rvu_mbox_pf_intr_handler()
2764 RVU_AF_PFAF_MBOX_INT, INTR_MASK(hw->total_pfs)); in rvu_enable_mbox_intr()
2768 INTR_MASK(hw->total_pfs) & ~1ULL); in rvu_enable_mbox_intr()
2872 if (pf >= rvu->hw->total_pfs) { in rvu_flr_handler()
[all …]
H A Drvu_switch.c92 for (pf = 1; pf < hw->total_pfs; pf++) { in rvu_switch_install_rules()
235 for (pf = 1; pf < hw->total_pfs; pf++) { in rvu_switch_disable()
H A Drvu_rep.c324 for (pf = 1; pf < hw->total_pfs; pf++) { in rvu_rep_install_mcam_rules()
453 for (pf = 0; pf < rvu->hw->total_pfs; pf++) { in rvu_mbox_handler_get_rep_cnt()
H A Drvu_debugfs.c597 for (pf = 0; pf < rvu->hw->total_pfs; pf++) { in rvu_dbg_lmtst_map_table_display()
691 for (pf = 0; pf < rvu->hw->total_pfs; pf++) { in get_max_column_width()
760 for (pf = 0; pf < rvu->hw->total_pfs; pf++) { in rvu_dbg_rsrc_attach_status()
837 for (pf = 0; pf < rvu->hw->total_pfs; pf++) { in rvu_dbg_rvu_pf_cgx_map_display()
3245 for (pf = 0; pf < rvu->hw->total_pfs; pf++) { in rvu_dbg_npc_mcam_info_display()
H A Dmcs_rvu_if.c902 mcs->pf = devm_kcalloc(mcs->dev, hw->total_pfs, in rvu_mcs_init()
H A Drvu.h436 u8 total_pfs; /* MAX RVU PFs HW supports */ member
H A Drvu_cpt.c393 for (i = 0; i < rvu->hw->total_pfs; i++) { in get_cpt_pf_num()
H A Drvu_npc.c1867 ((rvu->hw->total_pfs - 1) * RSVD_MCAM_ENTRIES_PER_PF); in npc_mcam_rsrcs_init()