Searched refs:tohm (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/edac/ |
| H A D | imh_base.c | 232 static bool imh_get_tolm_tohm(struct res_config *cfg, u64 *tolm, u64 *tohm) in imh_get_tolm_tohm() argument 242 DEFINE_LOCAL_REG(reg2, cfg, 0, true, sca, 0, tohm); in imh_get_tolm_tohm() 247 *tohm = TOHM(reg2.val); in imh_get_tolm_tohm() 248 edac_dbg(2, "tohm 0x%llx (reg 0x%llx)\n", *tohm, reg2.val); in imh_get_tolm_tohm() 525 u64 tolm, tohm; in imh_init() local 546 if (!imh_get_tolm_tohm(cfg, &tolm, &tohm)) in imh_init() 549 skx_set_hi_lo(tolm, tohm); in imh_init()
|
| H A D | skx_common.c | 394 int skx_get_hi_lo(unsigned int did, int off[], u64 *tolm, u64 *tohm) in skx_get_hi_lo() argument 425 *tohm = skx_tohm; in skx_get_hi_lo() 434 void skx_set_hi_lo(u64 tolm, u64 tohm) in skx_set_hi_lo() argument 437 skx_tohm = tohm; in skx_set_hi_lo()
|
| H A D | sb_edac.c | 404 u64 tolm, tohm; member 1788 pvt->tohm = pvt->info.get_tohm(pvt); in get_memory_layout() 1789 tmp_mb = (1 + pvt->tohm) >> 20; in get_memory_layout() 1793 gb, (mb*1000)/1024, (u64)pvt->tohm); in get_memory_layout() 2066 if (addr >= (u64)pvt->tohm) { in get_memory_error_data()
|