Home
last modified time | relevance | path

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

/openbmc/linux/arch/arm/mach-npcm/
H A Dplatsmp.c25 void __iomem *gcr_base; in npcm7xx_smp_boot_secondary() local
34 gcr_base = of_iomap(gcr_np, 0); in npcm7xx_smp_boot_secondary()
35 if (!gcr_base) { in npcm7xx_smp_boot_secondary()
42 iowrite32(__pa_symbol(npcm7xx_secondary_startup), gcr_base + in npcm7xx_smp_boot_secondary()
47 iounmap(gcr_base); in npcm7xx_smp_boot_secondary()
/openbmc/qemu/hw/misc/
H A Dmips_cmgcr.c37 gcr->gcr_base = val & GCR_BASE_GCRBASE_MSK; in update_gcr_base()
38 memory_region_set_address(&gcr->iomem, gcr->gcr_base); in update_gcr_base()
42 mips_cpu->env.CP0_CMGCRBase = gcr->gcr_base >> 4; in update_gcr_base()
85 return gcr->gcr_base; in gcr_read()
217 DEFINE_PROP_UINT64("gcr-base", MIPSGCRState, gcr_base, GCR_BASE_ADDR),
/openbmc/qemu/hw/mips/
H A Dcps.c68 target_ulong gcr_base; in mips_cps_realize() local
145 gcr_base = MIPS_CPU(first_cpu)->env.CP0_CMGCRBase << 4; in mips_cps_realize()
152 object_property_set_int(OBJECT(&s->gcr), "gcr-base", gcr_base, in mips_cps_realize()
162 memory_region_add_subregion(&s->container, gcr_base, in mips_cps_realize()
/openbmc/qemu/include/hw/misc/
H A Dmips_cmgcr.h79 hwaddr gcr_base; member