Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/edac/
H A Dppc4xx_edac.c821 * @mcopt1: The 32-bit Memory Controller Option 1 register value
836 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()
850 * @mcopt1: The 32-bit Memory Controller Option 1 register value
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()
878 * @mcopt1: The 32-bit Memory Controller Option 1 register value
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()
1006 ppc4xx_edac_mc_init(struct mem_ctl_info *mci, struct platform_device *op, const dcr_host_t *dcr_host, u32 mcopt1) ppc4xx_edac_mc_init() argument
1225 u32 mcopt1, memcheck; ppc4xx_edac_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/edac/
H A Dppc4xx_edac.c808 * @mcopt1: The 32-bit Memory Controller Option 1 register value
823 static enum dev_type ppc4xx_edac_get_dtype(u32 mcopt1) in ppc4xx_edac_get_dtype() argument
825 switch (mcopt1 & SDRAM_MCOPT1_WDTH_MASK) { in ppc4xx_edac_get_dtype()
837 * @mcopt1: The 32-bit Memory Controller Option 1 register value
846 static enum mem_type ppc4xx_edac_get_mtype(u32 mcopt1) in ppc4xx_edac_get_mtype() argument
848 bool rden = ((mcopt1 & SDRAM_MCOPT1_RDEN_MASK) == SDRAM_MCOPT1_RDEN); in ppc4xx_edac_get_mtype()
850 switch (mcopt1 & SDRAM_MCOPT1_DDR_TYPE_MASK) { in ppc4xx_edac_get_mtype()
865 * @mcopt1: The 32-bit Memory Controller Option 1 register value
876 static int ppc4xx_edac_init_csrows(struct mem_ctl_info *mci, u32 mcopt1) in ppc4xx_edac_init_csrows() argument
888 mtype = ppc4xx_edac_get_mtype(mcopt1); in ppc4xx_edac_init_csrows()
993 ppc4xx_edac_mc_init(struct mem_ctl_info *mci, struct platform_device *op, const dcr_host_t *dcr_host, u32 mcopt1) ppc4xx_edac_mc_init() argument
1212 u32 mcopt1, memcheck; ppc4xx_edac_probe() local
[all...]

Completed in 3 milliseconds