Searched refs:ipolicer (Results 1 – 3 of 3) sorted by relevance
4662 struct nix_ipolicer *ipolicer; in nix_setup_ipolicers() local4668 hw->cap.ipolicer = false; in nix_setup_ipolicers()4672 hw->cap.ipolicer = true; in nix_setup_ipolicers()4673 nix_hw->ipolicer = devm_kcalloc(rvu->dev, BAND_PROF_NUM_LAYERS, in nix_setup_ipolicers()4674 sizeof(*ipolicer), GFP_KERNEL); in nix_setup_ipolicers()4675 if (!nix_hw->ipolicer) in nix_setup_ipolicers()4681 ipolicer = &nix_hw->ipolicer[layer]; in nix_setup_ipolicers()4684 ipolicer->band_prof.max = cfg & 0XFFFF; in nix_setup_ipolicers()4687 ipolicer->band_prof.max = (cfg >> 16) & 0XFFFF; in nix_setup_ipolicers()4690 ipolicer->band_prof.max = (cfg >> 32) & 0XFFFF; in nix_setup_ipolicers()[all …]
1791 struct nix_ipolicer *ipolicer; in rvu_dbg_nix_band_prof_ctx_display() local1797 if (!nix_hw->ipolicer) in rvu_dbg_nix_band_prof_ctx_display()1809 ipolicer = &nix_hw->ipolicer[layer]; in rvu_dbg_nix_band_prof_ctx_display()1811 for (idx = 0; idx < ipolicer->band_prof.max; idx++) { in rvu_dbg_nix_band_prof_ctx_display()1812 if (is_rsrc_free(&ipolicer->band_prof, idx)) in rvu_dbg_nix_band_prof_ctx_display()1826 pcifunc = ipolicer->pfvf_map[idx]; in rvu_dbg_nix_band_prof_ctx_display()1845 struct nix_ipolicer *ipolicer; in rvu_dbg_nix_band_prof_rsrc_display() local1850 if (!nix_hw->ipolicer) in rvu_dbg_nix_band_prof_rsrc_display()1861 ipolicer = &nix_hw->ipolicer[layer]; in rvu_dbg_nix_band_prof_rsrc_display()1863 ipolicer->band_prof.max, in rvu_dbg_nix_band_prof_rsrc_display()[all …]
316 struct nix_ipolicer *ipolicer; member337 bool ipolicer; member