/drivers/perf/ |
D | arm_dmc620_pmu.c | 77 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 …]
|
/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.h | 315 u32 irq_num = irq % IRQ_CFG_IRQ_PER_REG; in sunxi_irq_cfg_offset() local 316 return irq_num * IRQ_CFG_IRQ_BITS; in sunxi_irq_cfg_offset() 334 u32 irq_num = irq % IRQ_CTRL_IRQ_PER_REG; in sunxi_irq_ctrl_offset() local 335 return irq_num * IRQ_CTRL_IRQ_BITS; in sunxi_irq_ctrl_offset() 360 u32 irq_num = irq % IRQ_STATUS_IRQ_PER_REG; in sunxi_irq_status_offset() local 361 return irq_num * IRQ_STATUS_IRQ_BITS; in sunxi_irq_status_offset()
|
/drivers/gpu/drm/qxl/ |
D | qxl_cmd.c | 290 int irq_num; in wait_for_io_cmd_user() local 295 irq_num = atomic_read(&qdev->irq_received_io_cmd); in wait_for_io_cmd_user() 296 if (qdev->last_sent_io_cmd > irq_num) { in wait_for_io_cmd_user() 299 atomic_read(&qdev->irq_received_io_cmd) > irq_num, 5*HZ); in wait_for_io_cmd_user() 302 atomic_read(&qdev->irq_received_io_cmd) > irq_num, 5*HZ); in wait_for_io_cmd_user() 306 irq_num = atomic_read(&qdev->irq_received_io_cmd); in wait_for_io_cmd_user() 309 qdev->last_sent_io_cmd = irq_num + 1; in wait_for_io_cmd_user() 312 atomic_read(&qdev->irq_received_io_cmd) > irq_num, 5*HZ); in wait_for_io_cmd_user() 315 atomic_read(&qdev->irq_received_io_cmd) > irq_num, 5*HZ); in wait_for_io_cmd_user()
|
/drivers/mfd/ |
D | twl-core.h | 5 extern int twl6030_init_irq(struct device *dev, int irq_num); 7 extern int twl4030_init_irq(struct device *dev, int irq_num);
|
D | twl6030-irq.c | 365 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()
|
D | twl4030-irq.c | 673 int twl4030_init_irq(struct device *dev, int irq_num) in twl4030_init_irq() argument 725 irq_num, irq_base, irq_end); in twl4030_init_irq() 735 status = request_threaded_irq(irq_num, NULL, handle_twl4030_pih, in twl4030_init_irq() 739 dev_err(dev, "could not claim irq%d: %d\n", irq_num, status); in twl4030_init_irq() 742 enable_irq_wake(irq_num); in twl4030_init_irq()
|
/drivers/staging/pi433/ |
D | pi433_if.c | 77 int irq_num[NUM_DIO]; member 381 irq_set_irq_type(dev->irq_num[DIO0], IRQ_TYPE_EDGE_RISING); in pi433_start_rx() 391 irq_set_irq_type(dev->irq_num[DIO1], IRQ_TYPE_EDGE_RISING); in pi433_start_rx() 458 irq_set_irq_type(dev->irq_num[DIO0], IRQ_TYPE_EDGE_RISING); in pi433_receive() 646 disable_irq(device->irq_num[DIO0]); in pi433_tx_thread() 685 irq_set_irq_type(device->irq_num[DIO1], IRQ_TYPE_EDGE_FALLING); in pi433_tx_thread() 692 irq_set_irq_type(device->irq_num[DIO0], IRQ_TYPE_EDGE_RISING); in pi433_tx_thread() 693 enable_irq(device->irq_num[DIO0]); /* was disabled by rx active check */ in pi433_tx_thread() 1004 free_irq(device->irq_num[i], device); in setup_gpio() 1017 device->irq_num[i] = gpiod_to_irq(device->gpiod[i]); in setup_gpio() [all …]
|
/drivers/media/platform/ti-vpe/ |
D | vpdma.h | 261 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);
|
D | vpdma.c | 983 void vpdma_enable_list_complete_irq(struct vpdma_data *vpdma, int irq_num, in vpdma_enable_list_complete_irq() argument 986 u32 reg_addr = VPDMA_INT_LIST0_MASK + VPDMA_INTX_OFFSET * irq_num; in vpdma_enable_list_complete_irq() 999 unsigned int vpdma_get_list_stat(struct vpdma_data *vpdma, int irq_num) in vpdma_get_list_stat() argument 1001 u32 reg_addr = VPDMA_INT_LIST0_STAT + VPDMA_INTX_OFFSET * irq_num; in vpdma_get_list_stat() 1008 unsigned int vpdma_get_list_mask(struct vpdma_data *vpdma, int irq_num) in vpdma_get_list_mask() argument 1010 u32 reg_addr = VPDMA_INT_LIST0_MASK + VPDMA_INTX_OFFSET * irq_num; in vpdma_get_list_mask() 1017 void vpdma_clear_list_stat(struct vpdma_data *vpdma, int irq_num, in vpdma_clear_list_stat() argument 1020 u32 reg_addr = VPDMA_INT_LIST0_STAT + VPDMA_INTX_OFFSET * irq_num; in vpdma_clear_list_stat()
|
/drivers/net/wireless/ath/ath11k/ |
D | ahb.c | 166 disable_irq_nosync(irq_grp->ab->irq_num[irq_grp->irqs[i]]); in ath11k_ahb_ext_grp_disable() 191 enable_irq(irq_grp->ab->irq_num[irq_grp->irqs[i]]); in ath11k_ahb_ext_grp_enable() 250 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_ahb_sync_ce_irqs() 264 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_ahb_sync_ext_irqs() 393 free_irq(ab->irq_num[irq_grp->irqs[j]], irq_grp); in ath11k_ahb_free_ext_irq() 408 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_ahb_free_irq() 538 ab->irq_num[irq_idx] = irq; in ath11k_ahb_ext_irq_config() 575 ab->irq_num[irq_idx] = irq; in ath11k_ahb_config_irq()
|
D | pci.c | 539 free_irq(ab->irq_num[irq_grp->irqs[j]], irq_grp); in ath11k_pci_free_ext_irq() 553 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_pci_free_irq() 564 enable_irq(ab->irq_num[irq_idx]); in ath11k_pci_ce_irq_enable() 572 disable_irq_nosync(ab->irq_num[irq_idx]); in ath11k_pci_ce_irq_disable() 596 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_pci_sync_ce_irqs() 627 disable_irq_nosync(irq_grp->ab->irq_num[irq_grp->irqs[i]]); in ath11k_pci_ext_grp_disable() 652 enable_irq(irq_grp->ab->irq_num[irq_grp->irqs[i]]); in ath11k_pci_ext_grp_enable() 679 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_pci_sync_ext_irqs() 768 ab->irq_num[irq_idx] = irq; in ath11k_pci_ext_irq_config() 783 disable_irq_nosync(ab->irq_num[irq_idx]); in ath11k_pci_ext_irq_config() [all …]
|
/drivers/comedi/drivers/ |
D | ni_at_a2150.c | 641 unsigned int irq_num = it->options[1]; in a2150_alloc_irq_and_dma() local 648 if (irq_num > 15 || dma_chan > 7 || in a2150_alloc_irq_and_dma() 649 !((1 << irq_num) & 0xdef8) || !((1 << dma_chan) & 0xef)) in a2150_alloc_irq_and_dma() 652 if (request_irq(irq_num, a2150_interrupt, 0, dev->board_name, dev)) in a2150_alloc_irq_and_dma() 660 free_irq(irq_num, dev); in a2150_alloc_irq_and_dma() 662 dev->irq = irq_num; in a2150_alloc_irq_and_dma() 663 devpriv->irq_dma_bits = IRQ_LVL_BITS(irq_num) | in a2150_alloc_irq_and_dma()
|
D | pcl816.c | 574 unsigned int irq_num = it->options[1]; in pcl816_alloc_irq_and_dma() local 578 if (!(irq_num >= 2 && irq_num <= 7) || in pcl816_alloc_irq_and_dma() 582 if (request_irq(irq_num, pcl816_interrupt, 0, dev->board_name, dev)) in pcl816_alloc_irq_and_dma() 589 free_irq(irq_num, dev); in pcl816_alloc_irq_and_dma() 591 dev->irq = irq_num; in pcl816_alloc_irq_and_dma()
|
/drivers/infiniband/hw/efa/ |
D | efa_main.c | 342 int msix_vecs, irq_num; in efa_enable_msix() local 350 irq_num = pci_alloc_irq_vectors(dev->pdev, msix_vecs, in efa_enable_msix() 353 if (irq_num < 0) { in efa_enable_msix() 355 irq_num); in efa_enable_msix() 359 if (irq_num != msix_vecs) { in efa_enable_msix() 363 irq_num, msix_vecs); in efa_enable_msix()
|
/drivers/dma/ |
D | mmp_tdma.c | 333 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()
|
D | mmp_pdma.c | 218 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 1057 irq_num++; in mmp_pdma_probe() 1067 if (irq_num != dma_channels) { in mmp_pdma_probe() 1077 irq = (irq_num != dma_channels) ? 0 : platform_get_irq(op, i); in mmp_pdma_probe()
|
/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_mdio.c | 183 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()
|
/drivers/net/ethernet/ti/ |
D | davinci_emac.c | 1419 int res_num = 0, irq_num = 0; in emac_dev_open() local 1460 for (irq_num = res->start; irq_num <= res->end; irq_num++) { in emac_dev_open() 1461 if (request_irq(irq_num, emac_irq, 0, ndev->name, in emac_dev_open() 1474 irq_num--; in emac_dev_open() 1564 irq_num = res->end; in emac_dev_open() 1566 for (m = irq_num; m >= res->start; m--) in emac_dev_open() 1587 int irq_num; in emac_dev_stop() local 1605 for (irq_num = res->start; irq_num <= res->end; irq_num++) in emac_dev_stop() 1606 free_irq(irq_num, priv->ndev); in emac_dev_stop()
|
/drivers/irqchip/ |
D | irq-mtk-cirq.c | 247 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()
|
/drivers/bus/fsl-mc/ |
D | dprc.c | 181 cmd_params->irq_num = cpu_to_le32(irq_cfg->irq_num); in dprc_set_irq() 492 cmd_params->irq_num = cpu_to_le32(irq_cfg->irq_num); in dprc_set_obj_irq()
|
D | dprc-driver.c | 384 static irqreturn_t dprc_irq0_handler(int irq_num, void *arg) in dprc_irq0_handler() argument 395 static irqreturn_t dprc_irq0_handler_thread(int irq_num, void *arg) in dprc_irq0_handler_thread() argument 406 irq_num, smp_processor_id()); in dprc_irq0_handler_thread() 412 if (!msi_desc || msi_desc->irq != (u32)irq_num) in dprc_irq0_handler_thread()
|
D | fsl-mc-private.h | 134 __le32 irq_num; member 239 __le32 irq_num; member 303 int irq_num; member
|
/drivers/clocksource/ |
D | timer-sp804.c | 258 u32 irq_num = 0; in sp804_of_init() local 299 of_property_read_u32(np, "arm,sp804-has-irq", &irq_num); in sp804_of_init() 300 if (irq_num == 2) { in sp804_of_init()
|
/drivers/net/ethernet/tundra/ |
D | tsi108_eth.c | 73 unsigned int irq_num; member 1291 i = request_irq(data->irq_num, tsi108_irq, 0, dev->name, dev); in tsi108_open() 1294 data->id, data->irq_num); in tsi108_open() 1297 dev->irq = data->irq_num; in tsi108_open() 1306 free_irq(data->irq_num, dev); in tsi108_open() 1313 free_irq(data->irq_num, dev); in tsi108_open() 1412 free_irq(data->irq_num, dev); in tsi108_close() 1578 einfo->phy, einfo->irq_num); in tsi108_init_one() 1601 data->irq_num = einfo->irq_num; in tsi108_init_one()
|
/drivers/ntb/test/ |
D | ntb_msi_test.c | 26 int irq_num; member 76 if (!nm->isr_ctx[i].irq_num) { in ntb_msit_setup_work() 84 nm->isr_ctx[i].irq_num = irq; in ntb_msit_setup_work()
|