Lines Matching refs:pvt

174 	struct ghes_edac_pvt *pvt = NULL;  in ghes_edac_report_mem_error()  local
178 list_for_each_entry(pvt, &ghes_reglist, list) { in ghes_edac_report_mem_error()
179 if (ghes == pvt->ghes) in ghes_edac_report_mem_error()
182 if (!pvt) { in ghes_edac_report_mem_error()
186 mci = pvt->mci; in ghes_edac_report_mem_error()
193 e->msg = pvt->msg; in ghes_edac_report_mem_error()
194 e->other_detail = pvt->other_detail; in ghes_edac_report_mem_error()
198 *pvt->other_detail = '\0'; in ghes_edac_report_mem_error()
199 *pvt->msg = '\0'; in ghes_edac_report_mem_error()
221 p = pvt->msg; in ghes_edac_report_mem_error()
276 strcpy(pvt->msg, "unknown error"); in ghes_edac_report_mem_error()
320 p = pvt->other_detail; in ghes_edac_report_mem_error()
391 if (p > pvt->other_detail) in ghes_edac_report_mem_error()
396 snprintf(pvt->detail_location, sizeof(pvt->detail_location), in ghes_edac_report_mem_error()
401 grain_bits, e->syndrome, pvt->detail_location); in ghes_edac_report_mem_error()
414 struct ghes_edac_pvt *pvt; in ghes_edac_register() local
436 sizeof(*pvt)); in ghes_edac_register()
443 pvt = mci->pvt_info; in ghes_edac_register()
444 memset(pvt, 0, sizeof(*pvt)); in ghes_edac_register()
445 list_add_tail(&pvt->list, &ghes_reglist); in ghes_edac_register()
446 pvt->ghes = ghes; in ghes_edac_register()
447 pvt->mci = mci; in ghes_edac_register()
516 struct ghes_edac_pvt *pvt, *tmp; in ghes_edac_unregister() local
518 list_for_each_entry_safe(pvt, tmp, &ghes_reglist, list) { in ghes_edac_unregister()
519 if (ghes == pvt->ghes) { in ghes_edac_unregister()
520 mci = pvt->mci; in ghes_edac_unregister()
523 list_del(&pvt->list); in ghes_edac_unregister()