Lines Matching refs:lmac_count
58 u8 lmac_count; member
125 return cgx->lmac_count; in cgx_get_lmac_cnt()
204 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_set_pkind()
227 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_lmac_internal_loopback()
288 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_get_rx_stats()
299 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_get_tx_stats()
311 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_lmac_rx_tx_enable()
668 if (!cgx->lmac_count) in cgx_lmac_verify_fwi_version()
693 for (i = 0; i < cgx->lmac_count; i++) { in cgx_lmac_linkup_work()
719 cgx->lmac_count = cgx_read(cgx, 0, CGXX_CMRX_RX_LMACS) & 0x7; in cgx_lmac_init()
720 if (cgx->lmac_count > MAX_LMAC_PER_CGX) in cgx_lmac_init()
721 cgx->lmac_count = MAX_LMAC_PER_CGX; in cgx_lmac_init()
723 for (i = 0; i < cgx->lmac_count; i++) { in cgx_lmac_init()
765 for (i = 0; i < cgx->lmac_count; i++) { in cgx_lmac_exit()