Lines Matching refs:ed
30 struct edac_device_ctl_info *ed;
57 edac_device_printk(p->ed, KERN_ERR,
62 edac_device_handle_ce(p->ed, cpu, 1, "icache");
65 edac_device_printk(p->ed, KERN_ERR,
70 edac_device_handle_ue(p->ed, cpu, 0, "dcache");
72 edac_device_handle_ce(p->ed, cpu, 0, "dcache");
94 p->ed = edac_device_alloc_ctl_info(0, "cpu", num_possible_cpus(),
97 if (!p->ed)
100 p->ed->dev = &pdev->dev;
102 p->ed->dev_name = dev_name(&pdev->dev);
104 p->ed->mod_name = "octeon-cpu";
105 p->ed->ctl_name = "cache";
107 if (edac_device_add_device(p->ed)) {
117 edac_device_free_ctl_info(p->ed);
128 edac_device_free_ctl_info(p->ed);