Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/edac/
Di10nm_base.c151 u32 mcmtr; in i10nm_check_ecc() local
153 mcmtr = I10NM_GET_MCMTR(imc, chan); in i10nm_check_ecc()
154 edac_dbg(1, "ch%d mcmtr reg %x\n", chan, mcmtr); in i10nm_check_ecc()
156 return !!GET_BITFIELD(mcmtr, 2, 2); in i10nm_check_ecc()
Dskx_base.c172 static bool skx_check_ecc(u32 mcmtr) in skx_check_ecc() argument
174 return !!GET_BITFIELD(mcmtr, 2, 2); in skx_check_ecc()
180 u32 mtr, mcmtr, amap, mcddrtcfg; in skx_get_dimm_config() local
187 pci_read_config_dword(imc->chan[0].cdev, 0x87c, &mcmtr); in skx_get_dimm_config()
198 ndimms += skx_get_dimm_info(mtr, mcmtr, amap, dimm, imc, i, j); in skx_get_dimm_config()
205 if (ndimms && !skx_check_ecc(mcmtr)) { in skx_get_dimm_config()
Dsb_edac.c196 #define IS_ECC_ENABLED(mcmtr) GET_BITFIELD(mcmtr, 2, 2) argument
197 #define IS_LOCKSTEP_ENABLED(mcmtr) GET_BITFIELD(mcmtr, 1, 1) argument
198 #define IS_CLOSE_PG(mcmtr) GET_BITFIELD(mcmtr, 0, 0) argument
316 u32 mcmtr; member
1631 if (!IS_ECC_ENABLED(pvt->info.mcmtr)) { in __populate_dimms()
1697 if (pci_read_config_dword(pvt->pci_ta, KNL_MCMTR, &pvt->info.mcmtr)) { in get_dimm_config()
1727 if (pci_read_config_dword(pvt->pci_ta, MCMTR, &pvt->info.mcmtr)) { in get_dimm_config()
1731 if (IS_LOCKSTEP_ENABLED(pvt->info.mcmtr)) { in get_dimm_config()
1740 if (IS_CLOSE_PG(pvt->info.mcmtr)) { in get_dimm_config()
Dskx_common.c306 int skx_get_dimm_info(u32 mtr, u32 mcmtr, u32 amap, struct dimm_info *dimm, in skx_get_dimm_info() argument
326 imc->chan[chan].dimms[dimmno].close_pg = GET_BITFIELD(mcmtr, 0, 0); in skx_get_dimm_info()
327 imc->chan[chan].dimms[dimmno].bank_xor_enable = GET_BITFIELD(mcmtr, 9, 9); in skx_get_dimm_info()
Dskx_common.h138 int skx_get_dimm_info(u32 mtr, u32 mcmtr, u32 amap, struct dimm_info *dimm,