Searched refs:irq_cnt (Results 1 – 6 of 6) sorted by relevance
/drivers/dma/sh/ |
D | shdmac.c | 678 int err, errirq, i, irq_cnt = 0, irqres = 0, irq_cap = 0; in sh_dmae_probe() local 809 for (; irq_cnt < pdata->channel_num; irq_cnt++) { in sh_dmae_probe() 810 if (irq_cnt < SH_DMAE_MAX_CHANNELS) { in sh_dmae_probe() 811 chan_irq[irq_cnt] = chanirq_res->start; in sh_dmae_probe() 812 chan_flag[irq_cnt] = IRQF_SHARED; in sh_dmae_probe() 821 if (irq_cnt >= SH_DMAE_MAX_CHANNELS) { in sh_dmae_probe() 828 chan_flag[irq_cnt] = IRQF_SHARED; in sh_dmae_probe() 830 chan_flag[irq_cnt] = 0; in sh_dmae_probe() 833 i, irq_cnt); in sh_dmae_probe() 834 chan_irq[irq_cnt++] = i; in sh_dmae_probe() [all …]
|
/drivers/net/ethernet/freescale/ |
D | fec_main.c | 3545 int irq_cnt = platform_irq_count(pdev); in fec_enet_get_irq_cnt() local 3547 if (irq_cnt > FEC_IRQ_NUM) in fec_enet_get_irq_cnt() 3548 irq_cnt = FEC_IRQ_NUM; /* last for pps */ in fec_enet_get_irq_cnt() 3549 else if (irq_cnt == 2) in fec_enet_get_irq_cnt() 3550 irq_cnt = 1; /* last for pps */ in fec_enet_get_irq_cnt() 3551 else if (irq_cnt <= 0) in fec_enet_get_irq_cnt() 3552 irq_cnt = 1; /* At least 1 irq is needed */ in fec_enet_get_irq_cnt() 3553 return irq_cnt; in fec_enet_get_irq_cnt() 3605 int irq_cnt; in fec_probe() local 3758 irq_cnt = fec_enet_get_irq_cnt(pdev); in fec_probe() [all …]
|
/drivers/net/ethernet/broadcom/ |
D | tg3.c | 1017 for (i = 0; i < tp->irq_cnt; i++) { in tg3_enable_ints() 6488 for (i = 0; i < tp->irq_cnt; i++) { in tg3_dump_state() 7385 for (i = tp->irq_cnt - 1; i >= 0; i--) in tg3_napi_disable() 7393 for (i = 0; i < tp->irq_cnt; i++) in tg3_napi_enable() 7402 for (i = 1; i < tp->irq_cnt; i++) in tg3_napi_init() 7410 for (i = 0; i < tp->irq_cnt; i++) in tg3_napi_fini() 7454 for (i = 0; i < tp->irq_cnt; i++) in tg3_irq_quiesce() 7646 for (i = 0; i < tp->irq_cnt; i++) in tg3_poll_controller() 8555 for (j = 0; j < tp->irq_cnt; j++) { in tg3_free_rings() 8592 for (i = 0; i < tp->irq_cnt; i++) { in tg3_init_rings() [all …]
|
D | tg3.h | 3416 unsigned int irq_cnt; member
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 1961 int msix_vecs, irq_cnt; in ena_enable_msix() local 1974 irq_cnt = pci_alloc_irq_vectors(adapter->pdev, ENA_MIN_MSIX_VEC, in ena_enable_msix() 1977 if (irq_cnt < 0) { in ena_enable_msix() 1979 "Failed to enable MSI-X. irq_cnt %d\n", irq_cnt); in ena_enable_msix() 1983 if (irq_cnt != msix_vecs) { in ena_enable_msix() 1986 irq_cnt, msix_vecs); in ena_enable_msix() 1987 adapter->num_io_queues = irq_cnt - ENA_ADMIN_MSIX_VEC; in ena_enable_msix() 1994 adapter->msix_vecs = irq_cnt; in ena_enable_msix()
|
/drivers/gpio/ |
D | gpio-sta2x11.c | 337 gc->irq_cnt = i - gc->irq_base; in gsta_alloc_irq_chip()
|