Home
last modified time | relevance | path

Searched refs:MAX_LMAC_PER_CGX (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/marvell/octeontx2/af/
Dcgx.h22 #define MAX_LMAC_PER_CGX 4 macro
25 #define CGX_OFFSET(x) ((x) * MAX_LMAC_PER_CGX)
Dcgx.c81 if (!cgx || lmac_id < 0 || lmac_id >= MAX_LMAC_PER_CGX) in is_lmac_valid()
93 for_each_set_bit(tmp, &cgx->lmac_bmap, MAX_LMAC_PER_CGX) { in get_sequence_id_of_lmac()
124 if (!cgx || lmac_id >= MAX_LMAC_PER_CGX) in lmac_pdata()
1272 first_lmac = find_first_bit(&cgx->lmac_bmap, MAX_LMAC_PER_CGX); in cgx_get_fwdata_base()
1353 int first_lmac = find_first_bit(&cgx->lmac_bmap, MAX_LMAC_PER_CGX); in cgx_fwi_read_version()
1391 for_each_set_bit(i, &cgx->lmac_bmap, MAX_LMAC_PER_CGX) { in cgx_lmac_linkup_work()
1482 if (cgx->lmac_count > MAX_LMAC_PER_CGX) in cgx_lmac_init()
1483 cgx->lmac_count = MAX_LMAC_PER_CGX; in cgx_lmac_init()
1548 for_each_set_bit(i, &cgx->lmac_bmap, MAX_LMAC_PER_CGX) { in cgx_lmac_exit()
Drvu_cgx.c131 if (cgx_cnt_max > 0xF || MAX_LMAC_PER_CGX > 0xF) in rvu_map_cgx_lmac_pf()
138 size = (cgx_cnt_max * MAX_LMAC_PER_CGX + 1) * sizeof(u8); in rvu_map_cgx_lmac_pf()
148 cgx_cnt_max * MAX_LMAC_PER_CGX * sizeof(u16), in rvu_map_cgx_lmac_pf()
158 for_each_set_bit(iter, &lmac_bmap, MAX_LMAC_PER_CGX) { in rvu_map_cgx_lmac_pf()
312 for_each_set_bit(lmac, &lmac_bmap, MAX_LMAC_PER_CGX) { in cgx_lmac_event_handler_init()
399 for_each_set_bit(lmac, &lmac_bmap, MAX_LMAC_PER_CGX) in rvu_cgx_exit()
Dlmac_common.h121 struct lmac *lmac_idmap[MAX_LMAC_PER_CGX];
Drvu_debugfs.c2176 for_each_set_bit(lmac_id, &lmac_bmap, MAX_LMAC_PER_CGX) { in rvu_dbg_cgx_init()
Drvu_nix.c4030 for_each_set_bit(iter, &lmac_bmap, MAX_LMAC_PER_CGX) { in nix_link_config()