Home
last modified time | relevance | path

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

12

/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.h247 u32 irq_num = irq % IRQ_CFG_IRQ_PER_REG; in sunxi_irq_cfg_offset() local
248 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()
283 u32 irq_num = irq % IRQ_STATUS_IRQ_PER_REG; in sunxi_irq_status_offset() local
284 return irq_num * IRQ_STATUS_IRQ_BITS; in sunxi_irq_status_offset()
/drivers/mfd/
Dtwl-core.h4 extern int twl6030_init_irq(struct device *dev, int irq_num);
6 extern int twl4030_init_irq(struct device *dev, int irq_num);
Dtwl6030-irq.c378 int twl6030_init_irq(struct device *dev, int irq_num) in twl6030_init_irq() argument
437 dev_info(dev, "PIH (irq %d) nested IRQs\n", irq_num); in twl6030_init_irq()
440 status = request_threaded_irq(irq_num, NULL, twl6030_irq_thread, in twl6030_init_irq()
443 dev_err(dev, "could not claim irq %d: %d\n", irq_num, status); in twl6030_init_irq()
447 twl6030_irq->twl_irq = irq_num; in twl6030_init_irq()
Dtwl4030-irq.c684 int twl4030_init_irq(struct device *dev, int irq_num) in twl4030_init_irq() argument
736 irq_num, irq_base, irq_end); in twl4030_init_irq()
746 status = request_threaded_irq(irq_num, NULL, handle_twl4030_pih, in twl4030_init_irq()
750 dev_err(dev, "could not claim irq%d: %d\n", irq_num, status); in twl4030_init_irq()
753 enable_irq_wake(irq_num); in twl4030_init_irq()
Dtps6586x.c347 int irq_num = ARRAY_SIZE(tps6586x_irqs); in tps6586x_irq_init() local
360 new_irq_base = irq_alloc_descs(irq_base, 0, irq_num, -1); in tps6586x_irq_init()
371 irq_num, new_irq_base, &tps6586x_domain_ops, in tps6586x_irq_init()
/drivers/input/touchscreen/
Dw90p910_ts.c53 int irq_num; member
280 w90p910_ts->irq_num = platform_get_irq(pdev, 0); in w90x900ts_probe()
281 if (request_irq(w90p910_ts->irq_num, w90p910_ts_interrupt, in w90x900ts_probe()
295 fail5: free_irq(w90p910_ts->irq_num, w90p910_ts); in w90x900ts_probe()
309 free_irq(w90p910_ts->irq_num, w90p910_ts); in w90x900ts_remove()
/drivers/gpu/drm/qxl/
Dqxl_cmd.c283 int irq_num; in wait_for_io_cmd_user() local
288 irq_num = atomic_read(&qdev->irq_received_io_cmd); in wait_for_io_cmd_user()
289 if (qdev->last_sent_io_cmd > irq_num) { in wait_for_io_cmd_user()
292 atomic_read(&qdev->irq_received_io_cmd) > irq_num, 5*HZ); in wait_for_io_cmd_user()
295 atomic_read(&qdev->irq_received_io_cmd) > irq_num, 5*HZ); in wait_for_io_cmd_user()
299 irq_num = atomic_read(&qdev->irq_received_io_cmd); in wait_for_io_cmd_user()
302 qdev->last_sent_io_cmd = irq_num + 1; in wait_for_io_cmd_user()
305 atomic_read(&qdev->irq_received_io_cmd) > irq_num, 5*HZ); in wait_for_io_cmd_user()
308 atomic_read(&qdev->irq_received_io_cmd) > irq_num, 5*HZ); in wait_for_io_cmd_user()
/drivers/staging/fsl-mc/bus/
Ddprc-cmd.h130 __le32 irq_num; member
145 __le32 irq_num; member
395 __le32 irq_num; member
417 __le32 irq_num; member
Ddpmcp.c224 cmd_params->irq_num = cpu_to_le32(irq_cfg->irq_num); in dpmcp_set_irq()
269 irq_cfg->irq_num = le32_to_cpu(rsp_params->irq_num); in dpmcp_get_irq()
Ddpmcp-cmd.h72 __le32 irq_num; member
87 __le32 irq_num; member
Ddprc.c269 irq_cfg->irq_num = le32_to_cpu(rsp_params->irq_num); in dprc_get_irq()
302 cmd_params->irq_num = cpu_to_le32(irq_cfg->irq_num); in dprc_set_irq()
1025 cmd_params->irq_num = cpu_to_le32(irq_cfg->irq_num); in dprc_set_obj_irq()
1082 irq_cfg->irq_num = le32_to_cpu(rsp_params->irq_num); in dprc_get_obj_irq()
Ddpbp.c302 cmd_params->irq_num = cpu_to_le32(irq_cfg->irq_num); in dpbp_set_irq()
347 irq_cfg->irq_num = le32_to_cpu(rsp_params->irq_num); in dpbp_get_irq()
Ddprc-driver.c363 static irqreturn_t dprc_irq0_handler(int irq_num, void *arg) in dprc_irq0_handler() argument
374 static irqreturn_t dprc_irq0_handler_thread(int irq_num, void *arg) in dprc_irq0_handler_thread() argument
385 irq_num, smp_processor_id()); in dprc_irq0_handler_thread()
391 if (WARN_ON(!msi_desc || msi_desc->irq != (u32)irq_num)) in dprc_irq0_handler_thread()
/drivers/dma/
Dmmp_tdma.c332 int irq_num = 0; in mmp_tdma_int_handler() local
339 irq_num++; in mmp_tdma_int_handler()
342 if (irq_num) in mmp_tdma_int_handler()
626 int irq = 0, irq_num = 0; in mmp_tdma_probe() local
645 irq_num++; in mmp_tdma_probe()
664 if (irq_num != chan_num) { in mmp_tdma_probe()
674 irq = (irq_num != chan_num) ? 0 : platform_get_irq(pdev, i); in mmp_tdma_probe()
Dmmp_pdma.c217 int irq_num = 0; in mmp_pdma_int_handler() local
228 irq_num++; in mmp_pdma_int_handler()
231 if (irq_num) in mmp_pdma_int_handler()
931 int i, irq = 0, irq_num = 0; in mmp_pdma_remove() local
936 irq_num++; in mmp_pdma_remove()
939 if (irq_num != pdev->dma_channels) { in mmp_pdma_remove()
1017 int dma_channels = 0, irq_num = 0; in mmp_pdma_probe() local
1047 irq_num++; in mmp_pdma_probe()
1057 if (irq_num != dma_channels) { in mmp_pdma_probe()
1067 irq = (irq_num != dma_channels) ? 0 : platform_get_irq(op, i); in mmp_pdma_probe()
/drivers/staging/comedi/drivers/
Dni_at_a2150.c650 unsigned int irq_num = it->options[1]; in a2150_alloc_irq_and_dma() local
657 if (irq_num > 15 || dma_chan > 7 || in a2150_alloc_irq_and_dma()
658 !((1 << irq_num) & 0xdef8) || !((1 << dma_chan) & 0xef)) in a2150_alloc_irq_and_dma()
661 if (request_irq(irq_num, a2150_interrupt, 0, dev->board_name, dev)) in a2150_alloc_irq_and_dma()
669 free_irq(irq_num, dev); in a2150_alloc_irq_and_dma()
671 dev->irq = irq_num; in a2150_alloc_irq_and_dma()
672 devpriv->irq_dma_bits = IRQ_LVL_BITS(irq_num) | in a2150_alloc_irq_and_dma()
Dpcl816.c573 unsigned int irq_num = it->options[1]; in pcl816_alloc_irq_and_dma() local
577 if (!(irq_num >= 2 && irq_num <= 7) || in pcl816_alloc_irq_and_dma()
581 if (request_irq(irq_num, pcl816_interrupt, 0, dev->board_name, dev)) in pcl816_alloc_irq_and_dma()
588 free_irq(irq_num, dev); in pcl816_alloc_irq_and_dma()
590 dev->irq = irq_num; in pcl816_alloc_irq_and_dma()
/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_mdio.c186 char irq_num[4]; in sxgbe_mdio_register() local
213 sprintf(irq_num, "%d", phy->irq); in sxgbe_mdio_register()
214 irq_str = irq_num; in sxgbe_mdio_register()
/drivers/staging/fsl-mc/include/
Ddpbp-cmd.h81 __le32 irq_num; member
96 __le32 irq_num; member
/drivers/net/ethernet/ti/
Ddavinci_emac.c1409 int res_num = 0, irq_num = 0; in emac_dev_open() local
1450 for (irq_num = res->start; irq_num <= res->end; irq_num++) { in emac_dev_open()
1451 if (request_irq(irq_num, emac_irq, 0, ndev->name, in emac_dev_open()
1464 irq_num--; in emac_dev_open()
1548 irq_num = res->end; in emac_dev_open()
1550 for (m = irq_num; m >= res->start; m--) in emac_dev_open()
1571 int irq_num; in emac_dev_stop() local
1589 for (irq_num = res->start; irq_num <= res->end; irq_num++) in emac_dev_stop()
1590 free_irq(irq_num, priv->ndev); in emac_dev_stop()
/drivers/clocksource/
Dtimer-sp804.c226 u32 irq_num = 0; in sp804_of_init() local
262 of_property_read_u32(np, "arm,sp804-has-irq", &irq_num); in sp804_of_init()
263 if (irq_num == 2) { in sp804_of_init()
/drivers/rtc/
Drtc-nuc900.c48 int irq_num; member
252 nuc900_rtc->irq_num = platform_get_irq(pdev, 0); in nuc900_rtc_probe()
253 if (devm_request_irq(&pdev->dev, nuc900_rtc->irq_num, in nuc900_rtc_probe()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c340 char irq_num[4]; in stmmac_mdio_register() local
371 sprintf(irq_num, "%d", phydev->irq); in stmmac_mdio_register()
372 irq_str = irq_num; in stmmac_mdio_register()
/drivers/net/ethernet/tundra/
Dtsi108_eth.c85 unsigned int irq_num; member
1299 i = request_irq(data->irq_num, tsi108_irq, 0, dev->name, dev); in tsi108_open()
1302 data->id, data->irq_num); in tsi108_open()
1305 dev->irq = data->irq_num; in tsi108_open()
1417 free_irq(data->irq_num, dev); in tsi108_close()
1582 einfo->phy, einfo->irq_num); in tsi108_init_one()
1605 data->irq_num = einfo->irq_num; in tsi108_init_one()
/drivers/irqchip/
Dirq-s3c24xx.c532 int irq_num; in s3c24xx_init_intc() local
555 irq_num = 32; in s3c24xx_init_intc()
562 irq_num = 29; in s3c24xx_init_intc()
570 irq_num = 8; in s3c24xx_init_intc()
579 irq_num = 24; in s3c24xx_init_intc()
590 intc->domain = irq_domain_add_legacy(np, irq_num, irq_start, in s3c24xx_init_intc()

12