Searched refs:lmac_count (Results 1 – 2 of 2) sorted by relevance
58 u8 lmac_count; member124 return cgx->lmac_count; in cgx_get_lmac_cnt()218 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_set_pkind()240 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_lmac_internal_loopback()327 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_get_rx_stats()337 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_get_tx_stats()348 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_lmac_rx_tx_enable()365 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_lmac_tx_enable()386 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_lmac_get_pause_frm()403 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_lmac_set_pause_frm()[all …]
70 u8 lmac_count; member80 static int lmac_count; /* Total no of LMACs in system */ variable198 return bgx->lmac_count; in bgx_get_lmac_count()1089 lmac->dmacs_count = (RX_DMAC_COUNT / bgx->lmac_count); in bgx_lmac_enable()1203 for (i = 0; i < bgx->lmac_count; i++) { in bgx_init_hw()1207 bgx->lmac[i].lmacid_bd = lmac_count; in bgx_init_hw()1208 lmac_count++; in bgx_init_hw()1211 bgx_reg_write(bgx, 0, BGX_CMR_TX_LMACS, bgx->lmac_count); in bgx_init_hw()1212 bgx_reg_write(bgx, 0, BGX_CMR_RX_LMACS, bgx->lmac_count); in bgx_init_hw()1215 for (i = 0; i < bgx->lmac_count; i++) in bgx_init_hw()[all …]