Searched refs:lmac_cnt (Results 1 – 8 of 8) sorted by relevance
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/pcie/ |
A D | ctxt-info.c | 89 int i, ret, lmac_cnt, umac_cnt, paging_cnt; in iwl_pcie_init_fw_sec() local 96 lmac_cnt = iwl_pcie_get_num_sections(fw, 0); in iwl_pcie_init_fw_sec() 98 umac_cnt = iwl_pcie_get_num_sections(fw, lmac_cnt + 1); in iwl_pcie_init_fw_sec() 100 paging_cnt = iwl_pcie_get_num_sections(fw, lmac_cnt + umac_cnt + 2); in iwl_pcie_init_fw_sec() 102 dram->fw = kcalloc(umac_cnt + lmac_cnt, sizeof(*dram->fw), GFP_KERNEL); in iwl_pcie_init_fw_sec() 110 for (i = 0; i < lmac_cnt; i++) { in iwl_pcie_init_fw_sec()
|
/linux-6.3-rc2/drivers/net/ethernet/cavium/thunder/ |
A 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-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/ |
A D | mcs_rvu_if.c | 375 if (mcs->hw->lmac_cnt <= req->port_id || !(mcs->hw->lmac_bmap & BIT_ULL(req->port_id))) in rvu_mbox_handler_mcs_port_cfg_set() 393 if (mcs->hw->lmac_cnt <= req->port_id || !(mcs->hw->lmac_bmap & BIT_ULL(req->port_id))) in rvu_mbox_handler_mcs_port_cfg_get() 818 for (port = 0; port < mcs->hw->lmac_cnt; port++) { in rvu_mcs_set_lmac_bmap() 852 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) in rvu_mcs_init()
|
A D | mcs_cnf10kb.c | 31 hw->lmac_cnt = 4; /* lmacs/ports per mcs block */ in cnf10kb_mcs_set_hw_capabilities()
|
A D | mcs.h | 137 u8 lmac_cnt; member
|
A D | mcs.c | 1397 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) { in mcs_set_lmac_channels() 1484 hw->lmac_cnt = 20; /* lmacs/ports per mcs block */ in cn10kb_mcs_set_hw_capabilities() 1564 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) in mcs_probe()
|
A D | rvu_nix.c | 4094 int cgx, lmac_cnt, slink, link; in nix_link_config() local 4129 lmac_cnt = cgx_get_lmac_cnt(rvu_cgx_pdata(cgx, rvu)); in nix_link_config() 4131 if (lmac_cnt <= 0) in nix_link_config()
|
A D | rvu_debugfs.c | 236 for_each_set_bit(lmac, &mcs->hw->lmac_bmap, mcs->hw->lmac_cnt) { in rvu_dbg_mcs_port_stats_display()
|
Completed in 34 milliseconds