Lines Matching refs:prof_idx

5602 				    int layer, int prof_idx)  in nix_init_policer_context()  argument
5609 aq_req.qidx = (prof_idx & 0x3FFF) | (layer << 14); in nix_init_policer_context()
5618 layer, prof_idx); in nix_init_policer_context()
5627 int err, layer, prof_idx; in nix_setup_ipolicers() local
5677 for (prof_idx = 0; in nix_setup_ipolicers()
5678 prof_idx < ipolicer->band_prof.max; prof_idx++) { in nix_setup_ipolicers()
5680 ipolicer->pfvf_map[prof_idx] = 0x00; in nix_setup_ipolicers()
5688 layer, prof_idx); in nix_setup_ipolicers()
5737 int layer, hi_layer, prof_idx; in nix_verify_bandprof() local
5741 prof_idx = req->qidx & 0x3FFF; in nix_verify_bandprof()
5744 if (prof_idx >= ipolicer->band_prof.max) in nix_verify_bandprof()
5750 if (pcifunc && ipolicer->pfvf_map[prof_idx] != pcifunc) in nix_verify_bandprof()
5771 prof_idx = req->prof.band_prof_id; in nix_verify_bandprof()
5772 if (prof_idx >= ipolicer->band_prof.max || in nix_verify_bandprof()
5773 ipolicer->pfvf_map[prof_idx] != pcifunc) in nix_verify_bandprof()
5812 rsp->prof_idx[layer][idx] = prof; in rvu_mbox_handler_nix_bandprof_alloc()
5822 int blkaddr, layer, prof_idx, err; in nix_free_all_bandprof() local
5840 for (prof_idx = 0; prof_idx < ipolicer->band_prof.max; prof_idx++) { in nix_free_all_bandprof()
5841 if (ipolicer->pfvf_map[prof_idx] != pcifunc) in nix_free_all_bandprof()
5846 ipolicer->match_id[prof_idx]) in nix_free_all_bandprof()
5847 nix_clear_ratelimit_aggr(rvu, nix_hw, prof_idx); in nix_free_all_bandprof()
5849 ipolicer->pfvf_map[prof_idx] = 0x00; in nix_free_all_bandprof()
5850 ipolicer->match_id[prof_idx] = 0; in nix_free_all_bandprof()
5851 rvu_free_rsrc(&ipolicer->band_prof, prof_idx); in nix_free_all_bandprof()
5862 int blkaddr, layer, prof_idx, idx, err; in rvu_mbox_handler_nix_bandprof_free() local
5889 prof_idx = req->prof_idx[layer][idx]; in rvu_mbox_handler_nix_bandprof_free()
5890 if (prof_idx >= ipolicer->band_prof.max || in rvu_mbox_handler_nix_bandprof_free()
5891 ipolicer->pfvf_map[prof_idx] != pcifunc) in rvu_mbox_handler_nix_bandprof_free()
5896 ipolicer->match_id[prof_idx]) in rvu_mbox_handler_nix_bandprof_free()
5897 nix_clear_ratelimit_aggr(rvu, nix_hw, prof_idx); in rvu_mbox_handler_nix_bandprof_free()
5899 ipolicer->pfvf_map[prof_idx] = 0x00; in rvu_mbox_handler_nix_bandprof_free()
5900 ipolicer->match_id[prof_idx] = 0; in rvu_mbox_handler_nix_bandprof_free()
5901 rvu_free_rsrc(&ipolicer->band_prof, prof_idx); in rvu_mbox_handler_nix_bandprof_free()