Home
last modified time | relevance | path

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

/linux-6.1.9/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
1345 max_lmac = nic->hw->bgx_cnt * MAX_LMAC_PER_BGX; in nic_probe()
1347 nic->vf_lmac_map = devm_kmalloc_array(dev, max_lmac, sizeof(u8), in nic_probe()
Dthunder_bgx.c71 u8 max_lmac; member
1366 for (idx = 0; idx < bgx->max_lmac; idx++) { in bgx_get_qlm_mode()
1375 if (bgx->lmac_count > bgx->max_lmac) in bgx_get_qlm_mode()
1376 bgx->lmac_count = bgx->max_lmac; in bgx_get_qlm_mode()
1505 if (lmac == bgx->max_lmac) { in bgx_init_of_phy()
1628 bgx->max_lmac = MAX_LMAC_PER_BGX; in bgx_probe()
1632 bgx->max_lmac = 1; in bgx_probe()