Lines Matching full:mci
56 struct mem_ctl_info *mci = dev_id; in highbank_mc_err_handler() local
57 struct hb_mc_drvdata *drvdata = mci->pvt_info; in highbank_mc_err_handler()
65 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in highbank_mc_err_handler()
69 mci->ctl_name, ""); in highbank_mc_err_handler()
75 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in highbank_mc_err_handler()
79 mci->ctl_name, ""); in highbank_mc_err_handler()
87 static void highbank_mc_err_inject(struct mem_ctl_info *mci, u8 synd) in highbank_mc_err_inject() argument
89 struct hb_mc_drvdata *pdata = mci->pvt_info; in highbank_mc_err_inject()
103 struct mem_ctl_info *mci = to_mci(dev); in highbank_mc_inject_ctrl() local
109 highbank_mc_err_inject(mci, synd); in highbank_mc_inject_ctrl()
150 struct mem_ctl_info *mci; in highbank_mc_probe() local
169 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, in highbank_mc_probe()
171 if (!mci) in highbank_mc_probe()
174 mci->pdev = &pdev->dev; in highbank_mc_probe()
175 drvdata = mci->pvt_info; in highbank_mc_probe()
176 platform_set_drvdata(pdev, mci); in highbank_mc_probe()
215 mci->mtype_cap = MEM_FLAG_DDR3; in highbank_mc_probe()
216 mci->edac_ctl_cap = EDAC_FLAG_NONE | EDAC_FLAG_SECDED; in highbank_mc_probe()
217 mci->edac_cap = EDAC_FLAG_SECDED; in highbank_mc_probe()
218 mci->mod_name = pdev->dev.driver->name; in highbank_mc_probe()
219 mci->ctl_name = id->compatible; in highbank_mc_probe()
220 mci->dev_name = dev_name(&pdev->dev); in highbank_mc_probe()
221 mci->scrub_mode = SCRUB_SW_SRC; in highbank_mc_probe()
224 dimm = *mci->dimms; in highbank_mc_probe()
231 res = edac_mc_add_mc_with_groups(mci, highbank_dev_groups); in highbank_mc_probe()
237 0, dev_name(&pdev->dev), mci); in highbank_mc_probe()
250 edac_mc_free(mci); in highbank_mc_probe()
256 struct mem_ctl_info *mci = platform_get_drvdata(pdev); in highbank_mc_remove() local
259 edac_mc_free(mci); in highbank_mc_remove()