Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/ata/
Dpata_of_platform.c28 struct resource irq_res; in pata_of_platform_probe() local
49 memset(&irq_res, 0, sizeof(irq_res)); in pata_of_platform_probe()
55 irq_res.start = irq; in pata_of_platform_probe()
56 irq_res.end = irq; in pata_of_platform_probe()
75 return __pata_platform_probe(&ofdev->dev, &io_res, &ctl_res, irq > 0 ? &irq_res : NULL, in pata_of_platform_probe()
Dpata_platform.c98 struct resource *ctl_res, struct resource *irq_res, in __pata_platform_probe() argument
117 if (irq_res && irq_res->start > 0) { in __pata_platform_probe()
118 irq = irq_res->start; in __pata_platform_probe()
119 irq_flags = (irq_res->flags & IRQF_TRIGGER_MASK) | IRQF_SHARED; in __pata_platform_probe()
189 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_falcon.c127 struct resource *base_res, *ctl_res, *irq_res; in pata_falcon_init_one() local
206 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in pata_falcon_init_one()
207 if (irq_res && irq_res->start > 0) { in pata_falcon_init_one()
208 irq = irq_res->start; in pata_falcon_init_one()
/linux-6.12.1/drivers/iio/trigger/
Diio-trig-interrupt.c33 struct resource *irq_res; in iio_interrupt_trigger_probe() local
36 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in iio_interrupt_trigger_probe()
38 if (irq_res == NULL) in iio_interrupt_trigger_probe()
41 irqflags = (irq_res->flags & IRQF_TRIGGER_MASK) | IRQF_SHARED; in iio_interrupt_trigger_probe()
43 irq = irq_res->start; in iio_interrupt_trigger_probe()
/linux-6.12.1/drivers/dma/ti/
Dk3-udma.c4565 struct ti_sci_resource *rm_res, irq_res; in udma_setup_resources() local
4645 irq_res.sets = 1; in udma_setup_resources()
4651 irq_res.sets = rm_res->sets; in udma_setup_resources()
4658 irq_res.sets++; in udma_setup_resources()
4664 irq_res.sets += rm_res->sets; in udma_setup_resources()
4667 irq_res.desc = kcalloc(irq_res.sets, sizeof(*irq_res.desc), GFP_KERNEL); in udma_setup_resources()
4668 if (!irq_res.desc) in udma_setup_resources()
4672 irq_res.desc[0].start = 0; in udma_setup_resources()
4673 irq_res.desc[0].num = ud->tchan_cnt; in udma_setup_resources()
4677 irq_res.desc[i].start = rm_res->desc[i].start; in udma_setup_resources()
[all …]
/linux-6.12.1/include/linux/
Data_platform.h19 struct resource *irq_res,
/linux-6.12.1/drivers/usb/gadget/udc/
Dnet2272.c2612 struct resource *iomem, *iomem_bus, *irq_res; in net2272_plat_probe() local
2614 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in net2272_plat_probe()
2617 if (!irq_res || !iomem) { in net2272_plat_probe()
2622 dev = net2272_probe_init(&pdev->dev, irq_res->start); in net2272_plat_probe()
2627 if (irq_res->flags & IORESOURCE_IRQ_HIGHEDGE) in net2272_plat_probe()
2629 if (irq_res->flags & IORESOURCE_IRQ_LOWEDGE) in net2272_plat_probe()
2631 if (irq_res->flags & IORESOURCE_IRQ_HIGHLEVEL) in net2272_plat_probe()
2633 if (irq_res->flags & IORESOURCE_IRQ_LOWLEVEL) in net2272_plat_probe()
/linux-6.12.1/drivers/usb/host/
Disp1362-hcd.c2626 struct resource *data, *irq_res; in isp1362_probe() local
2644 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in isp1362_probe()
2645 if (!irq_res) in isp1362_probe()
2648 irq = irq_res->start; in isp1362_probe()
2683 if (irq_res->flags & IORESOURCE_IRQ_HIGHEDGE) in isp1362_probe()
2685 if (irq_res->flags & IORESOURCE_IRQ_LOWEDGE) in isp1362_probe()
2687 if (irq_res->flags & IORESOURCE_IRQ_HIGHLEVEL) in isp1362_probe()
2689 if (irq_res->flags & IORESOURCE_IRQ_LOWLEVEL) in isp1362_probe()
/linux-6.12.1/drivers/pinctrl/
Dpinctrl-st.c1498 struct resource res, irq_res; in st_gpiolib_register_bank() local
1542 if (of_irq_to_resource(np, 0, &irq_res) > 0) { in st_gpiolib_register_bank()
1544 int gpio_irq = irq_res.start; in st_gpiolib_register_bank()