Searched refs:lmac_cnt (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | ctxt-info.c | 137 int i, ret, lmac_cnt, umac_cnt, paging_cnt; in iwl_pcie_init_fw_sec() local 144 lmac_cnt = iwl_pcie_get_num_sections(fw, 0); in iwl_pcie_init_fw_sec() 146 umac_cnt = iwl_pcie_get_num_sections(fw, lmac_cnt + 1); in iwl_pcie_init_fw_sec() 148 paging_cnt = iwl_pcie_get_num_sections(fw, lmac_cnt + umac_cnt + 2); in iwl_pcie_init_fw_sec() 150 dram->fw = kcalloc(umac_cnt + lmac_cnt, sizeof(*dram->fw), GFP_KERNEL); in iwl_pcie_init_fw_sec() 158 for (i = 0; i < lmac_cnt; i++) { in iwl_pcie_init_fw_sec()
|
/Linux-v5.10/drivers/net/ethernet/cavium/thunder/ |
D | nic_main.c | 255 int bgx, lmac, lmac_cnt; in nic_update_hw_frs() local 268 lmac_cnt = bgx_get_lmac_count(nic->node, bgx); in nic_update_hw_frs() 271 lmac_credits |= (((((48 * 1024) / lmac_cnt) - new_frs) / 16) << 12); in nic_update_hw_frs() 321 int lmac, lmac_cnt = 0; in nic_set_lmac_vf_mapping() local 329 lmac_cnt = bgx_get_lmac_count(nic->node, bgx); in nic_set_lmac_vf_mapping() 330 for (lmac = 0; lmac < lmac_cnt; lmac++) in nic_set_lmac_vf_mapping() 333 nic->num_vf_en += lmac_cnt; in nic_set_lmac_vf_mapping() 339 lmac_credit |= (((((48 * 1024) / lmac_cnt) - in nic_set_lmac_vf_mapping() 342 for (; lmac < lmac_cnt + (bgx * MAX_LMAC_PER_BGX); lmac++) in nic_set_lmac_vf_mapping()
|
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_cgx.c | 81 int cgx, lmac_cnt, lmac; in rvu_map_cgx_lmac_pf() local 114 lmac_cnt = cgx_get_lmac_cnt(rvu_cgx_pdata(cgx, rvu)); in rvu_map_cgx_lmac_pf() 115 for (lmac = 0; lmac < lmac_cnt; lmac++, pf++) { in rvu_map_cgx_lmac_pf()
|
D | rvu_nix.c | 2979 int cgx, lmac_cnt, slink, link; in nix_link_config() local 3003 lmac_cnt = cgx_get_lmac_cnt(rvu_cgx_pdata(cgx, rvu)); in nix_link_config() 3004 tx_credits = ((CGX_FIFO_LEN / lmac_cnt) - NIC_HW_MAX_FRS) / 16; in nix_link_config() 3008 for (link = slink; link < (slink + lmac_cnt); link++) { in nix_link_config()
|