Searched refs:max_lmac (Results 1 – 3 of 3) 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() local1345 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()
71 u8 max_lmac; member1367 for (idx = 0; idx < bgx->max_lmac; idx++) { in bgx_get_qlm_mode()1376 if (bgx->lmac_count > bgx->max_lmac) in bgx_get_qlm_mode()1377 bgx->lmac_count = bgx->max_lmac; in bgx_get_qlm_mode()1506 if (lmac == bgx->max_lmac) { in bgx_init_of_phy()1629 bgx->max_lmac = MAX_LMAC_PER_BGX; in bgx_probe()1633 bgx->max_lmac = 1; in bgx_probe()
526 u16 max_lmac; in rpm2_get_lmac_fifo_len() local534 max_lmac = (rpm_read(rpm, 0, CGX_CONST) >> 24) & 0xFF; in rpm2_get_lmac_fifo_len()535 if (max_lmac > 4) in rpm2_get_lmac_fifo_len()