Home
last modified time | relevance | path

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

12345

/Linux-v6.6/drivers/perf/
Darm_dmc620_pmu.c82 unsigned int irq_num; member
366 static irqreturn_t dmc620_pmu_handle_irq(int irq_num, void *data) in dmc620_pmu_handle_irq() argument
426 static struct dmc620_pmu_irq *__dmc620_pmu_get_irq(int irq_num) in __dmc620_pmu_get_irq() argument
432 if (irq->irq_num == irq_num && refcount_inc_not_zero(&irq->refcount)) in __dmc620_pmu_get_irq()
445 ret = request_irq(irq_num, dmc620_pmu_handle_irq, in __dmc620_pmu_get_irq()
451 ret = irq_set_affinity(irq_num, cpumask_of(irq->cpu)); in __dmc620_pmu_get_irq()
459 irq->irq_num = irq_num; in __dmc620_pmu_get_irq()
465 free_irq(irq_num, irq); in __dmc620_pmu_get_irq()
471 static int dmc620_pmu_get_irq(struct dmc620_pmu *dmc620_pmu, int irq_num) in dmc620_pmu_get_irq() argument
476 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
378 static irqreturn_t ali_drw_pmu_isr(int irq_num, void *data) in ali_drw_pmu_isr() argument
431 *pdev, int irq_num) in __ali_drw_pmu_init_irq() argument
437 if (irq->irq_num == irq_num in __ali_drw_pmu_init_irq()
458 ret = devm_request_irq(&pdev->dev, irq_num, ali_drw_pmu_isr, in __ali_drw_pmu_init_irq()
462 "Fail to request IRQ:%d ret:%d\n", irq_num, ret); in __ali_drw_pmu_init_irq()
466 ret = irq_set_affinity_hint(irq_num, cpumask_of(irq->cpu)); in __ali_drw_pmu_init_irq()
475 irq->irq_num = irq_num; in __ali_drw_pmu_init_irq()
488 int irq_num; in ali_drw_pmu_init_irq() local
[all …]
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/net/wireless/ath/ath11k/
Dpcic.c305 free_irq(ab->irq_num[irq_grp->irqs[j]], irq_grp); in ath11k_pcic_free_ext_irq()
319 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_pcic_free_irq()
337 enable_irq(ab->irq_num[irq_idx]); in ath11k_pcic_ce_irq_enable()
351 disable_irq_nosync(ab->irq_num[irq_idx]); in ath11k_pcic_ce_irq_disable()
377 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_pcic_sync_ce_irqs()
388 enable_irq(ce_pipe->ab->irq_num[irq_idx]); in ath11k_pcic_ce_tasklet()
403 disable_irq_nosync(ab->irq_num[irq_idx]); in ath11k_pcic_ce_interrupt_handler()
422 disable_irq_nosync(irq_grp->ab->irq_num[irq_grp->irqs[i]]); in ath11k_pcic_ext_grp_disable()
456 enable_irq(irq_grp->ab->irq_num[irq_grp->irqs[i]]); in ath11k_pcic_ext_grp_enable()
486 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_pcic_sync_ext_irqs()
[all …]
/Linux-v6.6/drivers/dma/xilinx/
Dxdma.c123 u32 irq_num; member
659 u32 irq_start, u32 irq_num) in xdma_set_vector_reg() argument
665 while (irq_num > 0) { in xdma_set_vector_reg()
670 irq_num--; in xdma_set_vector_reg()
671 if (!irq_num) in xdma_set_vector_reg()
697 if (xdev->irq_num < XDMA_CHAN_NUM(xdev)) { in xdma_irq_init()
738 if (xdev->irq_num > user_irq_start) { in xdma_irq_init()
741 xdev->irq_num - user_irq_start); in xdma_irq_init()
778 void xdma_disable_user_irq(struct platform_device *pdev, u32 irq_num) in xdma_disable_user_irq() argument
783 index = irq_num - xdev->irq_start; in xdma_disable_user_irq()
[all …]
/Linux-v6.6/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-v6.6/include/linux/dma/
Damd_xdma.h12 int xdma_enable_user_irq(struct platform_device *pdev, u32 irq_num);
13 void xdma_disable_user_irq(struct platform_device *pdev, u32 irq_num);
/Linux-v6.6/drivers/i2c/busses/
Di2c-pasemi-platform.c52 int irq_num; in pasemi_platform_i2c_probe() local
82 irq_num = platform_get_irq(pdev, 0); in pasemi_platform_i2c_probe()
83 …error = devm_request_irq(smbus->dev, irq_num, pasemi_irq_handler, 0, "pasemi_apple_i2c", (void *)s… in pasemi_platform_i2c_probe()
/Linux-v6.6/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-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_trace.h76 __field(int, irq_num)
90 __entry->irq_num = q->irq_num;
101 __get_str(dev_name), __get_str(qname), __entry->irq_num,
/Linux-v6.6/arch/arm64/kvm/
Dtrace_arm.h94 TP_PROTO(unsigned int type, int vcpu_idx, int irq_num, int level),
95 TP_ARGS(type, vcpu_idx, irq_num, level),
100 __field( int, irq_num )
107 __entry->irq_num = irq_num;
115 __entry->type, __entry->vcpu_idx, __entry->irq_num, __entry->level)
/Linux-v6.6/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-v6.6/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-v6.6/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()
1026 device->irq_num[i] = gpiod_to_irq(device->gpiod[i]); in setup_gpio()
[all …]
/Linux-v6.6/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-v6.6/arch/arm/mach-omap2/
Dprm3xxx.c692 int irq_num; in omap3xxx_prm_late_init() local
711 irq_num = of_irq_get(np, 0); in omap3xxx_prm_late_init()
713 if (irq_num == -EPROBE_DEFER) in omap3xxx_prm_late_init()
714 return irq_num; in omap3xxx_prm_late_init()
716 omap3_prcm_irq_setup.irq = irq_num; in omap3xxx_prm_late_init()
/Linux-v6.6/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()
643 int irq = 0, irq_num = 0; in mmp_tdma_probe() local
662 irq_num++; in mmp_tdma_probe()
677 if (irq_num != chan_num) { in mmp_tdma_probe()
687 irq = (irq_num != chan_num) ? 0 : platform_get_irq(pdev, i); in mmp_tdma_probe()
/Linux-v6.6/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()
/Linux-v6.6/sound/soc/intel/atom/sst/
Dsst_acpi.c226 ctx->irq_num = platform_get_irq(pdev, in sst_platform_get_resources()
228 if (ctx->irq_num <= 0) in sst_platform_get_resources()
229 return ctx->irq_num < 0 ? ctx->irq_num : -EIO; in sst_platform_get_resources()

12345