Lines Matching refs:edac_dev
1050 struct edac_device_ctl_info *edac_dev; member
1125 ocx->edac_dev->ctl_name, ctx->reg_com_int); in thunderx_ocx_com_threaded_isr()
1148 edac_device_handle_ce(ocx->edac_dev, 0, 0, msg); in thunderx_ocx_com_threaded_isr()
1208 ocx->edac_dev->ctl_name, in thunderx_ocx_lnk_threaded_isr()
1217 edac_device_handle_ue(ocx->edac_dev, 0, 0, msg); in thunderx_ocx_lnk_threaded_isr()
1219 edac_device_handle_ce(ocx->edac_dev, 0, 0, msg); in thunderx_ocx_lnk_threaded_isr()
1340 struct edac_device_ctl_info *edac_dev; in thunderx_ocx_probe() local
1361 edac_dev = edac_device_alloc_ctl_info(sizeof(struct thunderx_ocx), in thunderx_ocx_probe()
1363 if (!edac_dev) { in thunderx_ocx_probe()
1367 ocx = edac_dev->pvt_info; in thunderx_ocx_probe()
1368 ocx->edac_dev = edac_dev; in thunderx_ocx_probe()
1409 edac_dev->dev = &pdev->dev; in thunderx_ocx_probe()
1410 edac_dev->dev_name = dev_name(&pdev->dev); in thunderx_ocx_probe()
1411 edac_dev->mod_name = "thunderx-ocx"; in thunderx_ocx_probe()
1412 edac_dev->ctl_name = "thunderx-ocx"; in thunderx_ocx_probe()
1414 ret = edac_device_add_device(edac_dev); in thunderx_ocx_probe()
1433 pci_set_drvdata(pdev, edac_dev); in thunderx_ocx_probe()
1461 edac_device_free_ctl_info(edac_dev); in thunderx_ocx_probe()
1468 struct edac_device_ctl_info *edac_dev = pci_get_drvdata(pdev); in thunderx_ocx_remove() local
1469 struct thunderx_ocx *ocx = edac_dev->pvt_info; in thunderx_ocx_remove()
1482 edac_device_free_ctl_info(edac_dev); in thunderx_ocx_remove()
1740 struct edac_device_ctl_info *edac_dev; member
1887 l2c->edac_dev->ctl_name, reg_int_name, ctx->reg_int, in thunderx_l2c_threaded_isr()
1895 edac_device_handle_ue(l2c->edac_dev, 0, 0, msg); in thunderx_l2c_threaded_isr()
1897 edac_device_handle_ce(l2c->edac_dev, 0, 0, msg); in thunderx_l2c_threaded_isr()
1942 struct edac_device_ctl_info *edac_dev; in thunderx_l2c_probe() local
1999 edac_dev = edac_device_alloc_ctl_info(sizeof(struct thunderx_l2c), in thunderx_l2c_probe()
2001 if (!edac_dev) { in thunderx_l2c_probe()
2006 l2c = edac_dev->pvt_info; in thunderx_l2c_probe()
2007 l2c->edac_dev = edac_dev; in thunderx_l2c_probe()
2038 edac_dev->dev = &pdev->dev; in thunderx_l2c_probe()
2039 edac_dev->dev_name = dev_name(&pdev->dev); in thunderx_l2c_probe()
2040 edac_dev->mod_name = "thunderx-l2c"; in thunderx_l2c_probe()
2041 edac_dev->ctl_name = "thunderx-l2c"; in thunderx_l2c_probe()
2043 ret = edac_device_add_device(edac_dev); in thunderx_l2c_probe()
2061 pci_set_drvdata(pdev, edac_dev); in thunderx_l2c_probe()
2068 edac_device_free_ctl_info(edac_dev); in thunderx_l2c_probe()
2075 struct edac_device_ctl_info *edac_dev = pci_get_drvdata(pdev); in thunderx_l2c_remove() local
2076 struct thunderx_l2c *l2c = edac_dev->pvt_info; in thunderx_l2c_remove()
2093 edac_device_free_ctl_info(edac_dev); in thunderx_l2c_remove()