Searched refs:ipolicer (Results 1 – 3 of 3) sorted by relevance
5626 struct nix_ipolicer *ipolicer; in nix_setup_ipolicers() local5632 hw->cap.ipolicer = false; in nix_setup_ipolicers()5636 hw->cap.ipolicer = true; in nix_setup_ipolicers()5637 nix_hw->ipolicer = devm_kcalloc(rvu->dev, BAND_PROF_NUM_LAYERS, in nix_setup_ipolicers()5638 sizeof(*ipolicer), GFP_KERNEL); in nix_setup_ipolicers()5639 if (!nix_hw->ipolicer) in nix_setup_ipolicers()5645 ipolicer = &nix_hw->ipolicer[layer]; in nix_setup_ipolicers()5648 ipolicer->band_prof.max = cfg & 0XFFFF; in nix_setup_ipolicers()5651 ipolicer->band_prof.max = (cfg >> 16) & 0XFFFF; in nix_setup_ipolicers()5654 ipolicer->band_prof.max = (cfg >> 32) & 0XFFFF; in nix_setup_ipolicers()[all …]
2618 struct nix_ipolicer *ipolicer; in rvu_dbg_nix_band_prof_ctx_display() local2624 if (!nix_hw->ipolicer) in rvu_dbg_nix_band_prof_ctx_display()2636 ipolicer = &nix_hw->ipolicer[layer]; in rvu_dbg_nix_band_prof_ctx_display()2638 for (idx = 0; idx < ipolicer->band_prof.max; idx++) { in rvu_dbg_nix_band_prof_ctx_display()2639 if (is_rsrc_free(&ipolicer->band_prof, idx)) in rvu_dbg_nix_band_prof_ctx_display()2653 pcifunc = ipolicer->pfvf_map[idx]; in rvu_dbg_nix_band_prof_ctx_display()2672 struct nix_ipolicer *ipolicer; in rvu_dbg_nix_band_prof_rsrc_display() local2677 if (!nix_hw->ipolicer) in rvu_dbg_nix_band_prof_rsrc_display()2688 ipolicer = &nix_hw->ipolicer[layer]; in rvu_dbg_nix_band_prof_rsrc_display()2690 ipolicer->band_prof.max, in rvu_dbg_nix_band_prof_rsrc_display()[all …]
375 struct nix_ipolicer *ipolicer; member398 bool ipolicer; member