Home
last modified time | relevance | path

Searched refs:irq_start (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/include/linux/
Dvlynq.h56 u32 irq_start, irq_end; member
124 int irq = dev->irq_start + virq; in vlynq_virq_to_irq()
125 if ((irq < dev->irq_start) || (irq > dev->irq_end)) in vlynq_virq_to_irq()
133 if ((irq < dev->irq_start) || (irq > dev->irq_end)) in vlynq_irq_to_virq()
136 return irq - dev->irq_start; in vlynq_irq_to_virq()
/linux-6.1.9/drivers/irqchip/
Dirq-mst-intc.c30 unsigned int irq_start, nr_irqs; member
226 parent_fwspec.param[1] = cd->irq_start + hwirq; in mst_intc_domain_alloc()
250 u32 irq_start, irq_end; in mst_intc_of_init() local
258 if (of_property_read_u32_index(dn, "mstar,irqs-map-range", 0, &irq_start) || in mst_intc_of_init()
274 cd->irq_start = irq_start; in mst_intc_of_init()
275 cd->nr_irqs = irq_end - irq_start + 1; in mst_intc_of_init()
Dirq-vic.c404 static void __init vic_init_st(void __iomem *base, unsigned int irq_start, in vic_init_st() argument
431 vic_register(base, 0, irq_start, vic_sources, 0, node); in vic_init_st()
434 static void __init __vic_init(void __iomem *base, int parent_irq, int irq_start, in __vic_init() argument
454 vic_init_st(base, irq_start, vic_sources, node); in __vic_init()
471 vic_register(base, parent_irq, irq_start, vic_sources, resume_sources, node); in __vic_init()
481 void __init vic_init(void __iomem *base, unsigned int irq_start, in vic_init() argument
484 __vic_init(base, 0, irq_start, vic_sources, resume_sources, NULL); in vic_init()
Dirq-davinci-aintc.c44 unsigned int irq_start, unsigned int num) in davinci_aintc_setup_gc() argument
49 gc = irq_get_domain_generic_chip(davinci_aintc_irq_domain, irq_start); in davinci_aintc_setup_gc()
51 gc->irq_base = irq_start; in davinci_aintc_setup_gc()
Dirq-sa11x0.c148 void __init sa11x0_init_irq_nodt(int irq_start, resource_size_t io_start) in sa11x0_init_irq_nodt() argument
167 32, irq_start, in sa11x0_init_irq_nodt()
Dirq-omap-intc.c224 unsigned int irq_start, unsigned int num) in omap_alloc_gc_legacy() argument
229 gc = irq_alloc_generic_chip("INTC", 1, irq_start, base, in omap_alloc_gc_legacy()
/linux-6.1.9/drivers/gpio/
Dgpio-xgene-sb.c53 u16 irq_start; member
58 #define HWIRQ_TO_GPIO(priv, hwirq) ((hwirq) + (priv)->irq_start)
59 #define GPIO_TO_HWIRQ(priv, gpio) ((gpio) - (priv)->irq_start)
118 if ((gpio < priv->irq_start) || in xgene_gpio_sb_to_irq()
255 priv->irq_start = XGENE_DFLT_IRQ_START_PIN; in xgene_gpio_sb_probe()
258 priv->irq_start = val32; in xgene_gpio_sb_probe()
271 priv->gc.ngpio, priv->nirq, priv->irq_start); in xgene_gpio_sb_probe()
Dgpio-htc-egpio.c44 uint irq_start; member
84 ei->irqs_enabled &= ~(1 << (data->irq - ei->irq_start)); in egpio_mask()
91 ei->irqs_enabled |= 1 << (data->irq - ei->irq_start); in egpio_unmask()
117 generic_handle_irq(ei->irq_start + irqpin); in egpio_handler()
340 ei->irq_start = pdata->irq_base; in egpio_probe()
349 irq_end = ei->irq_start + ei->nirqs; in egpio_probe()
350 for (irq = ei->irq_start; irq < irq_end; irq++) { in egpio_probe()
Dgpio-pch.c324 unsigned int irq_start, in pch_gpio_alloc_generic_chip() argument
331 gc = devm_irq_alloc_generic_chip(chip->dev, "pch_gpio", 1, irq_start, in pch_gpio_alloc_generic_chip()
Dgpio-ml-ioh.c373 unsigned int irq_start, in ioh_gpio_alloc_generic_chip() argument
380 gc = devm_irq_alloc_generic_chip(chip->dev, "ioh_gpio", 1, irq_start, in ioh_gpio_alloc_generic_chip()
/linux-6.1.9/drivers/mfd/
Dhtc-i2cpld.c46 uint irq_start; member
60 uint irq_start; member
77 chip->irqs_enabled &= ~(1 << (data->irq - chip->irq_start)); in htcpld_mask()
83 chip->irqs_enabled |= 1 << (data->irq - chip->irq_start); in htcpld_unmask()
181 irq = chip->irq_start + irqpin; in htcpld_handler()
282 return chip_data->irq_start + offset; in htcpld_chip_to_irq()
310 irq_end = chip->irq_start + chip->nirqs; in htcpld_setup_chip_irq()
311 for (irq = chip->irq_start; irq < irq_end; irq++) { in htcpld_setup_chip_irq()
485 htcpld->chip[i].irq_start = pdata->chip[i].irq_base; in htcpld_setup_chips()
Dmotorola-cpcap.c141 int irq_start, int nr_irqs) in cpcap_init_irq_chip() argument
146 for (i = irq_start; i < irq_start + nr_irqs; i++) { in cpcap_init_irq_chip()
149 cpcap_init_one_regmap_irq(cpcap, rirq, irq_start, i); in cpcap_init_irq_chip()
151 chip->irqs = &cpcap->irqs[irq_start]; in cpcap_init_irq_chip()
/linux-6.1.9/drivers/vlynq/
Dvlynq.c132 virq = d->irq - dev->irq_start; in vlynq_irq_unmask()
145 virq = d->irq - dev->irq_start; in vlynq_irq_mask()
158 virq = d->irq - dev->irq_start; in vlynq_irq_type()
216 do_IRQ(dev->irq_start + virq); in vlynq_irq()
276 for (i = dev->irq_start; i <= dev->irq_end; i++) { in vlynq_setup_irq()
277 virq = i - dev->irq_start; in vlynq_setup_irq()
619 int irq = dev->irq_start + virq; in vlynq_set_local_irq()
623 if ((irq < dev->irq_start) || (irq > dev->irq_end)) in vlynq_set_local_irq()
637 int irq = dev->irq_start + virq; in vlynq_set_remote_irq()
641 if ((irq < dev->irq_start) || (irq > dev->irq_end)) in vlynq_set_remote_irq()
[all …]
/linux-6.1.9/arch/arm/plat-orion/
Dirq.c22 void __init orion_irq_init(unsigned int irq_start, void __iomem *maskaddr) in orion_irq_init() argument
32 gc = irq_alloc_generic_chip("orion_irq", 1, irq_start, maskaddr, in orion_irq_init()
/linux-6.1.9/arch/arm/plat-orion/include/plat/
Dirq.h14 void orion_irq_init(unsigned int irq_start, void __iomem *maskaddr);
/linux-6.1.9/include/linux/irqchip/
Dirq-sa11x0.h12 void __init sa11x0_init_irq_nodt(int irq_start, resource_size_t io_start);
Darm-vic.h12 void vic_init(void __iomem *base, unsigned int irq_start, u32 vic_sources, u32 resume_sources);
/linux-6.1.9/arch/arm/mach-imx/
Dtzic.c100 static __init void tzic_init_gc(int idx, unsigned int irq_start) in tzic_init_gc() argument
105 gc = irq_alloc_generic_chip("tzic", 1, irq_start, tzic_base, in tzic_init_gc()
Davic.c125 static __init void avic_init_gc(int idx, unsigned int irq_start) in avic_init_gc() argument
130 gc = irq_alloc_generic_chip("mxc-avic", 1, irq_start, avic_base, in avic_init_gc()
/linux-6.1.9/arch/arm/mach-omap1/
Dirq.c173 omap_alloc_gc(void __iomem *base, unsigned int irq_start, unsigned int num) in omap_alloc_gc() argument
178 gc = irq_alloc_generic_chip("MPU", 1, irq_start, base, in omap_alloc_gc()
/linux-6.1.9/arch/arm/mach-s3c/
Dirq-s3c24xx.c546 int irq_start; in s3c24xx_init_intc() local
569 irq_start = S3C2410_IRQ(0); in s3c24xx_init_intc()
576 irq_start = S3C2410_IRQSUB(0); in s3c24xx_init_intc()
584 irq_start = S3C2416_IRQ(0); in s3c24xx_init_intc()
593 irq_start = S3C2410_IRQ(32); in s3c24xx_init_intc()
603 intc->domain = irq_domain_add_legacy(np, irq_num, irq_start, in s3c24xx_init_intc()
/linux-6.1.9/drivers/power/supply/
Dlp8788-charger.c479 int irq_start; in lp8788_set_irqs() local
491 irq_start = r->start; in lp8788_set_irqs()
494 for (i = irq_start; i <= irq_end; i++) { in lp8788_set_irqs()