Lines Matching refs:ed
31 struct edac_device_ctl_info *ed; member
58 edac_device_printk(p->ed, KERN_ERR, in co_cache_error_event()
63 edac_device_handle_ce(p->ed, cpu, 1, "icache"); in co_cache_error_event()
66 edac_device_printk(p->ed, KERN_ERR, in co_cache_error_event()
71 edac_device_handle_ue(p->ed, cpu, 0, "dcache"); in co_cache_error_event()
73 edac_device_handle_ce(p->ed, cpu, 0, "dcache"); in co_cache_error_event()
95 p->ed = edac_device_alloc_ctl_info(0, "cpu", num_possible_cpus(), in co_cache_error_probe()
98 if (!p->ed) in co_cache_error_probe()
101 p->ed->dev = &pdev->dev; in co_cache_error_probe()
103 p->ed->dev_name = dev_name(&pdev->dev); in co_cache_error_probe()
105 p->ed->mod_name = "octeon-cpu"; in co_cache_error_probe()
106 p->ed->ctl_name = "cache"; in co_cache_error_probe()
108 if (edac_device_add_device(p->ed)) { in co_cache_error_probe()
118 edac_device_free_ctl_info(p->ed); in co_cache_error_probe()
129 edac_device_free_ctl_info(p->ed); in co_cache_error_remove()