Lines Matching refs:res_cfg
74 #define IBECC_BASE (res_cfg->ibecc_base)
79 #define ECC_ERROR_LOG_OFFSET (IBECC_BASE + res_cfg->ibecc_error_log_offset)
94 #define IMC_BASE (res_cfg->imc_base)
144 } *res_cfg; variable
831 for (i = 0; i < res_cfg->num_imc; i++) { in ecclog_handler()
863 if (res_cfg->err_addr) in ecclog_work_cb()
864 eaddr = res_cfg->err_addr(node->ecclog); in ecclog_work_cb()
869 res.sys_addr = res_cfg->err_addr_to_sys_addr(eaddr, res.mc); in ecclog_work_cb()
870 res.imc_addr = res_cfg->err_addr_to_imc_addr(eaddr, res.mc); in ecclog_work_cb()
889 for (i = 0; i < res_cfg->num_imc; i++) in ecclog_irq_work_cb()
1132 if (!res_cfg->ibecc_available(pdev)) { in igen6_pci_setup()
1264 for (i = 0; i < res_cfg->num_imc; i++) { in igen6_unregister_mcis()
1280 u64 base = mchbar + res_cfg->cmf_base; in igen6_mem_slice_setup()
1281 u32 offset = res_cfg->ms_hash_offset; in igen6_mem_slice_setup()
1282 u32 size = res_cfg->cmf_size; in igen6_mem_slice_setup()
1326 if (res_cfg->machine_check) { in register_err_handler()
1343 if (res_cfg->machine_check) { in unregister_err_handler()
1362 res_cfg = (struct res_config *)ent->driver_data; in igen6_probe()
1368 for (i = 0; i < res_cfg->num_imc; i++) { in igen6_probe()
1374 if (res_cfg->num_imc > 1) { in igen6_probe()