Home
last modified time | relevance | path

Searched refs:lmac_cnt (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/pcie/
Dctxt-info.c89 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.6.21/drivers/net/ethernet/cavium/thunder/
Dnic_main.c255 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.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Dmcs_rvu_if.c412 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()
430 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()
855 for (port = 0; port < mcs->hw->lmac_cnt; port++) { in rvu_mcs_set_lmac_bmap()
889 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) in rvu_mcs_init()
Dmcs.c957 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) { in cn10kb_mcs_bbe_intr_handler()
972 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) { in cn10kb_mcs_pab_intr_handler()
1403 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) { in mcs_set_lmac_channels()
1491 hw->lmac_cnt = 20; /* lmacs/ports per mcs block */ in cn10kb_mcs_set_hw_capabilities()
1574 for (lmac = 0; lmac < mcs->hw->lmac_cnt; lmac++) in mcs_probe()
Dmcs_cnf10kb.c33 hw->lmac_cnt = 4; /* lmacs/ports per mcs block */ in cnf10kb_mcs_set_hw_capabilities()
Dmcs.h128 u8 lmac_cnt; member
Drvu_nix.c4258 int cgx, lmac_cnt, slink, link; in nix_link_config() local
4299 lmac_cnt = cgx_get_lmac_cnt(rvu_cgx_pdata(cgx, rvu)); in nix_link_config()
4301 if (lmac_cnt <= 0) in nix_link_config()
Drvu_debugfs.c236 for_each_set_bit(lmac, &mcs->hw->lmac_bmap, mcs->hw->lmac_cnt) { in rvu_dbg_mcs_port_stats_display()