Lines Matching refs:dci
19 struct edac_device_ctl_info *dci; member
36 edac_device_handle_ue(p->dci, 0, 0, msg); in ecc_err_event()
38 edac_device_handle_ce(p->dci, 0, 0, msg); in ecc_err_event()
54 p->dci = edac_device_alloc_ctl_info(0, "sifive_ecc", 1, "sifive_ecc", in ecc_register()
57 if (!p->dci) in ecc_register()
60 p->dci->dev = &pdev->dev; in ecc_register()
61 p->dci->mod_name = "Sifive ECC Manager"; in ecc_register()
62 p->dci->ctl_name = dev_name(&pdev->dev); in ecc_register()
63 p->dci->dev_name = dev_name(&pdev->dev); in ecc_register()
65 if (edac_device_add_device(p->dci)) { in ecc_register()
66 dev_err(p->dci->dev, "failed to register with EDAC core\n"); in ecc_register()
75 edac_device_free_ctl_info(p->dci); in ecc_register()
86 edac_device_free_ctl_info(p->dci); in ecc_unregister()