/drivers/ata/ |
D | pata_platform.c | 96 struct resource *ctl_res, struct resource *irq_res, in __pata_platform_probe() argument 115 if (irq_res && irq_res->start > 0) { in __pata_platform_probe() 116 irq = irq_res->start; in __pata_platform_probe() 117 irq_flags = (irq_res->flags & IRQF_TRIGGER_MASK) | IRQF_SHARED; in __pata_platform_probe() 185 struct resource *irq_res; in pata_platform_probe() local 219 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in pata_platform_probe() 221 return __pata_platform_probe(&pdev->dev, io_res, ctl_res, irq_res, in pata_platform_probe()
|
D | pata_of_platform.c | 28 struct resource *irq_res; in pata_of_platform_probe() local 48 irq_res = platform_get_resource(ofdev, IORESOURCE_IRQ, 0); in pata_of_platform_probe() 66 return __pata_platform_probe(&ofdev->dev, &io_res, &ctl_res, irq_res, in pata_of_platform_probe()
|
D | pata_pxa.c | 167 struct resource *irq_res; in pxa_ata_probe() local 208 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in pxa_ata_probe() 209 if (unlikely(irq_res == NULL)) in pxa_ata_probe() 290 ret = ata_host_activate(host, irq_res->start, ata_sff_interrupt, in pxa_ata_probe()
|
/drivers/iio/trigger/ |
D | iio-trig-interrupt.c | 36 struct resource *irq_res; in iio_interrupt_trigger_probe() local 39 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in iio_interrupt_trigger_probe() 41 if (irq_res == NULL) in iio_interrupt_trigger_probe() 44 irqflags = (irq_res->flags & IRQF_TRIGGER_MASK) | IRQF_SHARED; in iio_interrupt_trigger_probe() 46 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/usb/renesas_usbhs/ |
D | common.c | 592 struct resource *irq_res; in usbhs_probe() local 611 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in usbhs_probe() 612 if (!irq_res) { in usbhs_probe() 672 priv->irq = irq_res->start; in usbhs_probe() 673 if (irq_res->flags & IORESOURCE_IRQ_SHAREABLE) in usbhs_probe()
|
/drivers/vlynq/ |
D | vlynq.c | 658 struct resource *regs_res, *mem_res, *irq_res; in vlynq_probe() local 669 irq_res = platform_get_resource_byname(pdev, IORESOURCE_IRQ, "devirq"); in vlynq_probe() 670 if (!irq_res) in vlynq_probe() 712 dev->irq_start = irq_res->start; in vlynq_probe() 713 dev->irq_end = irq_res->end; in vlynq_probe()
|
/drivers/tty/serial/ |
D | ar933x_uart.c | 717 struct resource *irq_res; in ar933x_uart_probe() local 740 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in ar933x_uart_probe() 741 if (!irq_res) { in ar933x_uart_probe() 776 port->irq = irq_res->start; in ar933x_uart_probe()
|
/drivers/dma/ |
D | nbpfaxi.c | 1297 struct resource *iomem, *irq_res; in nbpf_probe() local 1338 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, i); in nbpf_probe() 1339 if (!irq_res) in nbpf_probe() 1342 for (irq = irq_res->start; irq <= irq_res->end; in nbpf_probe()
|
/drivers/dma/ti/ |
D | k3-udma.c | 3183 struct ti_sci_resource *rm_res, irq_res; in udma_setup_resources() local 3275 irq_res.sets = rm_res->sets; in udma_setup_resources() 3292 irq_res.sets += rm_res->sets; in udma_setup_resources() 3293 irq_res.desc = kcalloc(irq_res.sets, sizeof(*irq_res.desc), GFP_KERNEL); in udma_setup_resources() 3296 irq_res.desc[i].start = rm_res->desc[i].start; in udma_setup_resources() 3297 irq_res.desc[i].num = rm_res->desc[i].num; in udma_setup_resources() 3301 irq_res.desc[i].start = rm_res->desc[j].start + in udma_setup_resources() 3303 irq_res.desc[i].num = rm_res->desc[j].num; in udma_setup_resources() 3305 ret = ti_sci_inta_msi_domain_alloc_irqs(ud->dev, &irq_res); in udma_setup_resources() 3306 kfree(irq_res.desc); in udma_setup_resources()
|
/drivers/usb/gadget/udc/ |
D | net2272.c | 2598 struct resource *iomem, *iomem_bus, *irq_res; in net2272_plat_probe() local 2600 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in net2272_plat_probe() 2603 if (!irq_res || !iomem) { in net2272_plat_probe() 2608 dev = net2272_probe_init(&pdev->dev, irq_res->start); in net2272_plat_probe() 2613 if (irq_res->flags & IORESOURCE_IRQ_HIGHEDGE) in net2272_plat_probe() 2615 if (irq_res->flags & IORESOURCE_IRQ_LOWEDGE) in net2272_plat_probe() 2617 if (irq_res->flags & IORESOURCE_IRQ_HIGHLEVEL) in net2272_plat_probe() 2619 if (irq_res->flags & IORESOURCE_IRQ_LOWLEVEL) in net2272_plat_probe()
|
/drivers/usb/host/ |
D | isp1362-hcd.c | 2630 struct resource *data, *irq_res; in isp1362_probe() local 2648 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in isp1362_probe() 2649 if (!irq_res) in isp1362_probe() 2652 irq = irq_res->start; in isp1362_probe() 2688 if (irq_res->flags & IORESOURCE_IRQ_HIGHEDGE) in isp1362_probe() 2690 if (irq_res->flags & IORESOURCE_IRQ_LOWEDGE) in isp1362_probe() 2692 if (irq_res->flags & IORESOURCE_IRQ_HIGHLEVEL) in isp1362_probe() 2694 if (irq_res->flags & IORESOURCE_IRQ_LOWLEVEL) in isp1362_probe()
|
/drivers/net/ethernet/socionext/ |
D | netsec.c | 1990 struct resource *mmio_res, *eeprom_res, *irq_res; in netsec_probe() local 2009 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in netsec_probe() 2010 if (!irq_res) { in netsec_probe() 2024 ndev->irq = irq_res->start; in netsec_probe()
|
/drivers/pinctrl/ |
D | pinctrl-st.c | 1486 struct resource res, irq_res; in st_gpiolib_register_bank() local 1530 if (of_irq_to_resource(np, 0, &irq_res) > 0) { in st_gpiolib_register_bank() 1532 int gpio_irq = irq_res.start; in st_gpiolib_register_bank()
|