Searched refs:cntr_refcnt (Results 1 – 2 of 2) sorted by relevance
1892 mcam->cntr_refcnt = devm_kcalloc(rvu->dev, mcam->counters.max, in npc_mcam_rsrcs_init()1894 if (!mcam->cntr_refcnt) in npc_mcam_rsrcs_init()2163 if (mcam->cntr_refcnt[cntr]) in rvu_npc_get_mcam_counter_alloc_info()2211 mcam->cntr_refcnt[cntr]++; in npc_map_mcam_entry_and_cntr()2227 mcam->cntr_refcnt[cntr]--; in npc_unmap_mcam_entry_and_cntr()2299 mcam->cntr_refcnt[cntr] = 0; in npc_mcam_free_all_counters()2995 if (!mcam->cntr_refcnt[req->cntr]) in rvu_mbox_handler_npc_mcam_free_counter()3041 if (!mcam->cntr_refcnt[req->cntr]) in rvu_mbox_handler_npc_mcam_unmap_counter()
161 u16 *cntr_refcnt; member