Home
last modified time | relevance | path

Searched refs:irq_num (Results 1 – 25 of 101) sorted by relevance

12345

/linux-6.1.9/drivers/perf/
Darm_dmc620_pmu.c77 unsigned int irq_num; member
339 static irqreturn_t dmc620_pmu_handle_irq(int irq_num, void *data) in dmc620_pmu_handle_irq() argument
399 static struct dmc620_pmu_irq *__dmc620_pmu_get_irq(int irq_num) in __dmc620_pmu_get_irq() argument
405 if (irq->irq_num == irq_num && refcount_inc_not_zero(&irq->refcount)) in __dmc620_pmu_get_irq()
418 ret = request_irq(irq_num, dmc620_pmu_handle_irq, in __dmc620_pmu_get_irq()
424 ret = irq_set_affinity(irq_num, cpumask_of(irq->cpu)); in __dmc620_pmu_get_irq()
432 irq->irq_num = irq_num; in __dmc620_pmu_get_irq()
438 free_irq(irq_num, irq); in __dmc620_pmu_get_irq()
444 static int dmc620_pmu_get_irq(struct dmc620_pmu *dmc620_pmu, int irq_num) in dmc620_pmu_get_irq() argument
449 irq = __dmc620_pmu_get_irq(irq_num); in dmc620_pmu_get_irq()
[all …]
Dalibaba_uncore_drw_pmu.c88 int irq_num; member
99 int irq_num; member
351 static irqreturn_t ali_drw_pmu_isr(int irq_num, void *data) in ali_drw_pmu_isr() argument
404 *pdev, int irq_num) in __ali_drw_pmu_init_irq() argument
410 if (irq->irq_num == irq_num in __ali_drw_pmu_init_irq()
431 ret = devm_request_irq(&pdev->dev, irq_num, ali_drw_pmu_isr, in __ali_drw_pmu_init_irq()
435 "Fail to request IRQ:%d ret:%d\n", irq_num, ret); in __ali_drw_pmu_init_irq()
439 ret = irq_set_affinity_hint(irq_num, cpumask_of(irq->cpu)); in __ali_drw_pmu_init_irq()
448 irq->irq_num = irq_num; in __ali_drw_pmu_init_irq()
461 int irq_num; in ali_drw_pmu_init_irq() local
[all …]
/linux-6.1.9/arch/m68k/mac/
Dbaboon.c47 int irq_num; in baboon_irq() local
50 irq_num = IRQ_BABOON_0; in baboon_irq()
55 generic_handle_irq(irq_num); in baboon_irq()
57 ++irq_num; in baboon_irq()
Dvia.c384 int irq_num; in via1_irq() local
391 irq_num = IRQ_MAC_TIMER_1; in via1_irq()
398 generic_handle_irq(irq_num); in via1_irq()
406 irq_num = VIA1_SOURCE_BASE; in via1_irq()
411 generic_handle_irq(irq_num); in via1_irq()
413 ++irq_num; in via1_irq()
420 int irq_num; in via2_irq() local
427 irq_num = VIA2_SOURCE_BASE; in via2_irq()
432 generic_handle_irq(irq_num); in via2_irq()
434 ++irq_num; in via2_irq()
Dpsc.c121 int irq_num; in psc_irq() local
128 irq_num = irq << 3; in psc_irq()
133 generic_handle_irq(irq_num); in psc_irq()
135 irq_num++; in psc_irq()
Doss.c73 int irq_num; in oss_nubus_irq() local
76 irq_num = NUBUS_SOURCE_BASE + 5; in oss_nubus_irq()
81 generic_handle_irq(irq_num); in oss_nubus_irq()
83 --irq_num; in oss_nubus_irq()
/linux-6.1.9/arch/m68k/virt/
Dints.c116 unsigned int irq_num; in goldfish_pic_irq() local
120 irq_num = IRQ_USER + pic * 32; in goldfish_pic_irq()
124 generic_handle_irq(irq_num); in goldfish_pic_irq()
125 ++irq_num; in goldfish_pic_irq()
/linux-6.1.9/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.h246 u32 irq_num = irq % IRQ_CFG_IRQ_PER_REG; in sunxi_irq_cfg_offset() local
247 return irq_num * IRQ_CFG_IRQ_BITS; in sunxi_irq_cfg_offset()
265 u32 irq_num = irq % IRQ_CTRL_IRQ_PER_REG; in sunxi_irq_ctrl_offset() local
266 return irq_num * IRQ_CTRL_IRQ_BITS; in sunxi_irq_ctrl_offset()
291 u32 irq_num = irq % IRQ_STATUS_IRQ_PER_REG; in sunxi_irq_status_offset() local
292 return irq_num * IRQ_STATUS_IRQ_BITS; in sunxi_irq_status_offset()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dpcic.c298 free_irq(ab->irq_num[irq_grp->irqs[j]], irq_grp); in ath11k_pcic_free_ext_irq()
312 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_pcic_free_irq()
330 enable_irq(ab->irq_num[irq_idx]); in ath11k_pcic_ce_irq_enable()
344 disable_irq_nosync(ab->irq_num[irq_idx]); in ath11k_pcic_ce_irq_disable()
370 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_pcic_sync_ce_irqs()
381 enable_irq(ce_pipe->ab->irq_num[irq_idx]); in ath11k_pcic_ce_tasklet()
396 disable_irq_nosync(ab->irq_num[irq_idx]); in ath11k_pcic_ce_interrupt_handler()
415 disable_irq_nosync(irq_grp->ab->irq_num[irq_grp->irqs[i]]); in ath11k_pcic_ext_grp_disable()
449 enable_irq(irq_grp->ab->irq_num[irq_grp->irqs[i]]); in ath11k_pcic_ext_grp_enable()
480 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_pcic_sync_ext_irqs()
[all …]
/linux-6.1.9/arch/arm64/kvm/
Dtrace_arm.h93 TP_PROTO(unsigned int type, int vcpu_idx, int irq_num, int level),
94 TP_ARGS(type, vcpu_idx, irq_num, level),
99 __field( int, irq_num )
106 __entry->irq_num = irq_num;
114 __entry->type, __entry->vcpu_idx, __entry->irq_num, __entry->level)
/linux-6.1.9/drivers/mfd/
Dtwl-core.h5 extern int twl6030_init_irq(struct device *dev, int irq_num);
7 extern int twl4030_init_irq(struct device *dev, int irq_num);
Dtwl6030-irq.c365 int twl6030_init_irq(struct device *dev, int irq_num) in twl6030_init_irq() argument
422 dev_info(dev, "PIH (irq %d) nested IRQs\n", irq_num); in twl6030_init_irq()
425 status = request_threaded_irq(irq_num, NULL, twl6030_irq_thread, in twl6030_init_irq()
428 dev_err(dev, "could not claim irq %d: %d\n", irq_num, status); in twl6030_init_irq()
432 twl6030_irq->twl_irq = irq_num; in twl6030_init_irq()
/linux-6.1.9/drivers/gpu/drm/qxl/
Dqxl_cmd.c282 int irq_num; in wait_for_io_cmd_user() local
287 irq_num = atomic_read(&qdev->irq_received_io_cmd); in wait_for_io_cmd_user()
288 if (qdev->last_sent_io_cmd > irq_num) { in wait_for_io_cmd_user()
291 atomic_read(&qdev->irq_received_io_cmd) > irq_num, 5*HZ); in wait_for_io_cmd_user()
294 atomic_read(&qdev->irq_received_io_cmd) > irq_num, 5*HZ); in wait_for_io_cmd_user()
298 irq_num = atomic_read(&qdev->irq_received_io_cmd); in wait_for_io_cmd_user()
301 qdev->last_sent_io_cmd = irq_num + 1; in wait_for_io_cmd_user()
304 atomic_read(&qdev->irq_received_io_cmd) > irq_num, 5*HZ); in wait_for_io_cmd_user()
307 atomic_read(&qdev->irq_received_io_cmd) > irq_num, 5*HZ); in wait_for_io_cmd_user()
/linux-6.1.9/drivers/media/platform/ti/vpe/
Dvpdma.h261 void vpdma_enable_list_complete_irq(struct vpdma_data *vpdma, int irq_num,
263 void vpdma_clear_list_stat(struct vpdma_data *vpdma, int irq_num,
265 unsigned int vpdma_get_list_stat(struct vpdma_data *vpdma, int irq_num);
266 unsigned int vpdma_get_list_mask(struct vpdma_data *vpdma, int irq_num);
/linux-6.1.9/arch/arm/mach-omap1/
Dams-delta-fiq.c56 int gpio, irq_num, fiq_count; in deferred_fiq() local
65 irq_num = d->irq; in deferred_fiq()
79 generic_handle_irq(irq_num); in deferred_fiq()
/linux-6.1.9/drivers/staging/pi433/
Dpi433_if.c79 int irq_num[NUM_DIO]; member
385 irq_set_irq_type(dev->irq_num[DIO0], IRQ_TYPE_EDGE_RISING); in pi433_start_rx()
395 irq_set_irq_type(dev->irq_num[DIO1], IRQ_TYPE_EDGE_RISING); in pi433_start_rx()
461 irq_set_irq_type(dev->irq_num[DIO0], IRQ_TYPE_EDGE_RISING); in pi433_receive()
648 disable_irq(device->irq_num[DIO0]); in pi433_tx_thread()
687 irq_set_irq_type(device->irq_num[DIO1], IRQ_TYPE_EDGE_FALLING); in pi433_tx_thread()
694 irq_set_irq_type(device->irq_num[DIO0], IRQ_TYPE_EDGE_RISING); in pi433_tx_thread()
695 enable_irq(device->irq_num[DIO0]); /* was disabled by rx active check */ in pi433_tx_thread()
1014 free_irq(device->irq_num[i], device); in setup_gpio()
1027 device->irq_num[i] = gpiod_to_irq(device->gpiod[i]); in setup_gpio()
[all …]
/linux-6.1.9/drivers/net/ethernet/ti/
Ddavinci_emac.c1418 int res_num = 0, irq_num = 0; in emac_dev_open() local
1469 for (irq_num = res->start; irq_num <= res->end; irq_num++) { in emac_dev_open()
1470 ret = request_irq(irq_num, emac_irq, 0, ndev->name, ndev); in emac_dev_open()
1480 irq_num--; in emac_dev_open()
1567 irq_num = platform_get_irq(priv->pdev, q); in emac_dev_open()
1568 if (irq_num > 0) in emac_dev_open()
1569 free_irq(irq_num, ndev); in emac_dev_open()
1578 irq_num = res->end; in emac_dev_open()
1580 for (m = irq_num; m >= res->start; m--) in emac_dev_open()
1602 int irq_num; in emac_dev_stop() local
[all …]
/linux-6.1.9/arch/arm/mach-omap2/
Dprm3xxx.c691 int irq_num; in omap3xxx_prm_late_init() local
710 irq_num = of_irq_get(np, 0); in omap3xxx_prm_late_init()
712 if (irq_num == -EPROBE_DEFER) in omap3xxx_prm_late_init()
713 return irq_num; in omap3xxx_prm_late_init()
715 omap3_prcm_irq_setup.irq = irq_num; in omap3xxx_prm_late_init()
/linux-6.1.9/drivers/comedi/drivers/
Dni_at_a2150.c639 unsigned int irq_num = it->options[1]; in a2150_alloc_irq_and_dma() local
646 if (irq_num > 15 || dma_chan > 7 || in a2150_alloc_irq_and_dma()
647 !((1 << irq_num) & 0xdef8) || !((1 << dma_chan) & 0xef)) in a2150_alloc_irq_and_dma()
650 if (request_irq(irq_num, a2150_interrupt, 0, dev->board_name, dev)) in a2150_alloc_irq_and_dma()
658 free_irq(irq_num, dev); in a2150_alloc_irq_and_dma()
660 dev->irq = irq_num; in a2150_alloc_irq_and_dma()
661 devpriv->irq_dma_bits = IRQ_LVL_BITS(irq_num) | in a2150_alloc_irq_and_dma()
Dpcl816.c572 unsigned int irq_num = it->options[1]; in pcl816_alloc_irq_and_dma() local
576 if (!(irq_num >= 2 && irq_num <= 7) || in pcl816_alloc_irq_and_dma()
580 if (request_irq(irq_num, pcl816_interrupt, 0, dev->board_name, dev)) in pcl816_alloc_irq_and_dma()
587 free_irq(irq_num, dev); in pcl816_alloc_irq_and_dma()
589 dev->irq = irq_num; in pcl816_alloc_irq_and_dma()
/linux-6.1.9/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_mdio.c183 char irq_num[4]; in sxgbe_mdio_register() local
210 sprintf(irq_num, "%d", phy->irq); in sxgbe_mdio_register()
211 irq_str = irq_num; in sxgbe_mdio_register()
/linux-6.1.9/sound/soc/intel/atom/sst/
Dsst_acpi.c227 ctx->irq_num = platform_get_irq(pdev, in sst_platform_get_resources()
229 if (ctx->irq_num <= 0) in sst_platform_get_resources()
230 return ctx->irq_num < 0 ? ctx->irq_num : -EIO; in sst_platform_get_resources()
/linux-6.1.9/drivers/irqchip/
Dirq-mtk-cirq.c247 unsigned int irq_num; in mtk_cirq_of_init() local
277 irq_num = cirq_data->ext_irq_end - cirq_data->ext_irq_start + 1; in mtk_cirq_of_init()
279 irq_num, node, in mtk_cirq_of_init()
/linux-6.1.9/drivers/dma/
Dmmp_tdma.c333 int irq_num = 0; in mmp_tdma_int_handler() local
340 irq_num++; in mmp_tdma_int_handler()
343 if (irq_num) in mmp_tdma_int_handler()
644 int irq = 0, irq_num = 0; in mmp_tdma_probe() local
663 irq_num++; in mmp_tdma_probe()
682 if (irq_num != chan_num) { in mmp_tdma_probe()
692 irq = (irq_num != chan_num) ? 0 : platform_get_irq(pdev, i); in mmp_tdma_probe()
Dmmp_pdma.c218 int irq_num = 0; in mmp_pdma_int_handler() local
229 irq_num++; in mmp_pdma_int_handler()
232 if (irq_num) in mmp_pdma_int_handler()
939 int i, irq = 0, irq_num = 0; in mmp_pdma_remove() local
946 irq_num++; in mmp_pdma_remove()
949 if (irq_num != pdev->dma_channels) { in mmp_pdma_remove()
1027 int dma_channels = 0, irq_num = 0; in mmp_pdma_probe() local
1061 irq_num++; in mmp_pdma_probe()
1071 if (irq_num != dma_channels) { in mmp_pdma_probe()
1081 irq = (irq_num != dma_channels) ? 0 : platform_get_irq(op, i); in mmp_pdma_probe()

12345