Lines Matching refs:pci
23 static void octeon_pci_poll(struct edac_pci_ctl_info *pci) in octeon_pci_poll() argument
29 edac_pci_handle_pe(pci, pci->ctl_name); in octeon_pci_poll()
34 edac_pci_handle_npe(pci, "Signaled System Error"); in octeon_pci_poll()
39 edac_pci_handle_npe(pci, "Received Master Abort"); in octeon_pci_poll()
44 edac_pci_handle_npe(pci, "Received Target Abort"); in octeon_pci_poll()
49 edac_pci_handle_npe(pci, "Signaled Target Abort"); in octeon_pci_poll()
54 edac_pci_handle_npe(pci, "Master Data Parity Error"); in octeon_pci_poll()
62 struct edac_pci_ctl_info *pci; in octeon_pci_probe() local
65 pci = edac_pci_alloc_ctl_info(0, "octeon_pci_err"); in octeon_pci_probe()
66 if (!pci) in octeon_pci_probe()
69 pci->dev = &pdev->dev; in octeon_pci_probe()
70 platform_set_drvdata(pdev, pci); in octeon_pci_probe()
71 pci->dev_name = dev_name(&pdev->dev); in octeon_pci_probe()
73 pci->mod_name = "octeon-pci"; in octeon_pci_probe()
74 pci->ctl_name = "octeon_pci_err"; in octeon_pci_probe()
75 pci->edac_check = octeon_pci_poll; in octeon_pci_probe()
77 if (edac_pci_add_device(pci, 0) > 0) { in octeon_pci_probe()
85 edac_pci_free_ctl_info(pci); in octeon_pci_probe()
92 struct edac_pci_ctl_info *pci = platform_get_drvdata(pdev); in octeon_pci_remove() local
95 edac_pci_free_ctl_info(pci); in octeon_pci_remove()