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