Lines Matching refs:pvt

194 	struct ghes_edac_pvt *pvt = NULL;  in ghes_edac_report_mem_error()  local
198 list_for_each_entry(pvt, &ghes_reglist, list) { in ghes_edac_report_mem_error()
199 if (ghes == pvt->ghes) in ghes_edac_report_mem_error()
202 if (!pvt) { in ghes_edac_report_mem_error()
206 mci = pvt->mci; in ghes_edac_report_mem_error()
213 e->msg = pvt->msg; in ghes_edac_report_mem_error()
214 e->other_detail = pvt->other_detail; in ghes_edac_report_mem_error()
218 *pvt->other_detail = '\0'; in ghes_edac_report_mem_error()
219 *pvt->msg = '\0'; in ghes_edac_report_mem_error()
241 p = pvt->msg; in ghes_edac_report_mem_error()
296 strcpy(pvt->msg, "unknown error"); in ghes_edac_report_mem_error()
340 p = pvt->other_detail; in ghes_edac_report_mem_error()
411 if (p > pvt->other_detail) in ghes_edac_report_mem_error()
416 snprintf(pvt->detail_location, sizeof(pvt->detail_location), in ghes_edac_report_mem_error()
421 grain_bits, e->syndrome, pvt->detail_location); in ghes_edac_report_mem_error()
434 struct ghes_edac_pvt *pvt; in ghes_edac_register() local
456 sizeof(*pvt)); in ghes_edac_register()
463 pvt = mci->pvt_info; in ghes_edac_register()
464 memset(pvt, 0, sizeof(*pvt)); in ghes_edac_register()
465 list_add_tail(&pvt->list, &ghes_reglist); in ghes_edac_register()
466 pvt->ghes = ghes; in ghes_edac_register()
467 pvt->mci = mci; in ghes_edac_register()
536 struct ghes_edac_pvt *pvt, *tmp; in ghes_edac_unregister() local
538 list_for_each_entry_safe(pvt, tmp, &ghes_reglist, list) { in ghes_edac_unregister()
539 if (ghes == pvt->ghes) { in ghes_edac_unregister()
540 mci = pvt->mci; in ghes_edac_unregister()
543 list_del(&pvt->list); in ghes_edac_unregister()