Lines Matching refs:cgx
65 int cgx, lmac_cnt, lmac; in rvu_map_cgx_lmac_pf() local
95 for (cgx = 0; cgx < cgx_cnt_max; cgx++) { in rvu_map_cgx_lmac_pf()
96 if (!rvu_cgx_pdata(cgx, rvu)) in rvu_map_cgx_lmac_pf()
98 lmac_cnt = cgx_get_lmac_cnt(rvu_cgx_pdata(cgx, rvu)); in rvu_map_cgx_lmac_pf()
100 rvu->pf2cgxlmac_map[pf] = cgxlmac_id_to_bmap(cgx, lmac); in rvu_map_cgx_lmac_pf()
101 rvu->cgxlmac2pf_map[CGX_OFFSET(cgx) + lmac] = 1 << pf; in rvu_map_cgx_lmac_pf()
224 int cgx, lmac, err; in cgx_lmac_event_handler_init() local
239 for (cgx = 0; cgx <= rvu->cgx_cnt_max; cgx++) { in cgx_lmac_event_handler_init()
240 cgxd = rvu_cgx_pdata(cgx, rvu); in cgx_lmac_event_handler_init()
248 cgx, lmac); in cgx_lmac_event_handler_init()
266 int cgx, err; in rvu_cgx_init() local
284 for (cgx = 0; cgx < rvu->cgx_cnt_max; cgx++) in rvu_cgx_init()
285 rvu->cgx_idmap[cgx] = cgx_get_pdata(cgx); in rvu_cgx_init()
303 for (cgx = 0; cgx <= rvu->cgx_cnt_max; cgx++) { in rvu_cgx_init()
304 cgxd = rvu_cgx_pdata(cgx, rvu); in rvu_cgx_init()
311 cgx); in rvu_cgx_init()
319 int cgx, lmac; in rvu_cgx_exit() local
322 for (cgx = 0; cgx <= rvu->cgx_cnt_max; cgx++) { in rvu_cgx_exit()
323 cgxd = rvu_cgx_pdata(cgx, rvu); in rvu_cgx_exit()