Lines Matching refs:ecclog

140 	u64 (*err_addr)(u64 ecclog);
186 u64 ecclog; member
480 static u64 rpl_p_err_addr(u64 ecclog) in rpl_p_err_addr() argument
482 return ECC_ERROR_LOG_ADDR45(ecclog); in rpl_p_err_addr()
756 struct mem_ctl_info *mci, u64 ecclog) in igen6_output_error() argument
758 enum hw_event_mc_err_type type = ecclog & ECC_ERROR_LOG_UE ? in igen6_output_error()
765 ECC_ERROR_LOG_SYND(ecclog), in igen6_output_error()
786 static int ecclog_gen_pool_add(int mc, u64 ecclog) in ecclog_gen_pool_add() argument
795 node->ecclog = ecclog; in ecclog_gen_pool_add()
810 u64 ecclog = readq(imc->window + ECC_ERROR_LOG_OFFSET); in ecclog_read_and_clear() local
817 if (ecclog == ~0) in ecclog_read_and_clear()
821 if (!(ecclog & (ECC_ERROR_LOG_CE | ECC_ERROR_LOG_UE))) in ecclog_read_and_clear()
825 writeq(ecclog, imc->window + ECC_ERROR_LOG_OFFSET); in ecclog_read_and_clear()
827 return ecclog; in ecclog_read_and_clear()
870 u64 ecclog; in ecclog_handler() local
877 ecclog = ecclog_read_and_clear(imc); in ecclog_handler()
878 if (!ecclog) in ecclog_handler()
881 if (!ecclog_gen_pool_add(i, ecclog)) in ecclog_handler()
905 eaddr = res_cfg->err_addr(node->ecclog); in ecclog_work_cb()
907 eaddr = ECC_ERROR_LOG_ADDR(node->ecclog) << in ecclog_work_cb()
915 edac_dbg(2, "MC %d, ecclog = 0x%llx\n", node->mc, node->ecclog); in ecclog_work_cb()
920 igen6_output_error(&res, mci, node->ecclog); in ecclog_work_cb()
1119 u64 ecclog; in debugfs_u64_set() local
1129 ecclog = (val << ECC_ERROR_LOG_ADDR_SHIFT) | ECC_ERROR_LOG_CE; in debugfs_u64_set()
1131 if (!ecclog_gen_pool_add(0, ecclog)) in debugfs_u64_set()
1217 u64 ecclog; in igen6_check() local
1220 ecclog = ecclog_read_and_clear(imc); in igen6_check()
1221 if (!ecclog) in igen6_check()
1224 if (!ecclog_gen_pool_add(imc->mc, ecclog)) in igen6_check()