• Home
  • Raw
  • Download

Lines Matching refs:edac_dev

231 static void mv64x60_sram_check(struct edac_device_ctl_info *edac_dev)  in mv64x60_sram_check()  argument
233 struct mv64x60_sram_pdata *pdata = edac_dev->pvt_info; in mv64x60_sram_check()
254 edac_device_handle_ue(edac_dev, 0, 0, edac_dev->ctl_name); in mv64x60_sram_check()
259 struct edac_device_ctl_info *edac_dev = dev_id; in mv64x60_sram_isr() local
260 struct mv64x60_sram_pdata *pdata = edac_dev->pvt_info; in mv64x60_sram_isr()
267 mv64x60_sram_check(edac_dev); in mv64x60_sram_isr()
274 struct edac_device_ctl_info *edac_dev; in mv64x60_sram_err_probe() local
282 edac_dev = edac_device_alloc_ctl_info(sizeof(*pdata), in mv64x60_sram_err_probe()
285 if (!edac_dev) { in mv64x60_sram_err_probe()
290 pdata = edac_dev->pvt_info; in mv64x60_sram_err_probe()
292 edac_dev->dev = &pdev->dev; in mv64x60_sram_err_probe()
293 platform_set_drvdata(pdev, edac_dev); in mv64x60_sram_err_probe()
294 edac_dev->dev_name = dev_name(&pdev->dev); in mv64x60_sram_err_probe()
327 edac_dev->mod_name = EDAC_MOD_STR; in mv64x60_sram_err_probe()
328 edac_dev->ctl_name = pdata->name; in mv64x60_sram_err_probe()
331 edac_dev->edac_check = mv64x60_sram_check; in mv64x60_sram_err_probe()
335 if (edac_device_add_device(edac_dev) > 0) { in mv64x60_sram_err_probe()
347 edac_dev); in mv64x60_sram_err_probe()
371 edac_device_free_ctl_info(edac_dev); in mv64x60_sram_err_probe()
377 struct edac_device_ctl_info *edac_dev = platform_get_drvdata(pdev); in mv64x60_sram_err_remove() local
382 edac_device_free_ctl_info(edac_dev); in mv64x60_sram_err_remove()
396 static void mv64x60_cpu_check(struct edac_device_ctl_info *edac_dev) in mv64x60_cpu_check() argument
398 struct mv64x60_cpu_pdata *pdata = edac_dev->pvt_info; in mv64x60_cpu_check()
420 edac_device_handle_ue(edac_dev, 0, 0, edac_dev->ctl_name); in mv64x60_cpu_check()
425 struct edac_device_ctl_info *edac_dev = dev_id; in mv64x60_cpu_isr() local
426 struct mv64x60_cpu_pdata *pdata = edac_dev->pvt_info; in mv64x60_cpu_isr()
434 mv64x60_cpu_check(edac_dev); in mv64x60_cpu_isr()
441 struct edac_device_ctl_info *edac_dev; in mv64x60_cpu_err_probe() local
449 edac_dev = edac_device_alloc_ctl_info(sizeof(*pdata), in mv64x60_cpu_err_probe()
452 if (!edac_dev) { in mv64x60_cpu_err_probe()
457 pdata = edac_dev->pvt_info; in mv64x60_cpu_err_probe()
459 edac_dev->dev = &pdev->dev; in mv64x60_cpu_err_probe()
460 platform_set_drvdata(pdev, edac_dev); in mv64x60_cpu_err_probe()
461 edac_dev->dev_name = dev_name(&pdev->dev); in mv64x60_cpu_err_probe()
522 edac_dev->mod_name = EDAC_MOD_STR; in mv64x60_cpu_err_probe()
523 edac_dev->ctl_name = pdata->name; in mv64x60_cpu_err_probe()
525 edac_dev->edac_check = mv64x60_cpu_check; in mv64x60_cpu_err_probe()
529 if (edac_device_add_device(edac_dev) > 0) { in mv64x60_cpu_err_probe()
541 edac_dev); in mv64x60_cpu_err_probe()
565 edac_device_free_ctl_info(edac_dev); in mv64x60_cpu_err_probe()
571 struct edac_device_ctl_info *edac_dev = platform_get_drvdata(pdev); in mv64x60_cpu_err_remove() local
576 edac_device_free_ctl_info(edac_dev); in mv64x60_cpu_err_remove()