Lines Matching refs:slidx
227 mca_make_slidx(void *buffer, slidx_table_t *slidx) in mca_make_slidx() argument
238 INIT_LIST_HEAD(&(slidx->proc_err)); in mca_make_slidx()
239 INIT_LIST_HEAD(&(slidx->mem_dev_err)); in mca_make_slidx()
240 INIT_LIST_HEAD(&(slidx->sel_dev_err)); in mca_make_slidx()
241 INIT_LIST_HEAD(&(slidx->pci_bus_err)); in mca_make_slidx()
242 INIT_LIST_HEAD(&(slidx->smbios_dev_err)); in mca_make_slidx()
243 INIT_LIST_HEAD(&(slidx->pci_comp_err)); in mca_make_slidx()
244 INIT_LIST_HEAD(&(slidx->plat_specific_err)); in mca_make_slidx()
245 INIT_LIST_HEAD(&(slidx->host_ctlr_err)); in mca_make_slidx()
246 INIT_LIST_HEAD(&(slidx->plat_bus_err)); in mca_make_slidx()
247 INIT_LIST_HEAD(&(slidx->unsupported)); in mca_make_slidx()
252 slidx->header = buffer; in mca_make_slidx()
262 LOG_INDEX_ADD_SECT_PTR(slidx->proc_err, sp); in mca_make_slidx()
266 LOG_INDEX_ADD_SECT_PTR(slidx->mem_dev_err, sp); in mca_make_slidx()
270 LOG_INDEX_ADD_SECT_PTR(slidx->sel_dev_err, sp); in mca_make_slidx()
274 LOG_INDEX_ADD_SECT_PTR(slidx->pci_bus_err, sp); in mca_make_slidx()
278 LOG_INDEX_ADD_SECT_PTR(slidx->smbios_dev_err, sp); in mca_make_slidx()
282 LOG_INDEX_ADD_SECT_PTR(slidx->pci_comp_err, sp); in mca_make_slidx()
286 LOG_INDEX_ADD_SECT_PTR(slidx->plat_specific_err, sp); in mca_make_slidx()
290 LOG_INDEX_ADD_SECT_PTR(slidx->host_ctlr_err, sp); in mca_make_slidx()
294 LOG_INDEX_ADD_SECT_PTR(slidx->plat_bus_err, sp); in mca_make_slidx()
296 LOG_INDEX_ADD_SECT_PTR(slidx->unsupported, sp); in mca_make_slidx()
299 slidx->n_sections = sects; in mca_make_slidx()
494 recover_from_read_error(slidx_table_t *slidx, in recover_from_read_error() argument
576 recover_from_platform_error(slidx_table_t *slidx, peidx_table_t *peidx, in recover_from_platform_error() argument
589 status = recover_from_read_error(slidx, peidx, pbci, in recover_from_platform_error()
607 status = recover_from_read_error(slidx, peidx, pbci, sos); in recover_from_platform_error()
653 recover_from_processor_error(int platform, slidx_table_t *slidx, in recover_from_processor_error() argument
709 return recover_from_platform_error(slidx, peidx, pbci, sos); in recover_from_processor_error()
731 slidx_table_t slidx; in mca_try_to_recover() local
736 platform_err = mca_make_slidx(rec, &slidx); in mca_try_to_recover()
739 n_proc_err = slidx_count(&slidx, proc_err); in mca_try_to_recover()
750 slidx_first_entry(&slidx.proc_err)->hdr, &peidx); in mca_try_to_recover()
760 return recover_from_processor_error(platform_err, &slidx, &peidx, in mca_try_to_recover()