Home
last modified time | relevance | path

Searched refs:cpuidx (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/arm/kernel/
H A Ddevtree.c76 u32 i, j, cpuidx = 1; in arm_dt_init_cpu_maps() local
107 for (j = 0; j < cpuidx; j++) in arm_dt_init_cpu_maps()
127 i = cpuidx++; in arm_dt_init_cpu_maps()
130 if (WARN(cpuidx > nr_cpu_ids, "DT /cpu %u nodes greater than " in arm_dt_init_cpu_maps()
132 cpuidx, nr_cpu_ids)) { in arm_dt_init_cpu_maps()
133 cpuidx = nr_cpu_ids; in arm_dt_init_cpu_maps()
161 for (i = 0; i < cpuidx; i++) { in arm_dt_init_cpu_maps()
/openbmc/qemu/hw/intc/
H A Darm_gicv3_common.c278 int cpuidx; in gicv3_init_irqs_and_mmio() local
308 cpuidx = 0; in gicv3_init_irqs_and_mmio()
314 region->cpuidx = cpuidx; in gicv3_init_irqs_and_mmio()
315 cpuidx += s->redist_region_count[i]; in gicv3_init_irqs_and_mmio()
328 int i, rdist_capacity, cpuidx; in arm_gicv3_common_realize() local
438 cpuidx = 0; in arm_gicv3_common_realize()
440 cpuidx += s->redist_region_count[i]; in arm_gicv3_common_realize()
441 s->cpu[cpuidx - 1].gicr_typer |= GICR_TYPER_LAST; in arm_gicv3_common_realize()
H A Darm_gicv3_redist.c696 int cpuidx; in gicv3_redist_read() local
708 cpuidx = region->cpuidx + offset / gicv3_redist_size(s); in gicv3_redist_read()
711 cs = &s->cpu[cpuidx]; in gicv3_redist_read()
755 int cpuidx; in gicv3_redist_write() local
767 cpuidx = region->cpuidx + offset / gicv3_redist_size(s); in gicv3_redist_write()
770 cs = &s->cpu[cpuidx]; in gicv3_redist_write()
/openbmc/qemu/include/hw/intc/
H A Darm_gicv3_common.h233 uint32_t cpuidx; /* index of first CPU this region covers */ member