• Home
  • Raw
  • Download

Lines Matching refs:mci

67 	struct mem_ctl_info *mci = dev_id;  in highbank_mc_err_handler()  local
68 struct hb_mc_drvdata *drvdata = mci->pvt_info; in highbank_mc_err_handler()
76 edac_mc_handle_error(HW_EVENT_ERR_UNCORRECTED, mci, 1, in highbank_mc_err_handler()
80 mci->ctl_name, ""); in highbank_mc_err_handler()
86 edac_mc_handle_error(HW_EVENT_ERR_CORRECTED, mci, 1, in highbank_mc_err_handler()
90 mci->ctl_name, ""); in highbank_mc_err_handler()
98 static void highbank_mc_err_inject(struct mem_ctl_info *mci, u8 synd) in highbank_mc_err_inject() argument
100 struct hb_mc_drvdata *pdata = mci->pvt_info; in highbank_mc_err_inject()
114 struct mem_ctl_info *mci = to_mci(dev); in highbank_mc_inject_ctrl() local
120 highbank_mc_err_inject(mci, synd); in highbank_mc_inject_ctrl()
161 struct mem_ctl_info *mci; in highbank_mc_probe() local
180 mci = edac_mc_alloc(0, ARRAY_SIZE(layers), layers, in highbank_mc_probe()
182 if (!mci) in highbank_mc_probe()
185 mci->pdev = &pdev->dev; in highbank_mc_probe()
186 drvdata = mci->pvt_info; in highbank_mc_probe()
187 platform_set_drvdata(pdev, mci); in highbank_mc_probe()
224 mci->mtype_cap = MEM_FLAG_DDR3; in highbank_mc_probe()
225 mci->edac_ctl_cap = EDAC_FLAG_NONE | EDAC_FLAG_SECDED; in highbank_mc_probe()
226 mci->edac_cap = EDAC_FLAG_SECDED; in highbank_mc_probe()
227 mci->mod_name = pdev->dev.driver->name; in highbank_mc_probe()
228 mci->mod_ver = "1"; in highbank_mc_probe()
229 mci->ctl_name = id->compatible; in highbank_mc_probe()
230 mci->dev_name = dev_name(&pdev->dev); in highbank_mc_probe()
231 mci->scrub_mode = SCRUB_SW_SRC; in highbank_mc_probe()
234 dimm = *mci->dimms; in highbank_mc_probe()
241 res = edac_mc_add_mc_with_groups(mci, highbank_dev_groups); in highbank_mc_probe()
247 0, dev_name(&pdev->dev), mci); in highbank_mc_probe()
259 edac_mc_free(mci); in highbank_mc_probe()
265 struct mem_ctl_info *mci = platform_get_drvdata(pdev); in highbank_mc_remove() local
268 edac_mc_free(mci); in highbank_mc_remove()