Home
last modified time | relevance | path

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

/linux-6.1.9/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.c123 struct resource *base_res, *ctl_res, *irq_res; in pata_falcon_init_one() local
189 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in pata_falcon_init_one()
190 if (irq_res && irq_res->start > 0) { in pata_falcon_init_one()
191 irq = irq_res->start; in pata_falcon_init_one()
/linux-6.1.9/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.1.9/drivers/dma/ti/
Dk3-udma.c4475 struct ti_sci_resource *rm_res, irq_res; in udma_setup_resources() local
4555 irq_res.sets = 1; in udma_setup_resources()
4561 irq_res.sets = rm_res->sets; in udma_setup_resources()
4568 irq_res.sets++; in udma_setup_resources()
4574 irq_res.sets += rm_res->sets; in udma_setup_resources()
4577 irq_res.desc = kcalloc(irq_res.sets, sizeof(*irq_res.desc), GFP_KERNEL); in udma_setup_resources()
4578 if (!irq_res.desc) in udma_setup_resources()
4582 irq_res.desc[0].start = 0; in udma_setup_resources()
4583 irq_res.desc[0].num = ud->tchan_cnt; in udma_setup_resources()
4587 irq_res.desc[i].start = rm_res->desc[i].start; in udma_setup_resources()
[all …]
/linux-6.1.9/include/linux/
Data_platform.h19 struct resource *irq_res,
/linux-6.1.9/drivers/vlynq/
Dvlynq.c656 struct resource *regs_res, *mem_res, *irq_res; in vlynq_probe() local
667 irq_res = platform_get_resource_byname(pdev, IORESOURCE_IRQ, "devirq"); in vlynq_probe()
668 if (!irq_res) in vlynq_probe()
710 dev->irq_start = irq_res->start; in vlynq_probe()
711 dev->irq_end = irq_res->end; in vlynq_probe()
/linux-6.1.9/drivers/usb/gadget/udc/
Dnet2272.c2613 struct resource *iomem, *iomem_bus, *irq_res; in net2272_plat_probe() local
2615 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in net2272_plat_probe()
2618 if (!irq_res || !iomem) { in net2272_plat_probe()
2623 dev = net2272_probe_init(&pdev->dev, irq_res->start); in net2272_plat_probe()
2628 if (irq_res->flags & IORESOURCE_IRQ_HIGHEDGE) in net2272_plat_probe()
2630 if (irq_res->flags & IORESOURCE_IRQ_LOWEDGE) in net2272_plat_probe()
2632 if (irq_res->flags & IORESOURCE_IRQ_HIGHLEVEL) in net2272_plat_probe()
2634 if (irq_res->flags & IORESOURCE_IRQ_LOWLEVEL) in net2272_plat_probe()
/linux-6.1.9/drivers/usb/host/
Disp1362-hcd.c2628 struct resource *data, *irq_res; in isp1362_probe() local
2646 irq_res = platform_get_resource(pdev, IORESOURCE_IRQ, 0); in isp1362_probe()
2647 if (!irq_res) in isp1362_probe()
2650 irq = irq_res->start; in isp1362_probe()
2686 if (irq_res->flags & IORESOURCE_IRQ_HIGHEDGE) in isp1362_probe()
2688 if (irq_res->flags & IORESOURCE_IRQ_LOWEDGE) in isp1362_probe()
2690 if (irq_res->flags & IORESOURCE_IRQ_HIGHLEVEL) in isp1362_probe()
2692 if (irq_res->flags & IORESOURCE_IRQ_LOWLEVEL) in isp1362_probe()
/linux-6.1.9/drivers/pinctrl/
Dpinctrl-st.c1508 struct resource res, irq_res; in st_gpiolib_register_bank() local
1552 if (of_irq_to_resource(np, 0, &irq_res) > 0) { in st_gpiolib_register_bank()
1554 int gpio_irq = irq_res.start; in st_gpiolib_register_bank()