/drivers/ata/ |
D | pata_platform.c | 102 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()
|
D | pata_of_platform.c | 31 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()
|
D | pata_pxa.c | 182 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/ |
D | iio-trig-interrupt.c | 40 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/ |
D | isp1760-if.c | 193 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/ |
D | bcm63xx_pcmcia.c | 330 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/ |
D | sudmac.c | 339 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()
|
D | rcar-hpbdma.c | 542 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/ |
D | common.c | 520 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/ |
D | vlynq.c | 671 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/ |
D | ar933x_uart.c | 640 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/ |
D | nbpfaxi.c | 1285 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/ |
D | net2272.c | 2617 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/ |
D | dm9000.c | 131 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/ |
D | isp1362-hcd.c | 2638 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/ |
D | pinctrl-st.c | 1529 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()
|