Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/kernel/
Dmips-cpc.c50 unsigned long cpc_base; in mips_cpc_phys_base() local
59 cpc_base = read_gcr_cpc_base(); in mips_cpc_phys_base()
60 if (cpc_base & CM_GCR_CPC_BASE_CPCEN) in mips_cpc_phys_base()
61 return cpc_base & CM_GCR_CPC_BASE_CPCBASE; in mips_cpc_phys_base()
64 cpc_base = mips_cpc_default_phys_base(); in mips_cpc_phys_base()
65 if (!cpc_base) in mips_cpc_phys_base()
66 return cpc_base; in mips_cpc_phys_base()
69 write_gcr_cpc_base(cpc_base | CM_GCR_CPC_BASE_CPCEN); in mips_cpc_phys_base()
70 return cpc_base; in mips_cpc_phys_base()
/Linux-v4.19/arch/mips/include/asm/
Dmips-cm.h200 GCR_ACCESSOR_RW(64, 0x088, cpc_base)