Searched refs:ipolicer (Results 1 – 3 of 3) sorted by relevance
4911 struct nix_ipolicer *ipolicer; in nix_setup_ipolicers() local4917 hw->cap.ipolicer = false; in nix_setup_ipolicers()4921 hw->cap.ipolicer = true; in nix_setup_ipolicers()4922 nix_hw->ipolicer = devm_kcalloc(rvu->dev, BAND_PROF_NUM_LAYERS, in nix_setup_ipolicers()4923 sizeof(*ipolicer), GFP_KERNEL); in nix_setup_ipolicers()4924 if (!nix_hw->ipolicer) in nix_setup_ipolicers()4930 ipolicer = &nix_hw->ipolicer[layer]; in nix_setup_ipolicers()4933 ipolicer->band_prof.max = cfg & 0XFFFF; in nix_setup_ipolicers()4936 ipolicer->band_prof.max = (cfg >> 16) & 0XFFFF; in nix_setup_ipolicers()4939 ipolicer->band_prof.max = (cfg >> 32) & 0XFFFF; in nix_setup_ipolicers()[all …]
2234 struct nix_ipolicer *ipolicer; in rvu_dbg_nix_band_prof_ctx_display() local2240 if (!nix_hw->ipolicer) in rvu_dbg_nix_band_prof_ctx_display()2252 ipolicer = &nix_hw->ipolicer[layer]; in rvu_dbg_nix_band_prof_ctx_display()2254 for (idx = 0; idx < ipolicer->band_prof.max; idx++) { in rvu_dbg_nix_band_prof_ctx_display()2255 if (is_rsrc_free(&ipolicer->band_prof, idx)) in rvu_dbg_nix_band_prof_ctx_display()2269 pcifunc = ipolicer->pfvf_map[idx]; in rvu_dbg_nix_band_prof_ctx_display()2288 struct nix_ipolicer *ipolicer; in rvu_dbg_nix_band_prof_rsrc_display() local2293 if (!nix_hw->ipolicer) in rvu_dbg_nix_band_prof_rsrc_display()2304 ipolicer = &nix_hw->ipolicer[layer]; in rvu_dbg_nix_band_prof_rsrc_display()2306 ipolicer->band_prof.max, in rvu_dbg_nix_band_prof_rsrc_display()[all …]
325 struct nix_ipolicer *ipolicer; member346 bool ipolicer; member