Searched refs:max_irqs (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 1632 int i, ret, max_irqs; in xgene_enet_get_irqs() local 1635 max_irqs = 1; in xgene_enet_get_irqs() 1637 max_irqs = 2; in xgene_enet_get_irqs() 1639 max_irqs = XGENE_MAX_ENET_IRQ; in xgene_enet_get_irqs() 1641 for (i = 0; i < max_irqs; i++) { in xgene_enet_get_irqs() 1645 max_irqs = i; in xgene_enet_get_irqs() 1646 pdata->rxq_cnt = max_irqs / 2; in xgene_enet_get_irqs() 1647 pdata->txq_cnt = max_irqs / 2; in xgene_enet_get_irqs() 1648 pdata->cq_cnt = max_irqs / 2; in xgene_enet_get_irqs()
|
/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 1502 int max_irqs, num_irqs, i, ret; in iwl_pcie_set_interrupt_capa() local 1508 max_irqs = min_t(u32, num_online_cpus() + 2, IWL_MAX_RX_HW_QUEUES); in iwl_pcie_set_interrupt_capa() 1509 for (i = 0; i < max_irqs; i++) in iwl_pcie_set_interrupt_capa() 1514 max_irqs); in iwl_pcie_set_interrupt_capa() 1521 trans_pcie->def_irq = (num_irqs == max_irqs) ? num_irqs - 1 : 0; in iwl_pcie_set_interrupt_capa() 1534 if (num_irqs <= max_irqs - 2) { in iwl_pcie_set_interrupt_capa() 1538 } else if (num_irqs == max_irqs - 1) { in iwl_pcie_set_interrupt_capa()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.h | 768 u16 max_irqs; member 796 u16 max_irqs; member
|
D | bnxt.c | 5491 return min_t(unsigned int, bp->vf.max_irqs, in bnxt_get_max_func_irqs() 5494 return min_t(unsigned int, bp->pf.max_irqs, bp->pf.max_cp_rings); in bnxt_get_max_func_irqs() 5497 void bnxt_set_max_func_irqs(struct bnxt *bp, unsigned int max_irqs) in bnxt_set_max_func_irqs() argument 5501 bp->vf.max_irqs = max_irqs; in bnxt_set_max_func_irqs() 5504 bp->pf.max_irqs = max_irqs; in bnxt_set_max_func_irqs() 7890 *max_cp = min_t(int, bp->vf.max_irqs, bp->vf.max_cp_rings); in _bnxt_get_max_rings() 7898 *max_cp = min_t(int, bp->pf.max_irqs, bp->pf.max_cp_rings); in _bnxt_get_max_rings() 8050 int rc, max_irqs; in bnxt_init_one() local 8058 max_irqs = bnxt_get_max_irq(pdev); in bnxt_init_one() 8059 dev = alloc_etherdev_mq(sizeof(*bp), max_irqs); in bnxt_init_one() [all …]
|