Home
last modified time | relevance | path

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

/drivers/irqchip/
Dirq-mst-intc.c22 unsigned int irq_start, nr_irqs; member
147 parent_fwspec.param[1] = cd->irq_start + hwirq; in mst_intc_domain_alloc()
162 u32 irq_start, irq_end; in mst_intc_of_init() local
170 if (of_property_read_u32_index(dn, "mstar,irqs-map-range", 0, &irq_start) || in mst_intc_of_init()
186 cd->irq_start = irq_start; in mst_intc_of_init()
187 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-versatile-fpga.c149 void __init fpga_irq_init(void __iomem *base, const char *name, int irq_start, in fpga_irq_init() argument
173 f->domain = irq_domain_add_simple(node, fls(valid), irq_start, in fpga_irq_init()
179 if (!irq_start) in fpga_irq_init()
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()
/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.c319 unsigned int irq_start, in pch_gpio_alloc_generic_chip() argument
326 gc = devm_irq_alloc_generic_chip(chip->dev, "pch_gpio", 1, irq_start, in pch_gpio_alloc_generic_chip()
Dgpio-ml-ioh.c375 unsigned int irq_start, in ioh_gpio_alloc_generic_chip() argument
382 gc = devm_irq_alloc_generic_chip(chip->dev, "ioh_gpio", 1, irq_start, in ioh_gpio_alloc_generic_chip()
/drivers/mfd/
Dhtc-i2cpld.c44 uint irq_start; member
58 uint irq_start; member
75 chip->irqs_enabled &= ~(1 << (data->irq - chip->irq_start)); in htcpld_mask()
81 chip->irqs_enabled |= 1 << (data->irq - chip->irq_start); in htcpld_unmask()
179 irq = chip->irq_start + irqpin; in htcpld_handler()
280 return chip_data->irq_start + offset; in htcpld_chip_to_irq()
308 irq_end = chip->irq_start + chip->nirqs; in htcpld_setup_chip_irq()
309 for (irq = chip->irq_start; irq < irq_end; irq++) { in htcpld_setup_chip_irq()
483 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()
/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()
621 int irq = dev->irq_start + virq; in vlynq_set_local_irq()
625 if ((irq < dev->irq_start) || (irq > dev->irq_end)) in vlynq_set_local_irq()
639 int irq = dev->irq_start + virq; in vlynq_set_remote_irq()
643 if ((irq < dev->irq_start) || (irq > dev->irq_end)) in vlynq_set_remote_irq()
[all …]
/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()