Searched refs:max_lmac (Results 1 – 2 of 2) sorted by relevance
286 int lmac, max_lmac; in nic_set_tx_pkt_pad() local302 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() local1352 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()
71 u8 max_lmac; member1360 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()