Home
last modified time | relevance | path

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

/drivers/mfd/
Dtwl6030-irq.c350 int twl6030_init_irq(struct device *dev, int irq_num) in twl6030_init_irq() argument
398 irq_set_chip_data(i, (void *)irq_num); in twl6030_init_irq()
403 irq_num, irq_base, irq_end); in twl6030_init_irq()
408 status = request_irq(irq_num, handle_twl6030_pih, 0, "TWL6030-PIH", in twl6030_init_irq()
411 dev_err(dev, "could not claim irq %d: %d\n", irq_num, status); in twl6030_init_irq()
415 task = kthread_run(twl6030_irq_thread, (void *)irq_num, "twl6030-irq"); in twl6030_init_irq()
417 dev_err(dev, "could not create irq %d thread!\n", irq_num); in twl6030_init_irq()
422 twl_irq = irq_num; in twl6030_init_irq()
427 free_irq(irq_num, &irq_event); in twl6030_init_irq()
Dtps65910-irq.c74 for (i = 0; i < tps65910->irq_num; i++) { in tps65910_irq()
191 tps65910->irq_num = TPS65910_NUM_IRQ; in tps65910_irq_init()
194 tps65910->irq_num = TPS65911_NUM_IRQ; in tps65910_irq_init()
200 cur_irq < tps65910->irq_num + tps65910->irq_base; in tps65910_irq_init()
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);
Dtps65912-irq.c72 for (i = 0; i < tps65912->irq_num; i++) { in tps65912_irq()
191 tps65912->irq_num = TPS65912_NUM_IRQ; in tps65912_irq_init()
195 cur_irq < tps65912->irq_num + tps65912->irq_base; in tps65912_irq_init()
Dtwl4030-irq.c691 int twl4030_init_irq(struct device *dev, int irq_num) in twl4030_init_irq() argument
743 irq_num, irq_base, irq_end); in twl4030_init_irq()
753 status = request_threaded_irq(irq_num, NULL, handle_twl4030_pih, in twl4030_init_irq()
757 dev_err(dev, "could not claim irq%d: %d\n", irq_num, status); in twl4030_init_irq()
/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/net/ethernet/stmicro/stmmac/
Dstmmac_mdio.c180 char irq_num[4]; in stmmac_mdio_register() local
212 sprintf(irq_num, "%d", phydev->irq); in stmmac_mdio_register()
213 irq_str = irq_num; in stmmac_mdio_register()
/drivers/rtc/
Drtc-nuc900.c48 int irq_num; member
270 nuc900_rtc->irq_num = platform_get_irq(pdev, 0); in nuc900_rtc_probe()
271 if (request_irq(nuc900_rtc->irq_num, nuc900_rtc_interrupt, in nuc900_rtc_probe()
292 free_irq(nuc900_rtc->irq_num, nuc900_rtc); in nuc900_rtc_remove()
/drivers/net/ethernet/tundra/
Dtsi108_eth.c86 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()
1428 free_irq(data->irq_num, dev); in tsi108_close()
1593 einfo->phy, einfo->irq_num); in tsi108_init_one()
1616 data->irq_num = einfo->irq_num; in tsi108_init_one()
/drivers/media/video/omap3isp/
Disp.c1986 free_irq(isp->irq_num, isp); in isp_remove()
2144 isp->irq_num = platform_get_irq(pdev, 0); in isp_probe()
2145 if (isp->irq_num <= 0) { in isp_probe()
2151 if (request_irq(isp->irq_num, isp_isr, IRQF_SHARED, "OMAP3 ISP", isp)) { in isp_probe()
2174 free_irq(isp->irq_num, isp); in isp_probe()
Disp.h176 unsigned int irq_num; member
/drivers/net/ethernet/ti/
Ddavinci_emac.c1663 int irq_num; in emac_dev_stop() local
1681 for (irq_num = res->start; irq_num <= res->end; irq_num++) in emac_dev_stop()
1682 free_irq(irq_num, priv->ndev); in emac_dev_stop()
/drivers/pci/hotplug/
Dcpqphp_pci.c155 int cpqhp_set_irq (u8 bus_num, u8 dev_num, u8 int_pin, u8 irq_num) in cpqhp_set_irq() argument
176 __func__, dev_num, bus_num, int_pin, irq_num); in cpqhp_set_irq()
177 rc = pcibios_set_irq_routing(fakedev, int_pin - 1, irq_num); in cpqhp_set_irq()
188 temp_word |= 0x01 << irq_num; in cpqhp_set_irq()
Dcpqphp.h430 extern int cpqhp_set_irq(u8 bus_num, u8 dev_num, u8 int_pin, u8 irq_num);
/drivers/media/video/davinci/
Dvpif_display.c1893 int irq_num; in vpif_cleanup() local
1899 for (irq_num = res->start; irq_num <= res->end; irq_num++) in vpif_cleanup()
1900 free_irq(irq_num, in vpif_cleanup()
Dvpif_capture.c2392 int irq_num; in vpif_cleanup() local
2397 for (irq_num = res->start; irq_num <= res->end; irq_num++) in vpif_cleanup()
2398 free_irq(irq_num, in vpif_cleanup()
/drivers/usb/gadget/
Dpch_udc.c1378 int irq_num = 0; in pch_vbus_gpio_init() local
1404 irq_num = gpio_to_irq(vbus_gpio_port); in pch_vbus_gpio_init()
1405 if (irq_num > 0) { in pch_vbus_gpio_init()
1406 irq_set_irq_type(irq_num, IRQ_TYPE_EDGE_BOTH); in pch_vbus_gpio_init()
1407 err = request_irq(irq_num, pch_vbus_gpio_irq, 0, in pch_vbus_gpio_init()
1410 dev->vbus_gpio.intr = irq_num; in pch_vbus_gpio_init()
1415 __func__, irq_num, err); in pch_vbus_gpio_init()
/drivers/net/ethernet/broadcom/
Dtg3.c9707 static int tg3_request_irq(struct tg3 *tp, int irq_num) in tg3_request_irq() argument
9712 struct tg3_napi *tnapi = &tp->napi[irq_num]; in tg3_request_irq()
9718 snprintf(name, IFNAMSIZ, "%s-%d", tp->dev->name, irq_num); in tg3_request_irq()