Searched refs:nr_spis (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/drivers/irqchip/ |
D | irq-gic-v2m.c | 68 u32 nr_spis; /* The number of SPIs for MSIs */ member 186 offset = bitmap_find_free_region(tmp->bm, tmp->nr_spis, in gicv2m_irq_domain_alloc() 319 u32 spi_start, u32 nr_spis, in gicv2m_init_one() argument 344 if (spi_start && nr_spis) { in gicv2m_init_one() 346 v2m->nr_spis = nr_spis; in gicv2m_init_one() 358 v2m->nr_spis = V2M_MSI_TYPER_NUM_SPI(typer); in gicv2m_init_one() 361 if (!is_msi_spi_valid(v2m->spi_start, v2m->nr_spis)) { in gicv2m_init_one() 391 v2m->bm = kcalloc(BITS_TO_LONGS(v2m->nr_spis), sizeof(long), in gicv2m_init_one() 401 v2m->spi_start, (v2m->spi_start + v2m->nr_spis - 1)); in gicv2m_init_one() 425 u32 spi_start = 0, nr_spis = 0; in gicv2m_of_init() local [all …]
|
D | irq-gic-v3-mbi.c | 23 u32 nr_spis; member 94 mbi_ranges[i].nr_spis, in mbi_irq_domain_alloc() 289 &mbi_ranges[n].nr_spis); in mbi_init() 293 mbi_ranges[n].bm = kcalloc(BITS_TO_LONGS(mbi_ranges[n].nr_spis), in mbi_init() 300 mbi_ranges[n].spi_start + mbi_ranges[n].nr_spis - 1); in mbi_init()
|
/kernel/linux/linux-5.10/arch/arm64/kvm/vgic/ |
D | vgic-init.c | 131 static int kvm_vgic_dist_init(struct kvm *kvm, unsigned int nr_spis) in kvm_vgic_dist_init() argument 137 dist->spis = kcalloc(nr_spis, sizeof(struct vgic_irq), GFP_KERNEL); in kvm_vgic_dist_init() 149 for (i = 0; i < nr_spis; i++) { in kvm_vgic_dist_init() 268 if (!dist->nr_spis) in vgic_init() 269 dist->nr_spis = VGIC_NR_IRQS_LEGACY - VGIC_NR_PRIVATE_IRQS; in vgic_init() 271 ret = kvm_vgic_dist_init(kvm, dist->nr_spis); in vgic_init() 337 dist->nr_spis = 0; in kvm_vgic_dist_destroy()
|
D | vgic-debug.c | 27 int nr_spis; member 48 if (iter->intid >= (iter->nr_spis + VGIC_NR_PRIVATE_IRQS)) { in iter_next() 63 iter->nr_spis = kvm->arch.vgic.nr_spis; in iter_init() 79 iter->intid >= (iter->nr_spis + VGIC_NR_PRIVATE_IRQS) && in end_of_vgic() 150 seq_printf(s, "nr_spis:\t%d\n", dist->nr_spis); in print_dist_state()
|
D | vgic-kvm-device.c | 193 if (vgic_ready(dev->kvm) || dev->kvm->arch.vgic.nr_spis) in vgic_set_common_attr() 196 dev->kvm->arch.vgic.nr_spis = in vgic_set_common_attr() 243 r = put_user(dev->kvm->arch.vgic.nr_spis + in vgic_get_common_attr()
|
D | vgic-irqfd.c | 139 u32 nr = dist->nr_spis; in kvm_vgic_setup_default_irq_routing()
|
D | vgic-mmio.c | 748 int nr_irqs = vcpu->kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS; in vgic_read_irq_line_level_info() 770 int nr_irqs = vcpu->kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS; in vgic_write_irq_line_level_info() 900 int flags, nr_irqs = kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS; in check_region()
|
D | vgic.c | 100 if (intid < (kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS)) { in vgic_get_irq() 101 intid = array_index_nospec(intid, kvm->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS); in vgic_get_irq()
|
D | vgic-mmio-v2.c | 36 value = vgic->nr_spis + VGIC_NR_PRIVATE_IRQS; in vgic_mmio_read_v2_misc()
|
D | vgic-mmio-v3.c | 79 value = vgic->nr_spis + VGIC_NR_PRIVATE_IRQS; in vgic_mmio_read_v3_misc()
|
/kernel/linux/linux-5.10/include/kvm/ |
D | arm_vgic.h | 220 int nr_spis; member 368 ((i) < (k)->arch.vgic.nr_spis + VGIC_NR_PRIVATE_IRQS))
|