Searched refs:mcmtr (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/edac/ |
D | skx_base.c | 172 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, cfg); in skx_get_dimm_config() 205 if (ndimms && !skx_check_ecc(mcmtr)) { in skx_get_dimm_config()
|
D | i10nm_base.c | 516 u32 reg, off, mcmtr; in i10nm_get_hbm_munits() local 574 mcmtr = I10NM_GET_MCMTR(&d->imc[lmc], 0); in i10nm_get_hbm_munits() 575 if (!I10NM_IS_HBM_IMC(mcmtr)) { in i10nm_get_hbm_munits() 646 u32 mcmtr; in i10nm_check_ecc() local 648 mcmtr = I10NM_GET_MCMTR(imc, chan); in i10nm_check_ecc() 649 edac_dbg(1, "ch%d mcmtr reg %x\n", chan, mcmtr); in i10nm_check_ecc() 651 return !!GET_BITFIELD(mcmtr, 2, 2); in i10nm_check_ecc()
|
D | sb_edac.c | 196 #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 1639 if (!IS_ECC_ENABLED(pvt->info.mcmtr)) { in __populate_dimms() 1675 GET_BITFIELD(pvt->info.mcmtr, 9, 9); in __populate_dimms() 1710 if (pci_read_config_dword(pvt->pci_ta, KNL_MCMTR, &pvt->info.mcmtr)) { in get_dimm_config() 1740 if (pci_read_config_dword(pvt->pci_ta, MCMTR, &pvt->info.mcmtr)) { in get_dimm_config() 1744 if (IS_LOCKSTEP_ENABLED(pvt->info.mcmtr)) { in get_dimm_config() 1753 if (IS_CLOSE_PG(pvt->info.mcmtr)) { in get_dimm_config()
|
D | skx_common.c | 343 int skx_get_dimm_info(u32 mtr, u32 mcmtr, u32 amap, struct dimm_info *dimm, in skx_get_dimm_info() argument 376 imc->chan[chan].dimms[dimmno].close_pg = GET_BITFIELD(mcmtr, 0, 0); in skx_get_dimm_info() 377 imc->chan[chan].dimms[dimmno].bank_xor_enable = GET_BITFIELD(mcmtr, 9, 9); in skx_get_dimm_info()
|
D | skx_common.h | 193 int skx_get_dimm_info(u32 mtr, u32 mcmtr, u32 amap, struct dimm_info *dimm,
|