Searched refs:res_irq (Results 1 - 10 of 10) sorted by relevance

/linux-4.1.27/drivers/ide/
H A Dide_platform.c51 struct resource *res_base, *res_alt, *res_irq; plat_ide_probe() local
75 res_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); plat_ide_probe()
76 if (!res_irq) { plat_ide_probe()
94 plat_ide_setup_ports(&hw, base, alt_base, pdata, res_irq->start); plat_ide_probe()
97 d.irq_flags = res_irq->flags & IRQF_TRIGGER_MASK; plat_ide_probe()
98 if (res_irq->flags & IORESOURCE_IRQ_SHAREABLE) plat_ide_probe()
/linux-4.1.27/drivers/isdn/hisax/
H A Dsportster.c149 cs->hw.spt.res_irq |= SPORTSTER_RESET; /* Reset On */ reset_sportster()
150 byteout(cs->hw.spt.cfg_reg + SPORTSTER_RES_IRQ, cs->hw.spt.res_irq); reset_sportster()
152 cs->hw.spt.res_irq &= ~SPORTSTER_RESET; /* Reset Off */ reset_sportster()
153 byteout(cs->hw.spt.cfg_reg + SPORTSTER_RES_IRQ, cs->hw.spt.res_irq); reset_sportster()
175 cs->hw.spt.res_irq |= SPORTSTER_INTE; /* IRQ On */ Sportster_card_msg()
176 byteout(cs->hw.spt.cfg_reg + SPORTSTER_RES_IRQ, cs->hw.spt.res_irq); Sportster_card_msg()
229 case 5: cs->hw.spt.res_irq = 1; setup_sportster()
231 case 7: cs->hw.spt.res_irq = 2; setup_sportster()
233 case 10:cs->hw.spt.res_irq = 3; setup_sportster()
235 case 11:cs->hw.spt.res_irq = 4; setup_sportster()
237 case 12:cs->hw.spt.res_irq = 5; setup_sportster()
239 case 14:cs->hw.spt.res_irq = 6; setup_sportster()
241 case 15:cs->hw.spt.res_irq = 7; setup_sportster()
H A Dhisax.h664 unsigned char res_irq; member in struct:spt_hw
/linux-4.1.27/drivers/net/can/sja1000/
H A Dsja1000_platform.c163 struct resource *res_mem, *res_irq = NULL; sp_probe() local
189 res_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); sp_probe()
191 if (!irq && !res_irq) sp_probe()
199 if (res_irq) { sp_probe()
200 irq = res_irq->start; sp_probe()
201 priv->irq_flags = res_irq->flags & IRQF_TRIGGER_MASK; sp_probe()
202 if (res_irq->flags & IORESOURCE_IRQ_SHAREABLE) sp_probe()
/linux-4.1.27/drivers/crypto/ux500/cryp/
H A Dcryp_core.c1409 struct resource *res_irq = NULL; ux500_cryp_probe() local
1505 res_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); ux500_cryp_probe()
1506 if (!res_irq) { ux500_cryp_probe()
1513 ret = request_irq(res_irq->start, ux500_cryp_probe()
1574 struct resource *res_irq = NULL; ux500_cryp_remove() local
1610 res_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); ux500_cryp_remove()
1611 if (!res_irq) ux500_cryp_remove()
1615 disable_irq(res_irq->start); ux500_cryp_remove()
1616 free_irq(res_irq->start, device_data); ux500_cryp_remove()
1640 struct resource *res_irq = NULL; ux500_cryp_shutdown() local
1676 res_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); ux500_cryp_shutdown()
1677 if (!res_irq) ux500_cryp_shutdown()
1681 disable_irq(res_irq->start); ux500_cryp_shutdown()
1682 free_irq(res_irq->start, device_data); ux500_cryp_shutdown()
1697 struct resource *res_irq; ux500_cryp_suspend() local
1709 res_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); ux500_cryp_suspend()
1710 if (!res_irq) ux500_cryp_suspend()
1713 disable_irq(res_irq->start); ux500_cryp_suspend()
1740 struct resource *res_irq; ux500_cryp_resume() local
1765 res_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); ux500_cryp_resume()
1766 if (res_irq) ux500_cryp_resume()
1767 enable_irq(res_irq->start); ux500_cryp_resume()
/linux-4.1.27/drivers/tty/serial/
H A Daltera_jtaguart.c407 struct resource *res_irq, *res_mem; altera_jtaguart_probe() local
427 res_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); altera_jtaguart_probe()
428 if (res_irq) altera_jtaguart_probe()
429 port->irq = res_irq->start; altera_jtaguart_probe()
H A Daltera_uart.c539 struct resource *res_irq; altera_uart_probe() local
563 res_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); altera_uart_probe()
564 if (res_irq) altera_uart_probe()
565 port->irq = res_irq->start; altera_uart_probe()
H A Dmeson_uart.c526 struct resource *res_mem, *res_irq; meson_uart_probe() local
541 res_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); meson_uart_probe()
542 if (!res_irq) meson_uart_probe()
561 port->irq = res_irq->start; meson_uart_probe()
H A Dbcm63xx_uart.c811 struct resource *res_mem, *res_irq; bcm_uart_probe() local
836 res_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); bcm_uart_probe()
837 if (!res_irq) bcm_uart_probe()
846 port->irq = res_irq->start; bcm_uart_probe()
/linux-4.1.27/drivers/net/ethernet/broadcom/
H A Dbcm63xx_enet.c1734 struct resource *res_mem, *res_irq, *res_irq_rx, *res_irq_tx; bcm_enet_probe() local
1744 res_irq = platform_get_resource(pdev, IORESOURCE_IRQ, 0); bcm_enet_probe()
1747 if (!res_irq || !res_irq_rx || !res_irq_tx) bcm_enet_probe()
1770 dev->irq = priv->irq = res_irq->start; bcm_enet_probe()

Completed in 1091 milliseconds