Home
last modified time | relevance | path

Searched refs:max_irqs (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/apm/xgene/
Dxgene_enet_main.c1624 int i, ret, max_irqs; in xgene_enet_get_irqs() local
1627 max_irqs = 1; in xgene_enet_get_irqs()
1629 max_irqs = 2; in xgene_enet_get_irqs()
1631 max_irqs = XGENE_MAX_ENET_IRQ; in xgene_enet_get_irqs()
1633 for (i = 0; i < max_irqs; i++) { in xgene_enet_get_irqs()
1637 max_irqs = i; in xgene_enet_get_irqs()
1638 pdata->rxq_cnt = max_irqs / 2; in xgene_enet_get_irqs()
1639 pdata->txq_cnt = max_irqs / 2; in xgene_enet_get_irqs()
1640 pdata->cq_cnt = max_irqs / 2; in xgene_enet_get_irqs()
/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c1646 int max_irqs, num_irqs, i, ret; in iwl_pcie_set_interrupt_capa() local
1656 max_irqs = min_t(u32, num_online_cpus() + 2, max_rx_queues); in iwl_pcie_set_interrupt_capa()
1657 for (i = 0; i < max_irqs; i++) in iwl_pcie_set_interrupt_capa()
1662 max_irqs); in iwl_pcie_set_interrupt_capa()
1669 trans_pcie->def_irq = (num_irqs == max_irqs) ? num_irqs - 1 : 0; in iwl_pcie_set_interrupt_capa()
1682 if (num_irqs <= max_irqs - 2) { in iwl_pcie_set_interrupt_capa()
1686 } else if (num_irqs == max_irqs - 1) { in iwl_pcie_set_interrupt_capa()
/drivers/net/ethernet/microsoft/mana/
Dgdma_main.c1210 unsigned int max_irqs; in mana_gd_setup_irqs() local
1218 max_irqs = max_queues_per_port + 1; in mana_gd_setup_irqs()
1220 nvec = pci_alloc_irq_vectors(pdev, 2, max_irqs, PCI_IRQ_MSIX); in mana_gd_setup_irqs()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c9099 return min_t(unsigned int, hw_resc->max_irqs, hw_resc->max_nqs); in bnxt_get_max_func_irqs()
9101 return min_t(unsigned int, hw_resc->max_irqs, hw_resc->max_cp_rings); in bnxt_get_max_func_irqs()
9104 static void bnxt_set_max_func_irqs(struct bnxt *bp, unsigned int max_irqs) in bnxt_set_max_func_irqs() argument
9106 bp->hw_resc.max_irqs = max_irqs; in bnxt_set_max_func_irqs()
13626 int rc, max_irqs; in bnxt_init_one() local
13639 max_irqs = bnxt_get_max_irq(pdev); in bnxt_init_one()
13640 dev = alloc_etherdev_mq(sizeof(*bp), max_irqs); in bnxt_init_one()
13647 bnxt_set_max_func_irqs(bp, max_irqs); in bnxt_init_one()
Dbnxt.h1125 u16 max_irqs; member