Lines Matching refs:band_prof
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()
5658 if (!ipolicer->band_prof.max) in nix_setup_ipolicers()
5661 err = rvu_alloc_bitmap(&ipolicer->band_prof); in nix_setup_ipolicers()
5666 ipolicer->band_prof.max, in nix_setup_ipolicers()
5672 ipolicer->band_prof.max, in nix_setup_ipolicers()
5678 prof_idx < ipolicer->band_prof.max; prof_idx++) { in nix_setup_ipolicers()
5701 ipolicer->band_prof.max, in nix_setup_ipolicers()
5726 if (!ipolicer->band_prof.max) in nix_ipolicer_freemem()
5729 kfree(ipolicer->band_prof.bmap); in nix_ipolicer_freemem()
5744 if (prof_idx >= ipolicer->band_prof.max) in nix_verify_bandprof()
5772 if (prof_idx >= ipolicer->band_prof.max || in nix_verify_bandprof()
5808 prof = rvu_alloc_rsrc(&ipolicer->band_prof); in rvu_mbox_handler_nix_bandprof_alloc()
5840 for (prof_idx = 0; prof_idx < ipolicer->band_prof.max; prof_idx++) { in nix_free_all_bandprof()
5851 rvu_free_rsrc(&ipolicer->band_prof, prof_idx); in nix_free_all_bandprof()
5890 if (prof_idx >= ipolicer->band_prof.max || in rvu_mbox_handler_nix_bandprof_free()
5901 rvu_free_rsrc(&ipolicer->band_prof, prof_idx); in rvu_mbox_handler_nix_bandprof_free()
5983 for (idx = 0; idx < ipolicer->band_prof.max; idx++) { in rvu_nix_setup_ratelimit_aggr()
5993 if (idx == ipolicer->band_prof.max) in rvu_nix_setup_ratelimit_aggr()
6036 mid_prof = rvu_alloc_rsrc(&ipolicer->band_prof); in rvu_nix_setup_ratelimit_aggr()
6143 rvu_free_rsrc(&ipolicer->band_prof, mid_prof); in nix_clear_ratelimit_aggr()
6169 rsp->prof_count[layer] = rvu_rsrc_free_count(&ipolicer->band_prof); in rvu_mbox_handler_nix_bandprof_get_hwinfo()