Home
last modified time | relevance | path

Searched refs:max_lmac (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/cavium/thunder/
Dnic_main.c286 int lmac, max_lmac; in nic_set_tx_pkt_pad() local
302 max_lmac = ((nic->hw->bgx_cnt - 1) * MAX_LMAC_PER_BGX) + 1; in nic_set_tx_pkt_pad()
304 max_lmac = nic->hw->bgx_cnt * MAX_LMAC_PER_BGX; in nic_set_tx_pkt_pad()
306 for (lmac = 0; lmac < max_lmac; lmac++) { in nic_set_tx_pkt_pad()
1295 u8 max_lmac; in nic_probe() local
1352 max_lmac = nic->hw->bgx_cnt * MAX_LMAC_PER_BGX; in nic_probe()
1354 nic->vf_lmac_map = devm_kmalloc_array(dev, max_lmac, sizeof(u8), in nic_probe()
Dthunder_bgx.c71 u8 max_lmac; member
1360 for (idx = 0; idx < bgx->max_lmac; idx++) { in bgx_get_qlm_mode()
1369 if (bgx->lmac_count > bgx->max_lmac) in bgx_get_qlm_mode()
1370 bgx->lmac_count = bgx->max_lmac; in bgx_get_qlm_mode()
1499 if (lmac == bgx->max_lmac) { in bgx_init_of_phy()
1581 bgx->max_lmac = MAX_LMAC_PER_BGX; in bgx_probe()
1585 bgx->max_lmac = 1; in bgx_probe()