Lines Matching refs:edac_dev
169 static void amd8131_pcix_check(struct edac_pci_ctl_info *edac_dev) in amd8131_pcix_check() argument
171 struct amd8131_dev_info *dev_info = edac_dev->pvt_info; in amd8131_pcix_check()
192 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check()
205 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check()
218 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check()
231 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check()
281 dev_info->edac_dev = edac_pci_alloc_ctl_info(0, dev_info->ctl_name); in amd8131_probe()
282 if (!dev_info->edac_dev) in amd8131_probe()
285 dev_info->edac_dev->pvt_info = dev_info; in amd8131_probe()
286 dev_info->edac_dev->dev = &dev_info->dev->dev; in amd8131_probe()
287 dev_info->edac_dev->mod_name = AMD8131_EDAC_MOD_STR; in amd8131_probe()
288 dev_info->edac_dev->ctl_name = dev_info->ctl_name; in amd8131_probe()
289 dev_info->edac_dev->dev_name = dev_name(&dev_info->dev->dev); in amd8131_probe()
292 dev_info->edac_dev->edac_check = amd8131_chipset.check; in amd8131_probe()
297 if (edac_pci_add_device(dev_info->edac_dev, dev_info->edac_idx) > 0) { in amd8131_probe()
300 edac_pci_free_ctl_info(dev_info->edac_dev); in amd8131_probe()
324 if (dev_info->edac_dev) { in amd8131_remove()
325 edac_pci_del_device(dev_info->edac_dev->dev); in amd8131_remove()
326 edac_pci_free_ctl_info(dev_info->edac_dev); in amd8131_remove()