Home
last modified time | relevance | path

Searched refs:virq_base (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/irqchip/
Dirq-mmp.c40 unsigned int virq_base; member
74 hwirq = d->irq - data->virq_base; in icu_mask_ack_irq()
82 if ((data->virq_base == data->clr_mfp_irq_base) in icu_mask_ack_irq()
98 hwirq = d->irq - data->virq_base; in icu_mask_irq()
127 hwirq = d->irq - data->virq_base; in icu_unmask_irq()
175 generic_handle_irq(icu_data[i].virq_base + n); in icu_mux_irq_demux()
258 icu_data[0].virq_base = 0; in icu_init_irq()
281 icu_data[0].virq_base = 0; in mmp2_init_icu()
287 icu_data[1].clr_mfp_irq_base = icu_data[0].virq_base + in mmp2_init_icu()
292 icu_data[1].virq_base = icu_data[0].virq_base + icu_data[0].nr_irqs; in mmp2_init_icu()
[all …]
Dspear-shirq.c46 u32 virq_base; member
61 u32 val, shift = d->irq - shirq->virq_base + shirq->offset; in shirq_irq_mask()
73 u32 val, shift = d->irq - shirq->virq_base + shirq->offset; in shirq_irq_unmask()
199 generic_handle_irq(shirq->virq_base + irq); in shirq_handler()
214 irq_set_chip_and_handler(shirq->virq_base + i, in spear_shirq_register()
216 irq_set_chip_data(shirq->virq_base + i, shirq); in spear_shirq_register()
223 int i, parent_irq, virq_base, hwirq = 0, nr_irqs = 0; in shirq_init() local
236 virq_base = irq_alloc_descs(-1, 0, nr_irqs, 0); in shirq_init()
237 if (virq_base < 0) { in shirq_init()
242 shirq_domain = irq_domain_add_legacy(np, nr_irqs, virq_base, 0, in shirq_init()
[all …]
/linux-6.1.9/kernel/irq/
Dmsi.c713 int virq_base, int nvec, msi_alloc_info_t *arg) in msi_domain_populate_irqs() argument
721 ret = msi_add_simple_msi_descs(dev, virq_base, nvec); in msi_domain_populate_irqs()
725 for (virq = virq_base; virq < virq_base + nvec; virq++) { in msi_domain_populate_irqs()
740 for (--virq; virq >= virq_base; virq--) in msi_domain_populate_irqs()
742 msi_free_msi_descs_range(dev, MSI_DESC_ALL, virq_base, virq_base + nvec - 1); in msi_domain_populate_irqs()