Home
last modified time | relevance | path

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

/linux-5.19.10/arch/mips/kernel/
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()
/linux-5.19.10/arch/mips/include/asm/
Dmips-cm.h197 GCR_ACCESSOR_RW(64, 0x088, cpc_base)