Home
last modified time | relevance | path

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

/arch/mips/kernel/
Dmips-cpc.c47 unsigned long cpc_base; in mips_cpc_phys_base() local
56 cpc_base = read_gcr_cpc_base(); in mips_cpc_phys_base()
57 if (cpc_base & CM_GCR_CPC_BASE_CPCEN) in mips_cpc_phys_base()
58 return cpc_base & CM_GCR_CPC_BASE_CPCBASE; in mips_cpc_phys_base()
61 cpc_base = mips_cpc_default_phys_base(); in mips_cpc_phys_base()
62 if (!cpc_base) in mips_cpc_phys_base()
63 return cpc_base; in mips_cpc_phys_base()
66 write_gcr_cpc_base(cpc_base | CM_GCR_CPC_BASE_CPCEN); in mips_cpc_phys_base()
67 return cpc_base; in mips_cpc_phys_base()
/arch/mips/include/asm/
Dmips-cm.h197 GCR_ACCESSOR_RW(64, 0x088, cpc_base)