Home
last modified time | relevance | path

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

12345

/linux-6.3-rc2/drivers/perf/
A Darm_dmc620_pmu.c77 unsigned int irq_num; member
405 if (irq->irq_num == irq_num && refcount_inc_not_zero(&irq->refcount)) 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()
449 irq = __dmc620_pmu_get_irq(irq_num); in dmc620_pmu_get_irq()
478 free_irq(irq->irq_num, irq); in dmc620_pmu_put_irq()
635 int irq_num; in dmc620_pmu_device_probe() local
669 irq_num = platform_get_irq(pdev, 0); in dmc620_pmu_device_probe()
670 if (irq_num < 0) in dmc620_pmu_device_probe()
671 return irq_num; in dmc620_pmu_device_probe()
[all …]
A Dalibaba_uncore_drw_pmu.c88 int irq_num; member
99 int irq_num; member
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()
435 "Fail to request IRQ:%d ret:%d\n", irq_num, ret); 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
465 irq_num = platform_get_irq(pdev, 0); in ali_drw_pmu_init_irq()
466 if (irq_num < 0) in ali_drw_pmu_init_irq()
467 return irq_num; in ali_drw_pmu_init_irq()
[all …]
/linux-6.3-rc2/arch/m68k/mac/
A 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()
A 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()
A 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()
A 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.3-rc2/arch/m68k/virt/
A 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.3-rc2/drivers/pinctrl/sunxi/
A 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.3-rc2/drivers/net/wireless/ath/ath11k/
A Dpcic.c305 free_irq(ab->irq_num[irq_grp->irqs[j]], irq_grp); in ath11k_pcic_free_ext_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()
487 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_pcic_sync_ext_irqs()
597 ab->irq_num[irq_idx] = irq; in ath11k_pcic_ext_irq_config()
660 ab->irq_num[irq_idx] = irq; in ath11k_pcic_config_irq()
815 disable_irq_nosync(ab->irq_num[irq_idx]); in ath11k_pci_disable_ce_irqs_except_wake_irq()
[all …]
/linux-6.3-rc2/drivers/dma/xilinx/
A 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()
695 if (xdev->irq_num < XDMA_CHAN_NUM(xdev)) { in xdma_irq_init()
736 if (xdev->irq_num > user_irq_start) { in xdma_irq_init()
739 xdev->irq_num - user_irq_start); in xdma_irq_init()
781 index = irq_num - xdev->irq_start; in xdma_disable_user_irq()
782 if (index < XDMA_CHAN_NUM(xdev) || index >= xdev->irq_num) { in xdma_disable_user_irq()
803 index = irq_num - xdev->irq_start; in xdma_enable_user_irq()
[all …]
/linux-6.3-rc2/drivers/mfd/
A 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);
A 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.3-rc2/include/linux/dma/
A 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-6.3-rc2/drivers/i2c/busses/
A Di2c-pasemi-platform.c52 int irq_num; in pasemi_platform_i2c_probe() local
86 irq_num = platform_get_irq(pdev, 0); in pasemi_platform_i2c_probe()
87 …error = devm_request_irq(smbus->dev, irq_num, pasemi_irq_handler, 0, "pasemi_apple_i2c", (void *)s… in pasemi_platform_i2c_probe()
/linux-6.3-rc2/arch/arm64/kvm/
A 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-6.3-rc2/drivers/gpu/drm/qxl/
A 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.3-rc2/drivers/net/ethernet/intel/i40e/
A 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-6.3-rc2/drivers/media/platform/ti/vpe/
A 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.3-rc2/arch/arm/mach-omap1/
A 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.3-rc2/drivers/staging/pi433/
A Dpi433_if.c80 int irq_num[NUM_DIO]; member
386 irq_set_irq_type(dev->irq_num[DIO0], IRQ_TYPE_EDGE_RISING); in pi433_start_rx()
396 irq_set_irq_type(dev->irq_num[DIO1], IRQ_TYPE_EDGE_RISING); in pi433_start_rx()
462 irq_set_irq_type(dev->irq_num[DIO0], IRQ_TYPE_EDGE_RISING); in pi433_receive()
649 disable_irq(device->irq_num[DIO0]); in pi433_tx_thread()
1015 free_irq(device->irq_num[i], device); in setup_gpio()
1028 device->irq_num[i] = gpiod_to_irq(device->gpiod[i]); in setup_gpio()
1029 if (device->irq_num[i] < 0) { in setup_gpio()
1031 return device->irq_num[i]; in setup_gpio()
1033 retval = request_irq(device->irq_num[i], in setup_gpio()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/ti/
A 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()
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
1634 for (irq_num = res->start; irq_num <= res->end; irq_num++) in emac_dev_stop()
[all …]
/linux-6.3-rc2/arch/arm/mach-omap2/
A 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-6.3-rc2/drivers/dma/
A 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-6.3-rc2/drivers/comedi/drivers/
A 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-6.3-rc2/sound/soc/intel/atom/sst/
A 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()

Completed in 44 milliseconds

12345