Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/kernel/
H A Dmips-cpc.c48 unsigned long cpc_base; in mips_cpc_phys_base() local
57 cpc_base = read_gcr_cpc_base(); in mips_cpc_phys_base()
58 if (cpc_base & CM_GCR_CPC_BASE_CPCEN) in mips_cpc_phys_base()
59 return cpc_base & CM_GCR_CPC_BASE_CPCBASE; in mips_cpc_phys_base()
62 cpc_base = mips_cpc_default_phys_base(); in mips_cpc_phys_base()
63 if (!cpc_base) in mips_cpc_phys_base()
64 return cpc_base; in mips_cpc_phys_base()
67 write_gcr_cpc_base(cpc_base | CM_GCR_CPC_BASE_CPCEN); in mips_cpc_phys_base()
68 return cpc_base; in mips_cpc_phys_base()
/openbmc/qemu/hw/misc/
H A Dmips_cmgcr.c49 gcr->cpc_base = val & GCR_CPC_BASE_MSK; in update_cpc_base()
52 gcr->cpc_base & GCR_CPC_BASE_CPCBASE_MSK); in update_cpc_base()
54 gcr->cpc_base & GCR_CPC_BASE_CPCEN_MSK); in update_cpc_base()
91 return gcr->cpc_base; in gcr_read()
209 VMSTATE_UINT64(cpc_base, MIPSGCRState),
/openbmc/qemu/include/hw/misc/
H A Dmips_cmgcr.h84 uint64_t cpc_base; member
/openbmc/linux/arch/mips/include/asm/
H A Dmips-cm.h197 GCR_ACCESSOR_RW(64, 0x088, cpc_base)