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.c1648 int max_irqs, num_irqs, i, ret; in iwl_pcie_set_interrupt_capa() local
1658 max_irqs = min_t(u32, num_online_cpus() + 2, max_rx_queues); in iwl_pcie_set_interrupt_capa()
1659 for (i = 0; i < max_irqs; i++) in iwl_pcie_set_interrupt_capa()
1664 max_irqs); in iwl_pcie_set_interrupt_capa()
1671 trans_pcie->def_irq = (num_irqs == max_irqs) ? num_irqs - 1 : 0; in iwl_pcie_set_interrupt_capa()
1684 if (num_irqs <= max_irqs - 2) { in iwl_pcie_set_interrupt_capa()
1688 } else if (num_irqs == max_irqs - 1) { in iwl_pcie_set_interrupt_capa()
/drivers/net/ethernet/microsoft/mana/
Dgdma_main.c1251 unsigned int max_irqs, cpu; in mana_gd_setup_irqs() local
1259 max_irqs = max_queues_per_port + 1; in mana_gd_setup_irqs()
1261 nvec = pci_alloc_irq_vectors(pdev, 2, max_irqs, PCI_IRQ_MSIX); in mana_gd_setup_irqs()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c9067 return min_t(unsigned int, hw_resc->max_irqs, hw_resc->max_nqs); in bnxt_get_max_func_irqs()
9069 return min_t(unsigned int, hw_resc->max_irqs, hw_resc->max_cp_rings); in bnxt_get_max_func_irqs()
9072 static void bnxt_set_max_func_irqs(struct bnxt *bp, unsigned int max_irqs) in bnxt_set_max_func_irqs() argument
9074 bp->hw_resc.max_irqs = max_irqs; in bnxt_set_max_func_irqs()
13605 int rc, max_irqs; in bnxt_init_one() local
13618 max_irqs = bnxt_get_max_irq(pdev); in bnxt_init_one()
13619 dev = alloc_etherdev_mq(sizeof(*bp), max_irqs); in bnxt_init_one()
13626 bnxt_set_max_func_irqs(bp, max_irqs); in bnxt_init_one()
Dbnxt.h1130 u16 max_irqs; member