Searched refs:gic_irq (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/pci/controller/ |
D | pci-xgene-msi.c | 28 int gic_irq; member 384 if (!msi_group->gic_irq) in xgene_msi_hwirq_alloc() 387 irq_set_chained_handler_and_data(msi_group->gic_irq, in xgene_msi_hwirq_alloc() 398 err = irq_set_affinity(msi_group->gic_irq, mask); in xgene_msi_hwirq_alloc() 408 irq_set_chained_handler_and_data(msi_group->gic_irq, in xgene_msi_hwirq_alloc() 425 if (!msi_group->gic_irq) in xgene_msi_hwirq_free() 428 irq_set_chained_handler_and_data(msi_group->gic_irq, NULL, in xgene_msi_hwirq_free() 480 xgene_msi->msi_groups[irq_index].gic_irq = virt_msir; in xgene_msi_probe()
|
D | pcie-iproc-msi.c | 63 int gic_irq; member 481 irq_set_chained_handler_and_data(msi->grps[i].gic_irq, in iproc_msi_irq_free() 493 irq_set_chained_handler_and_data(msi->grps[i].gic_irq, in iproc_msi_irq_setup() 500 ret = irq_set_affinity(msi->grps[i].gic_irq, mask); in iproc_msi_irq_setup() 504 msi->grps[i].gic_irq); in iproc_msi_irq_setup() 612 msi->grps[i].gic_irq = irq; in iproc_msi_init() 653 if (msi->grps[i].gic_irq) in iproc_msi_init() 654 irq_dispose_mapping(msi->grps[i].gic_irq); in iproc_msi_init() 680 if (msi->grps[i].gic_irq) in iproc_msi_exit() 681 irq_dispose_mapping(msi->grps[i].gic_irq); in iproc_msi_exit()
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
D | irq-ls-scfg-msi.c | 38 unsigned int gic_irq; member 120 if (msi_data->msir[cpu].gic_irq <= 0) { in ls_scfg_msi_set_affinity() 254 msir->gic_irq = virq; in ls_scfg_msi_setup_hwirq() 267 irq_set_chained_handler_and_data(msir->gic_irq, in ls_scfg_msi_setup_hwirq() 273 irq_set_affinity(msir->gic_irq, get_cpu_mask(index)); in ls_scfg_msi_setup_hwirq() 294 if (msir->gic_irq > 0) in ls_scfg_msi_teardown_hwirq() 295 irq_set_chained_handler_and_data(msir->gic_irq, NULL, NULL); in ls_scfg_msi_teardown_hwirq()
|
D | irq-gic.c | 164 static inline unsigned int gic_irq(struct irq_data *d) in gic_irq() function 185 u32 mask = 1 << (gic_irq(d) % 32); in gic_poke_irq() 186 writel_relaxed(mask, gic_dist_base(d) + offset + (gic_irq(d) / 32) * 4); in gic_poke_irq() 191 u32 mask = 1 << (gic_irq(d) % 32); in gic_peek_irq() 192 return !!(readl_relaxed(gic_dist_base(d) + offset + (gic_irq(d) / 32) * 4) & mask); in gic_peek_irq() 222 u32 hwirq = gic_irq(d); in gic_eoi_irq() 232 u32 hwirq = gic_irq(d); in gic_eoimode1_eoi_irq() 296 unsigned int gicirq = gic_irq(d); in gic_set_type() 321 if (cascading_gic_irq(d) || gic_irq(d) < 16) in gic_irq_set_vcpu_affinity() 380 unsigned int cascade_irq, gic_irq; in gic_handle_cascade_irq() local [all …]
|
D | irq-gic-v3.c | 173 static inline unsigned int gic_irq(struct irq_data *d) in gic_irq() function 498 if (WARN_ON(gic_irq(d) >= 8192)) in gic_irq_nmi_setup() 535 if (WARN_ON(gic_irq(d) >= 8192)) in gic_irq_nmi_teardown() 554 gic_write_eoir(gic_irq(d)); in gic_eoi_irq() 563 if (gic_irq(d) >= 8192 || irqd_is_forwarded_to_vcpu(d)) in gic_eoimode1_eoi_irq() 565 gic_write_dir(gic_irq(d)); in gic_eoimode1_eoi_irq() 571 unsigned int irq = gic_irq(d); in gic_set_type()
|