Lines Matching defs:edac_dev
289 struct edac_device_ctl_info *edac_dev;
292 void (*check)(struct edac_device_ctl_info *edac_dev);
614 static void cpc925_cpu_check(struct edac_device_ctl_info *edac_dev)
616 struct cpc925_dev_info *dev_info = edac_dev->pvt_info;
631 edac_device_handle_ue(edac_dev, 0, 0, edac_dev->ctl_name);
658 static void cpc925_htlink_check(struct edac_device_ctl_info *edac_dev)
660 struct cpc925_dev_info *dev_info = edac_dev->pvt_info;
705 edac_device_handle_ce(edac_dev, 0, 0, edac_dev->ctl_name);
756 dev_info->edac_dev =
759 if (!dev_info->edac_dev) {
764 dev_info->edac_dev->pvt_info = dev_info;
765 dev_info->edac_dev->dev = &dev_info->pdev->dev;
766 dev_info->edac_dev->ctl_name = dev_info->ctl_name;
767 dev_info->edac_dev->mod_name = CPC925_EDAC_MOD_STR;
768 dev_info->edac_dev->dev_name = dev_name(&dev_info->pdev->dev);
771 dev_info->edac_dev->edac_check = dev_info->check;
776 if (edac_device_add_device(dev_info->edac_dev) > 0) {
791 edac_device_free_ctl_info(dev_info->edac_dev);
806 if (dev_info->edac_dev) {
807 edac_device_del_device(dev_info->edac_dev->dev);
808 edac_device_free_ctl_info(dev_info->edac_dev);