max_lmac 286 drivers/net/ethernet/cavium/thunder/nic_main.c int lmac, max_lmac; max_lmac 302 drivers/net/ethernet/cavium/thunder/nic_main.c max_lmac = ((nic->hw->bgx_cnt - 1) * MAX_LMAC_PER_BGX) + 1; max_lmac 304 drivers/net/ethernet/cavium/thunder/nic_main.c max_lmac = nic->hw->bgx_cnt * MAX_LMAC_PER_BGX; max_lmac 306 drivers/net/ethernet/cavium/thunder/nic_main.c for (lmac = 0; lmac < max_lmac; lmac++) { max_lmac 1295 drivers/net/ethernet/cavium/thunder/nic_main.c u8 max_lmac; max_lmac 1352 drivers/net/ethernet/cavium/thunder/nic_main.c max_lmac = nic->hw->bgx_cnt * MAX_LMAC_PER_BGX; max_lmac 1354 drivers/net/ethernet/cavium/thunder/nic_main.c nic->vf_lmac_map = devm_kmalloc_array(dev, max_lmac, sizeof(u8), max_lmac 71 drivers/net/ethernet/cavium/thunder/thunder_bgx.c u8 max_lmac; max_lmac 1369 drivers/net/ethernet/cavium/thunder/thunder_bgx.c for (idx = 0; idx < bgx->max_lmac; idx++) { max_lmac 1378 drivers/net/ethernet/cavium/thunder/thunder_bgx.c if (bgx->lmac_count > bgx->max_lmac) max_lmac 1379 drivers/net/ethernet/cavium/thunder/thunder_bgx.c bgx->lmac_count = bgx->max_lmac; max_lmac 1508 drivers/net/ethernet/cavium/thunder/thunder_bgx.c if (lmac == bgx->max_lmac) { max_lmac 1632 drivers/net/ethernet/cavium/thunder/thunder_bgx.c bgx->max_lmac = MAX_LMAC_PER_BGX; max_lmac 1636 drivers/net/ethernet/cavium/thunder/thunder_bgx.c bgx->max_lmac = 1;