• Home
  • Raw
  • Download

Lines Matching refs:mci

168 static void i3200_clear_error_info(struct mem_ctl_info *mci)  in i3200_clear_error_info()  argument
172 pdev = to_pci_dev(mci->pdev); in i3200_clear_error_info()
182 static void i3200_get_and_clear_error_info(struct mem_ctl_info *mci, in i3200_get_and_clear_error_info() argument
186 struct i3200_priv *priv = mci->pvt_info; in i3200_get_and_clear_error_info()
189 pdev = to_pci_dev(mci->pdev); in i3200_get_and_clear_error_info()
218 i3200_clear_error_info(mci); in i3200_get_and_clear_error_info()
221 static void i3200_process_error_info(struct mem_ctl_info *mci, in i3200_process_error_info() argument
231 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, 0, 0, 0, in i3200_process_error_info()
239 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in i3200_process_error_info()
245 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in i3200_process_error_info()
254 static void i3200_check(struct mem_ctl_info *mci) in i3200_check() argument
258 edac_dbg(1, "MC%d\n", mci->mc_idx); in i3200_check()
259 i3200_get_and_clear_error_info(mci, &info); in i3200_check()
260 i3200_process_error_info(mci, &info); in i3200_check()
342 struct mem_ctl_info *mci = NULL; in i3200_probe1() local
364 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, in i3200_probe1()
366 if (!mci) in i3200_probe1()
371 mci->pdev = &pdev->dev; in i3200_probe1()
372 mci->mtype_cap = MEM_FLAG_DDR2; in i3200_probe1()
374 mci->edac_ctl_cap = EDAC_FLAG_SECDED; in i3200_probe1()
375 mci->edac_cap = EDAC_FLAG_SECDED; in i3200_probe1()
377 mci->mod_name = EDAC_MOD_STR; in i3200_probe1()
378 mci->mod_ver = I3200_REVISION; in i3200_probe1()
379 mci->ctl_name = i3200_devs[dev_idx].ctl_name; in i3200_probe1()
380 mci->dev_name = pci_name(pdev); in i3200_probe1()
381 mci->edac_check = i3200_check; in i3200_probe1()
382 mci->ctl_page_to_phys = NULL; in i3200_probe1()
383 priv = mci->pvt_info; in i3200_probe1()
398 struct dimm_info *dimm = EDAC_DIMM_PTR(mci->layers, mci->dimms, in i3200_probe1()
399 mci->n_layers, i, j, 0); in i3200_probe1()
416 i3200_clear_error_info(mci); in i3200_probe1()
419 if (edac_mc_add_mc(mci)) { in i3200_probe1()
430 if (mci) in i3200_probe1()
431 edac_mc_free(mci); in i3200_probe1()
454 struct mem_ctl_info *mci; in i3200_remove_one() local
459 mci = edac_mc_del_mc(&pdev->dev); in i3200_remove_one()
460 if (!mci) in i3200_remove_one()
463 priv = mci->pvt_info; in i3200_remove_one()
466 edac_mc_free(mci); in i3200_remove_one()