• Home
  • Raw
  • Download

Lines Matching refs:mci

29 #define i82875p_mc_printk(mci, level, fmt, arg...) \  argument
30 edac_mc_chipset_printk(mci, level, "i82875p", fmt, ##arg)
187 static void i82875p_get_error_info(struct mem_ctl_info *mci, in i82875p_get_error_info() argument
192 pdev = to_pci_dev(mci->pdev); in i82875p_get_error_info()
224 static int i82875p_process_error_info(struct mem_ctl_info *mci, in i82875p_process_error_info() argument
230 multi_chan = mci->csrows[0]->nr_channels - 1; in i82875p_process_error_info()
239 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, 0, 0, 0, in i82875p_process_error_info()
246 row = edac_mc_find_csrow_by_page(mci, info->eap); in i82875p_process_error_info()
249 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in i82875p_process_error_info()
254 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in i82875p_process_error_info()
262 static void i82875p_check(struct mem_ctl_info *mci) in i82875p_check() argument
266 edac_dbg(1, "MC%d\n", mci->mc_idx); in i82875p_check()
267 i82875p_get_error_info(mci, &info); in i82875p_check()
268 i82875p_process_error_info(mci, &info, 1); in i82875p_check()
341 static void i82875p_init_csrows(struct mem_ctl_info *mci, in i82875p_init_csrows() argument
363 for (index = 0; index < mci->nr_csrows; index++) { in i82875p_init_csrows()
364 csrow = mci->csrows[index]; in i82875p_init_csrows()
392 struct mem_ctl_info *mci; in i82875p_probe1() local
414 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, sizeof(*pvt)); in i82875p_probe1()
415 if (!mci) { in i82875p_probe1()
421 mci->pdev = &pdev->dev; in i82875p_probe1()
422 mci->mtype_cap = MEM_FLAG_DDR; in i82875p_probe1()
423 mci->edac_ctl_cap = EDAC_FLAG_NONE | EDAC_FLAG_SECDED; in i82875p_probe1()
424 mci->edac_cap = EDAC_FLAG_UNKNOWN; in i82875p_probe1()
425 mci->mod_name = EDAC_MOD_STR; in i82875p_probe1()
426 mci->mod_ver = I82875P_REVISION; in i82875p_probe1()
427 mci->ctl_name = i82875p_devs[dev_idx].ctl_name; in i82875p_probe1()
428 mci->dev_name = pci_name(pdev); in i82875p_probe1()
429 mci->edac_check = i82875p_check; in i82875p_probe1()
430 mci->ctl_page_to_phys = NULL; in i82875p_probe1()
432 pvt = (struct i82875p_pvt *)mci->pvt_info; in i82875p_probe1()
435 i82875p_init_csrows(mci, pdev, ovrfl_window, drc); in i82875p_probe1()
436 i82875p_get_error_info(mci, &discard); /* clear counters */ in i82875p_probe1()
441 if (edac_mc_add_mc(mci)) { in i82875p_probe1()
462 edac_mc_free(mci); in i82875p_probe1()
495 struct mem_ctl_info *mci; in i82875p_remove_one() local
503 if ((mci = edac_mc_del_mc(&pdev->dev)) == NULL) in i82875p_remove_one()
506 pvt = (struct i82875p_pvt *)mci->pvt_info; in i82875p_remove_one()
519 edac_mc_free(mci); in i82875p_remove_one()