Searched refs:ipolicer (Results 1 – 3 of 3) sorted by relevance
5720 struct nix_ipolicer *ipolicer; in nix_setup_ipolicers() local5726 hw->cap.ipolicer = false; in nix_setup_ipolicers()5730 hw->cap.ipolicer = true; in nix_setup_ipolicers()5731 nix_hw->ipolicer = devm_kcalloc(rvu->dev, BAND_PROF_NUM_LAYERS, in nix_setup_ipolicers()5732 sizeof(*ipolicer), GFP_KERNEL); in nix_setup_ipolicers()5733 if (!nix_hw->ipolicer) in nix_setup_ipolicers()5739 ipolicer = &nix_hw->ipolicer[layer]; in nix_setup_ipolicers()5742 ipolicer->band_prof.max = cfg & 0XFFFF; in nix_setup_ipolicers()5745 ipolicer->band_prof.max = (cfg >> 16) & 0XFFFF; in nix_setup_ipolicers()5748 ipolicer->band_prof.max = (cfg >> 32) & 0XFFFF; in nix_setup_ipolicers()[all …]
2685 struct nix_ipolicer *ipolicer; in rvu_dbg_nix_band_prof_ctx_display() local2691 if (!nix_hw->ipolicer) in rvu_dbg_nix_band_prof_ctx_display()2703 ipolicer = &nix_hw->ipolicer[layer]; in rvu_dbg_nix_band_prof_ctx_display()2705 for (idx = 0; idx < ipolicer->band_prof.max; idx++) { in rvu_dbg_nix_band_prof_ctx_display()2706 if (is_rsrc_free(&ipolicer->band_prof, idx)) in rvu_dbg_nix_band_prof_ctx_display()2720 pcifunc = ipolicer->pfvf_map[idx]; in rvu_dbg_nix_band_prof_ctx_display()2739 struct nix_ipolicer *ipolicer; in rvu_dbg_nix_band_prof_rsrc_display() local2744 if (!nix_hw->ipolicer) in rvu_dbg_nix_band_prof_rsrc_display()2755 ipolicer = &nix_hw->ipolicer[layer]; in rvu_dbg_nix_band_prof_rsrc_display()2757 ipolicer->band_prof.max, in rvu_dbg_nix_band_prof_rsrc_display()[all …]
405 struct nix_ipolicer *ipolicer; member428 bool ipolicer; member