Lines Matching refs:edac_dev

290 	struct edac_device_ctl_info *edac_dev;  member
293 void (*check)(struct edac_device_ctl_info *edac_dev);
672 static void cpc925_cpu_check(struct edac_device_ctl_info *edac_dev) in cpc925_cpu_check() argument
674 struct cpc925_dev_info *dev_info = edac_dev->pvt_info; in cpc925_cpu_check()
692 edac_device_handle_ue(edac_dev, 0, 0, edac_dev->ctl_name); in cpc925_cpu_check()
719 static void cpc925_htlink_check(struct edac_device_ctl_info *edac_dev) in cpc925_htlink_check() argument
721 struct cpc925_dev_info *dev_info = edac_dev->pvt_info; in cpc925_htlink_check()
766 edac_device_handle_ce(edac_dev, 0, 0, edac_dev->ctl_name); in cpc925_htlink_check()
817 dev_info->edac_dev = in cpc925_add_edac_devices()
820 if (!dev_info->edac_dev) { in cpc925_add_edac_devices()
825 dev_info->edac_dev->pvt_info = dev_info; in cpc925_add_edac_devices()
826 dev_info->edac_dev->dev = &dev_info->pdev->dev; in cpc925_add_edac_devices()
827 dev_info->edac_dev->ctl_name = dev_info->ctl_name; in cpc925_add_edac_devices()
828 dev_info->edac_dev->mod_name = CPC925_EDAC_MOD_STR; in cpc925_add_edac_devices()
829 dev_info->edac_dev->dev_name = dev_name(&dev_info->pdev->dev); in cpc925_add_edac_devices()
832 dev_info->edac_dev->edac_check = dev_info->check; in cpc925_add_edac_devices()
837 if (edac_device_add_device(dev_info->edac_dev) > 0) { in cpc925_add_edac_devices()
852 edac_device_free_ctl_info(dev_info->edac_dev); in cpc925_add_edac_devices()
867 if (dev_info->edac_dev) { in cpc925_del_edac_devices()
868 edac_device_del_device(dev_info->edac_dev->dev); in cpc925_del_edac_devices()
869 edac_device_free_ctl_info(dev_info->edac_dev); in cpc925_del_edac_devices()