Home
last modified time | relevance | path

Searched refs:lmac_count (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/cavium/thunder/
Dthunder_bgx.c70 u8 lmac_count; member
80 static int lmac_count; /* Total no of LMACs in system */ variable
198 return bgx->lmac_count; in bgx_get_lmac_count()
1086 lmac->dmacs_count = (RX_DMAC_COUNT / bgx->lmac_count); in bgx_lmac_enable()
1199 for (i = 0; i < bgx->lmac_count; i++) { in bgx_init_hw()
1203 bgx->lmac[i].lmacid_bd = lmac_count; in bgx_init_hw()
1204 lmac_count++; in bgx_init_hw()
1207 bgx_reg_write(bgx, 0, BGX_CMR_TX_LMACS, bgx->lmac_count); in bgx_init_hw()
1208 bgx_reg_write(bgx, 0, BGX_CMR_RX_LMACS, bgx->lmac_count); in bgx_init_hw()
1211 for (i = 0; i < bgx->lmac_count; i++) in bgx_init_hw()
[all …]
/drivers/net/ethernet/marvell/octeontx2/af/
Dcgx.c155 return cgx->lmac_count; in cgx_get_lmac_cnt()
1515 if (!cgx->lmac_count) in cgx_lmac_verify_fwi_version()
1642 if (cgx->lmac_count > cgx->max_lmac_per_mac) in cgx_lmac_init()
1643 cgx->lmac_count = cgx->max_lmac_per_mac; in cgx_lmac_init()
1645 for (i = 0; i < cgx->lmac_count; i++) { in cgx_lmac_init()
1665 cgx->lmac_count; in cgx_lmac_init()
1837 cgx->lmac_count = cgx->mac_ops->get_nr_lmacs(cgx); in cgx_probe()
1838 if (!cgx->lmac_count) { in cgx_probe()
Dlmac_common.h141 u8 lmac_count; member
Drvu_cgx.c504 int i = 0, lmac_count = 0; in rvu_cgx_disable_dmac_entries() local
520 lmac_count = cgx_get_lmac_cnt(cgx_dev); in rvu_cgx_disable_dmac_entries()
526 max_dmac_filters = mac_ops->dmac_filter_count / lmac_count; in rvu_cgx_disable_dmac_entries()