Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/edac/
H A Dppc4xx_edac.c836 static enum dev_type ppc4xx_edac_get_dtype(u32 mcopt1) in ppc4xx_edac_get_dtype() argument
838 switch (mcopt1 & SDRAM_MCOPT1_WDTH_MASK) { in ppc4xx_edac_get_dtype()
859 static enum mem_type ppc4xx_edac_get_mtype(u32 mcopt1) in ppc4xx_edac_get_mtype() argument
861 bool rden = ((mcopt1 & SDRAM_MCOPT1_RDEN_MASK) == SDRAM_MCOPT1_RDEN); in ppc4xx_edac_get_mtype()
863 switch (mcopt1 & SDRAM_MCOPT1_DDR_TYPE_MASK) { in ppc4xx_edac_get_mtype()
889 static int ppc4xx_edac_init_csrows(struct mem_ctl_info *mci, u32 mcopt1) in ppc4xx_edac_init_csrows() argument
901 mtype = ppc4xx_edac_get_mtype(mcopt1); in ppc4xx_edac_init_csrows()
902 dtype = ppc4xx_edac_get_dtype(mcopt1); in ppc4xx_edac_init_csrows()
1008 const dcr_host_t *dcr_host, u32 mcopt1) in ppc4xx_edac_mc_init() argument
1011 const u32 memcheck = (mcopt1 & SDRAM_MCOPT1_MCHK_MASK); in ppc4xx_edac_mc_init()
[all …]