Searched refs:lmac_count (Results 1 - 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | cgx.c | 58 u8 lmac_count; member 124 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...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/thunder/ |
H A D | thunder_bgx.c | 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() 843 /* take lmac_count into account */ in bgx_lmac_xaui_init() 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() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/thunder/ |
H A D | thunder_bgx.c | 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() 840 /* take lmac_count into account */ in bgx_lmac_xaui_init() 1086 lmac->dmacs_count = (RX_DMAC_COUNT / bgx->lmac_count); in bgx_lmac_enable() 1199 for (i = 0; i < bgx->lmac_count; i++) { in bgx_init_hw() 1203 bgx->lmac[i].lmacid_bd = lmac_count; in bgx_init_hw() 1204 lmac_count++; in bgx_init_hw() 1207 bgx_reg_write(bgx, 0, BGX_CMR_TX_LMACS, bgx->lmac_count); in bgx_init_hw() 1208 bgx_reg_write(bgx, 0, BGX_CMR_RX_LMACS, bgx->lmac_count); in bgx_init_hw() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | lmac_common.h | 141 u8 lmac_count; member
|
H A D | cgx.c | 155 return cgx->lmac_count; in cgx_get_lmac_cnt() 1510 if (!cgx->lmac_count) in cgx_lmac_verify_fwi_version() 1637 if (cgx->lmac_count > cgx->max_lmac_per_mac) in cgx_lmac_init() 1638 cgx->lmac_count = cgx->max_lmac_per_mac; in cgx_lmac_init() 1640 for (i = 0; i < cgx->lmac_count; i++) { in cgx_lmac_init() 1660 cgx->lmac_count; in cgx_lmac_init() 1832 cgx->lmac_count = cgx->mac_ops->get_nr_lmacs(cgx); in cgx_probe() 1833 if (!cgx->lmac_count) { in cgx_probe()
|
H A D | rvu_cgx.c | 502 int i = 0, lmac_count = 0; in rvu_cgx_disable_dmac_entries() local 518 lmac_count = cgx_get_lmac_cnt(cgx_dev); in rvu_cgx_disable_dmac_entries() 524 max_dmac_filters = mac_ops->dmac_filter_count / lmac_count; in rvu_cgx_disable_dmac_entries()
|
Completed in 10 milliseconds