Searched refs:MAX_LMAC_PER_CGX (Results 1 – 6 of 6) sorted by relevance
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | cgx.h | 22 #define MAX_LMAC_PER_CGX 4 macro 25 #define CGX_OFFSET(x) ((x) * MAX_LMAC_PER_CGX)
|
D | cgx.c | 81 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()
|
D | rvu_cgx.c | 131 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()
|
D | lmac_common.h | 121 struct lmac *lmac_idmap[MAX_LMAC_PER_CGX];
|
D | rvu_debugfs.c | 2176 for_each_set_bit(lmac_id, &lmac_bmap, MAX_LMAC_PER_CGX) { in rvu_dbg_cgx_init()
|
D | rvu_nix.c | 4030 for_each_set_bit(iter, &lmac_bmap, MAX_LMAC_PER_CGX) { in nix_link_config()
|