Home
last modified time | relevance | path

Searched refs:dgc (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/kernel/irq/
Dgeneric-chip.c288 struct irq_domain_chip_generic *dgc; in __irq_alloc_domain_generic_chips() local
302 sz = sizeof(*dgc) + numchips * sizeof(gc); in __irq_alloc_domain_generic_chips()
305 tmp = dgc = kzalloc(sz, GFP_KERNEL); in __irq_alloc_domain_generic_chips()
306 if (!dgc) in __irq_alloc_domain_generic_chips()
308 dgc->irqs_per_chip = irqs_per_chip; in __irq_alloc_domain_generic_chips()
309 dgc->num_chips = numchips; in __irq_alloc_domain_generic_chips()
310 dgc->irq_flags_to_set = set; in __irq_alloc_domain_generic_chips()
311 dgc->irq_flags_to_clear = clr; in __irq_alloc_domain_generic_chips()
312 dgc->gc_flags = gcflags; in __irq_alloc_domain_generic_chips()
313 d->gc = dgc; in __irq_alloc_domain_generic_chips()
[all …]
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-atmel-aic.c63 struct irq_domain_chip_generic *dgc = aic_domain->gc; in aic_handle() local
64 struct irq_chip_generic *gc = dgc->gc[0]; in aic_handle()
177 struct irq_domain_chip_generic *dgc = d->gc; in aic_irq_domain_xlate() local
184 if (!dgc) in aic_irq_domain_xlate()
192 idx = intspec[0] / dgc->irqs_per_chip; in aic_irq_domain_xlate()
193 if (idx >= dgc->num_chips) in aic_irq_domain_xlate()
196 gc = dgc->gc[idx]; in aic_irq_domain_xlate()
Dirq-atmel-aic5.c158 struct irq_domain_chip_generic *dgc = domain->gc; in aic5_suspend() local
171 for (i = 0; i < dgc->irqs_per_chip; i++) { in aic5_suspend()
188 struct irq_domain_chip_generic *dgc = domain->gc; in aic5_resume() local
205 for (i = 0; i < dgc->irqs_per_chip; i++) { in aic5_resume()
224 struct irq_domain_chip_generic *dgc = domain->gc; in aic5_pm_shutdown() local
230 for (i = 0; i < dgc->irqs_per_chip; i++) { in aic5_pm_shutdown()
Dirq-digicolor.c37 struct irq_domain_chip_generic *dgc = digicolor_irq_domain->gc; in digicolor_handle_irq() local
38 struct irq_chip_generic *gc = dgc->gc[0]; in digicolor_handle_irq()
Dirq-orion.c35 struct irq_domain_chip_generic *dgc = orion_irq_domain->gc; in orion_handle_irq() local
38 for (n = 0; n < dgc->num_chips; n++, base += ORION_IRQS_PER_CHIP) { in orion_handle_irq()