Home
last modified time | relevance | path

Searched refs:cgx_cnt_max (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_cgx.c71 if (cgx_id >= rvu->cgx_cnt_max) in rvu_cgx_pdata()
94 int cgx_cnt_max = rvu->cgx_cnt_max; in rvu_map_cgx_lmac_pf() local
99 if (!cgx_cnt_max) in rvu_map_cgx_lmac_pf()
102 if (cgx_cnt_max > 0xF || MAX_LMAC_PER_CGX > 0xF) in rvu_map_cgx_lmac_pf()
109 size = (cgx_cnt_max * MAX_LMAC_PER_CGX + 1) * sizeof(u8); in rvu_map_cgx_lmac_pf()
119 cgx_cnt_max * MAX_LMAC_PER_CGX * sizeof(u16), in rvu_map_cgx_lmac_pf()
125 for (cgx = 0; cgx < cgx_cnt_max; cgx++) { in rvu_map_cgx_lmac_pf()
270 for (cgx = 0; cgx <= rvu->cgx_cnt_max; cgx++) { in cgx_lmac_event_handler_init()
303 rvu->cgx_cnt_max = cgx_get_cgxcnt_max(); in rvu_cgx_init()
304 if (!rvu->cgx_cnt_max) { in rvu_cgx_init()
[all …]
Drvu.h342 u8 cgx_cnt_max; /* CGX port count max */ member
Drvu_nix.c3061 for (idx = 0; idx < rvu->cgx_cnt_max; idx++) { in nix_calibrate_x2p()