Home
last modified time | relevance | path

Searched refs:irq_res (Results 1 – 16 of 16) sorted by relevance

/drivers/ata/
Dpata_platform.c102 struct resource *ctl_res, struct resource *irq_res, in __pata_platform_probe() argument
121 if (irq_res && irq_res->start > 0) { in __pata_platform_probe()
122 irq = irq_res->start; in __pata_platform_probe()
123 irq_flags = irq_res->flags & IRQF_TRIGGER_MASK; in __pata_platform_probe()
183 struct resource *irq_res; in pata_platform_probe() local
217 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in pata_platform_probe()
219 return __pata_platform_probe(&pdev->dev, io_res, ctl_res, irq_res, in pata_platform_probe()
Dpata_of_platform.c31 struct resource *irq_res; in pata_of_platform_probe() local
51 irq_res = platform_get_resource(ofdev, IORESOURCE_IRQ, 0); in pata_of_platform_probe()
71 return __pata_platform_probe(&ofdev->dev, &io_res, &ctl_res, irq_res, in pata_of_platform_probe()
Dpata_pxa.c182 struct resource *irq_res; in pxa_ata_probe() local
225 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in pxa_ata_probe()
226 if (unlikely(irq_res == NULL)) in pxa_ata_probe()
312 ret = ata_host_activate(host, irq_res->start, ata_sff_interrupt, in pxa_ata_probe()
/drivers/iio/trigger/
Diio-trig-interrupt.c40 struct resource *irq_res; in iio_interrupt_trigger_probe() local
43 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in iio_interrupt_trigger_probe()
45 if (irq_res == NULL) in iio_interrupt_trigger_probe()
48 irqflags = (irq_res->flags & IRQF_TRIGGER_MASK) | IRQF_SHARED; in iio_interrupt_trigger_probe()
50 irq = irq_res->start; in iio_interrupt_trigger_probe()
/drivers/usb/isp1760/
Disp1760-if.c193 struct resource *irq_res; in isp1760_plat_probe() local
198 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in isp1760_plat_probe()
199 if (!irq_res) { in isp1760_plat_probe()
203 irqflags = irq_res->flags & IRQF_TRIGGER_MASK; in isp1760_plat_probe()
246 ret = isp1760_register(mem_res, irq_res->start, irqflags, &pdev->dev, in isp1760_plat_probe()
/drivers/pcmcia/
Dbcm63xx_pcmcia.c330 struct resource *res, *irq_res; in bcm63xx_drv_pcmcia_probe() local
345 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in bcm63xx_drv_pcmcia_probe()
347 if (!skt->common_res || !skt->attr_res || !irq_res || !skt->pd) { in bcm63xx_drv_pcmcia_probe()
383 sock->pci_irq = irq_res->start; in bcm63xx_drv_pcmcia_probe()
/drivers/dma/sh/
Dsudmac.c339 struct resource *chan, *irq_res; in sudmac_probe() local
345 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in sudmac_probe()
346 if (!irq_res) in sudmac_probe()
379 err = sudmac_chan_probe(su_dev, i, irq_res->start, IRQF_SHARED); in sudmac_probe()
Drcar-hpbdma.c542 struct resource *chan, *comm, *rest, *mode, *irq_res; in hpb_dmae_probe() local
554 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in hpb_dmae_probe()
555 if (!irq_res) in hpb_dmae_probe()
/drivers/usb/renesas_usbhs/
Dcommon.c520 struct resource *res, *irq_res; in usbhs_probe() local
534 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in usbhs_probe()
535 if (!irq_res) { in usbhs_probe()
604 priv->irq = irq_res->start; in usbhs_probe()
605 if (irq_res->flags & IORESOURCE_IRQ_SHAREABLE) in usbhs_probe()
/drivers/vlynq/
Dvlynq.c671 struct resource *regs_res, *mem_res, *irq_res; in vlynq_probe() local
682 irq_res = platform_get_resource_byname(pdev, IORESOURCE_IRQ, "devirq"); in vlynq_probe()
683 if (!irq_res) in vlynq_probe()
725 dev->irq_start = irq_res->start; in vlynq_probe()
726 dev->irq_end = irq_res->end; in vlynq_probe()
/drivers/tty/serial/
Dar933x_uart.c640 struct resource *irq_res; in ar933x_uart_probe() local
663 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in ar933x_uart_probe()
664 if (!irq_res) { in ar933x_uart_probe()
699 port->irq = irq_res->start; in ar933x_uart_probe()
/drivers/dma/
Dnbpfaxi.c1285 struct resource *iomem, *irq_res; in nbpf_probe() local
1322 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, i); in nbpf_probe()
1323 if (!irq_res) in nbpf_probe()
1326 for (irq = irq_res->start; irq <= irq_res->end; in nbpf_probe()
/drivers/usb/gadget/udc/
Dnet2272.c2617 struct resource *iomem, *iomem_bus, *irq_res; in net2272_plat_probe() local
2619 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in net2272_plat_probe()
2622 if (!irq_res || !iomem) { in net2272_plat_probe()
2627 dev = net2272_probe_init(&pdev->dev, irq_res->start); in net2272_plat_probe()
2632 if (irq_res->flags & IORESOURCE_IRQ_HIGHEDGE) in net2272_plat_probe()
2634 if (irq_res->flags & IORESOURCE_IRQ_LOWEDGE) in net2272_plat_probe()
2636 if (irq_res->flags & IORESOURCE_IRQ_HIGHLEVEL) in net2272_plat_probe()
2638 if (irq_res->flags & IORESOURCE_IRQ_LOWLEVEL) in net2272_plat_probe()
/drivers/net/ethernet/davicom/
Ddm9000.c131 struct resource *irq_res; member
1305 unsigned long irqflags = db->irq_res->flags & IRQF_TRIGGER_MASK; in dm9000_open()
1511 db->irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in dm9000_probe()
1514 db->irq_res == NULL) { in dm9000_probe()
1581 ndev->irq = db->irq_res->start; in dm9000_probe()
/drivers/usb/host/
Disp1362-hcd.c2638 struct resource *addr, *data, *irq_res; in isp1362_probe() local
2661 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in isp1362_probe()
2662 if (!irq_res) in isp1362_probe()
2665 irq = irq_res->start; in isp1362_probe()
2702 if (irq_res->flags & IORESOURCE_IRQ_HIGHEDGE) in isp1362_probe()
2704 if (irq_res->flags & IORESOURCE_IRQ_LOWEDGE) in isp1362_probe()
2706 if (irq_res->flags & IORESOURCE_IRQ_HIGHLEVEL) in isp1362_probe()
2708 if (irq_res->flags & IORESOURCE_IRQ_LOWLEVEL) in isp1362_probe()
/drivers/pinctrl/
Dpinctrl-st.c1529 struct resource res, irq_res; in st_gpiolib_register_bank() local
1579 if (of_irq_to_resource(np, 0, &irq_res)) { in st_gpiolib_register_bank()
1580 gpio_irq = irq_res.start; in st_gpiolib_register_bank()