Lines Matching refs:ecclog
181 u64 ecclog; member
543 struct mem_ctl_info *mci, u64 ecclog) in igen6_output_error() argument
545 enum hw_event_mc_err_type type = ecclog & ECC_ERROR_LOG_UE ? in igen6_output_error()
552 ECC_ERROR_LOG_SYND(ecclog), in igen6_output_error()
573 static int ecclog_gen_pool_add(int mc, u64 ecclog) in ecclog_gen_pool_add() argument
582 node->ecclog = ecclog; in ecclog_gen_pool_add()
597 u64 ecclog = readq(imc->window + ECC_ERROR_LOG_OFFSET); in ecclog_read_and_clear() local
599 if (ecclog & (ECC_ERROR_LOG_CE | ECC_ERROR_LOG_UE)) { in ecclog_read_and_clear()
601 writeq(ecclog, imc->window + ECC_ERROR_LOG_OFFSET); in ecclog_read_and_clear()
602 return ecclog; in ecclog_read_and_clear()
648 u64 ecclog; in ecclog_handler() local
655 ecclog = ecclog_read_and_clear(imc); in ecclog_handler()
656 if (!ecclog) in ecclog_handler()
659 if (!ecclog_gen_pool_add(i, ecclog)) in ecclog_handler()
682 eaddr = ECC_ERROR_LOG_ADDR(node->ecclog) << in ecclog_work_cb()
690 edac_dbg(2, "MC %d, ecclog = 0x%llx\n", node->mc, node->ecclog); in ecclog_work_cb()
695 igen6_output_error(&res, mci, node->ecclog); in ecclog_work_cb()
894 u64 ecclog; in debugfs_u64_set() local
904 ecclog = (val << ECC_ERROR_LOG_ADDR_SHIFT) | ECC_ERROR_LOG_CE; in debugfs_u64_set()
906 if (!ecclog_gen_pool_add(0, ecclog)) in debugfs_u64_set()