Home
last modified time | relevance | path

Searched refs:cntr_refcnt (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc.c1938 mcam->cntr_refcnt = devm_kcalloc(rvu->dev, mcam->counters.max, in npc_mcam_rsrcs_init()
1940 if (!mcam->cntr_refcnt) in npc_mcam_rsrcs_init()
2210 if (mcam->cntr_refcnt[cntr]) in rvu_npc_get_mcam_counter_alloc_info()
2258 mcam->cntr_refcnt[cntr]++; in npc_map_mcam_entry_and_cntr()
2274 mcam->cntr_refcnt[cntr]--; in npc_unmap_mcam_entry_and_cntr()
2346 mcam->cntr_refcnt[cntr] = 0; in npc_mcam_free_all_counters()
3059 if (!mcam->cntr_refcnt[req->cntr]) in rvu_mbox_handler_npc_mcam_free_counter()
3105 if (!mcam->cntr_refcnt[req->cntr]) in rvu_mbox_handler_npc_mcam_unmap_counter()
H A Drvu.h172 u16 *cntr_refcnt; member