Lines Matching refs:lmac_count
70 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()
1080 lmac->dmacs_count = (RX_DMAC_COUNT / bgx->lmac_count); in bgx_lmac_enable()
1194 for (i = 0; i < bgx->lmac_count; i++) { in bgx_init_hw()
1198 bgx->lmac[i].lmacid_bd = lmac_count; in bgx_init_hw()
1199 lmac_count++; in bgx_init_hw()
1202 bgx_reg_write(bgx, 0, BGX_CMR_TX_LMACS, bgx->lmac_count); in bgx_init_hw()
1203 bgx_reg_write(bgx, 0, BGX_CMR_RX_LMACS, bgx->lmac_count); in bgx_init_hw()
1206 for (i = 0; i < bgx->lmac_count; i++) in bgx_init_hw()
1368 bgx->lmac_count = bgx_reg_read(bgx, 0, BGX_CMR_RX_LMACS) & 0x7; in bgx_get_qlm_mode()
1369 if (bgx->lmac_count > bgx->max_lmac) in bgx_get_qlm_mode()
1370 bgx->lmac_count = bgx->max_lmac; in bgx_get_qlm_mode()
1372 for (idx = 0; idx < bgx->lmac_count; idx++) { in bgx_get_qlm_mode()
1608 for (lmac = 0; lmac < bgx->lmac_count; lmac++) { in bgx_probe()
1637 for (lmac = 0; lmac < bgx->lmac_count; lmac++) in bgx_remove()