Searched refs:lmac_count (Results 1 – 5 of 5) sorted by relevance
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()1086 lmac->dmacs_count = (RX_DMAC_COUNT / bgx->lmac_count); in bgx_lmac_enable()1200 for (i = 0; i < bgx->lmac_count; i++) { in bgx_init_hw()1204 bgx->lmac[i].lmacid_bd = lmac_count; in bgx_init_hw()1205 lmac_count++; in bgx_init_hw()1208 bgx_reg_write(bgx, 0, BGX_CMR_TX_LMACS, bgx->lmac_count); in bgx_init_hw()1209 bgx_reg_write(bgx, 0, BGX_CMR_RX_LMACS, bgx->lmac_count); in bgx_init_hw()1212 for (i = 0; i < bgx->lmac_count; i++) in bgx_init_hw()[all …]
152 return cgx->lmac_count; in cgx_get_lmac_cnt()741 if (!cgx || lmac_id >= cgx->lmac_count) in cgx_get_fec_stats()1501 if (!cgx->lmac_count) in cgx_lmac_verify_fwi_version()1609 cgx->lmac_count = cgx->mac_ops->get_nr_lmacs(cgx); in cgx_lmac_init()1616 if (cgx->lmac_count > MAX_LMAC_PER_CGX) in cgx_lmac_init()1617 cgx->lmac_count = MAX_LMAC_PER_CGX; in cgx_lmac_init()1619 for (i = 0; i < cgx->lmac_count; i++) { in cgx_lmac_init()1638 MAX_DMAC_ENTRIES_PER_CGX / cgx->lmac_count; in cgx_lmac_init()1788 cgx->lmac_count = cgx->mac_ops->get_nr_lmacs(cgx); in cgx_probe()1789 if (!cgx->lmac_count) { in cgx_probe()
295 if (!rpm || lmac_id >= rpm->lmac_count) in rpm_get_rx_stats()323 if (!rpm || lmac_id >= rpm->lmac_count) in rpm_get_tx_stats()389 if (!rpm || lmac_id >= rpm->lmac_count) in rpm_lmac_internal_loopback()
130 u8 lmac_count; member
470 int i = 0, lmac_count = 0; in rvu_cgx_disable_dmac_entries() local485 lmac_count = cgx_get_lmac_cnt(cgx_dev); in rvu_cgx_disable_dmac_entries()486 max_dmac_filters = MAX_DMAC_ENTRIES_PER_CGX / lmac_count; in rvu_cgx_disable_dmac_entries()