Lines Matching refs:lmac_count
58 u8 lmac_count; member
124 return cgx->lmac_count; in cgx_get_lmac_cnt()
208 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_set_pkind()
230 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_lmac_internal_loopback()
317 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_get_rx_stats()
327 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_get_tx_stats()
338 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_lmac_rx_tx_enable()
355 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_lmac_tx_enable()
376 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_lmac_get_pause_frm()
393 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_lmac_set_pause_frm()
421 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_lmac_pause_frm_config()
806 if (!cgx->lmac_count) in cgx_lmac_verify_fwi_version()
831 for (i = 0; i < cgx->lmac_count; i++) { in cgx_lmac_linkup_work()
856 cgx->lmac_count = cgx_read(cgx, 0, CGXX_CMRX_RX_LMACS) & 0x7; in cgx_lmac_init()
857 if (cgx->lmac_count > MAX_LMAC_PER_CGX) in cgx_lmac_init()
858 cgx->lmac_count = MAX_LMAC_PER_CGX; in cgx_lmac_init()
860 for (i = 0; i < cgx->lmac_count; i++) { in cgx_lmac_init()
903 for (i = 0; i < cgx->lmac_count; i++) { in cgx_lmac_exit()