/linux-3.4.99/drivers/edac/ |
D | edac_device.c | 41 static void edac_device_dump_device(struct edac_device_ctl_info *edac_dev) in edac_device_dump_device() argument 43 debugf3("\tedac_dev = %p dev_idx=%d \n", edac_dev, edac_dev->dev_idx); in edac_device_dump_device() 44 debugf4("\tedac_dev->edac_check = %p\n", edac_dev->edac_check); in edac_device_dump_device() 45 debugf3("\tdev = %p\n", edac_dev->dev); in edac_device_dump_device() 47 edac_dev->mod_name, edac_dev->ctl_name); in edac_device_dump_device() 48 debugf3("\tpvt_info = %p\n\n", edac_dev->pvt_info); in edac_device_dump_device() 278 struct edac_device_ctl_info *edac_dev; in find_edac_device_by_dev() local 284 edac_dev = list_entry(item, struct edac_device_ctl_info, link); in find_edac_device_by_dev() 286 if (edac_dev->dev == dev) in find_edac_device_by_dev() 287 return edac_dev; in find_edac_device_by_dev() [all …]
|
D | edac_device_sysfs.c | 120 struct edac_device_ctl_info *edac_dev = to_ctl_info(kobj); in edac_dev_ctl_info_show() local 124 return ctl_info_attr->show(edac_dev, buffer); in edac_dev_ctl_info_show() 133 struct edac_device_ctl_info *edac_dev = to_ctl_info(kobj); in edac_dev_ctl_info_store() local 137 return ctl_info_attr->store(edac_dev, buffer, count); in edac_dev_ctl_info_store() 203 struct edac_device_ctl_info *edac_dev = to_edacdev(kobj); in edac_device_ctrl_master_release() local 205 debugf4("%s() control index=%d\n", __func__, edac_dev->dev_idx); in edac_device_ctrl_master_release() 208 module_put(edac_dev->owner); in edac_device_ctrl_master_release() 213 kfree(edac_dev); in edac_device_ctrl_master_release() 231 int edac_device_register_sysfs_main_kobj(struct edac_device_ctl_info *edac_dev) in edac_device_register_sysfs_main_kobj() argument 247 edac_dev->edac_subsys = edac_subsys; in edac_device_register_sysfs_main_kobj() [all …]
|
D | amd8111_edac.c | 169 static void amd8111_pci_bridge_check(struct edac_pci_ctl_info *edac_dev) in amd8111_pci_bridge_check() argument 171 struct amd8111_pci_info *pci_info = edac_dev->pvt_info; in amd8111_pci_bridge_check() 188 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8111_pci_bridge_check() 202 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8111_pci_bridge_check() 216 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8111_pci_bridge_check() 237 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8111_pci_bridge_check() 289 static void amd8111_lpc_bridge_check(struct edac_device_ctl_info *edac_dev) in amd8111_lpc_bridge_check() argument 291 struct amd8111_dev_info *dev_info = edac_dev->pvt_info; in amd8111_lpc_bridge_check() 307 edac_device_handle_ue(edac_dev, 0, 0, edac_dev->ctl_name); in amd8111_lpc_bridge_check() 319 edac_device_handle_ue(edac_dev, 0, 0, in amd8111_lpc_bridge_check() [all …]
|
D | amd8131_edac.c | 170 static void amd8131_pcix_check(struct edac_pci_ctl_info *edac_dev) in amd8131_pcix_check() argument 172 struct amd8131_dev_info *dev_info = edac_dev->pvt_info; in amd8131_pcix_check() 193 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check() 206 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check() 219 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check() 232 edac_pci_handle_npe(edac_dev, edac_dev->ctl_name); in amd8131_pcix_check() 282 dev_info->edac_dev = edac_pci_alloc_ctl_info(0, dev_info->ctl_name); in amd8131_probe() 283 if (!dev_info->edac_dev) in amd8131_probe() 286 dev_info->edac_dev->pvt_info = dev_info; in amd8131_probe() 287 dev_info->edac_dev->dev = &dev_info->dev->dev; in amd8131_probe() [all …]
|
D | mv64x60_edac.c | 233 static void mv64x60_sram_check(struct edac_device_ctl_info *edac_dev) in mv64x60_sram_check() argument 235 struct mv64x60_sram_pdata *pdata = edac_dev->pvt_info; in mv64x60_sram_check() 256 edac_device_handle_ue(edac_dev, 0, 0, edac_dev->ctl_name); in mv64x60_sram_check() 261 struct edac_device_ctl_info *edac_dev = dev_id; in mv64x60_sram_isr() local 262 struct mv64x60_sram_pdata *pdata = edac_dev->pvt_info; in mv64x60_sram_isr() 269 mv64x60_sram_check(edac_dev); in mv64x60_sram_isr() 276 struct edac_device_ctl_info *edac_dev; in mv64x60_sram_err_probe() local 284 edac_dev = edac_device_alloc_ctl_info(sizeof(*pdata), in mv64x60_sram_err_probe() 287 if (!edac_dev) { in mv64x60_sram_err_probe() 292 pdata = edac_dev->pvt_info; in mv64x60_sram_err_probe() [all …]
|
D | edac_module.h | 38 struct edac_device_ctl_info *edac_dev); 40 struct edac_device_ctl_info *edac_dev); 41 extern int edac_device_create_sysfs(struct edac_device_ctl_info *edac_dev); 42 extern void edac_device_remove_sysfs(struct edac_device_ctl_info *edac_dev); 46 extern void edac_device_workq_setup(struct edac_device_ctl_info *edac_dev, 48 extern void edac_device_workq_teardown(struct edac_device_ctl_info *edac_dev); 50 *edac_dev, unsigned long value);
|
D | mpc85xx_edac.c | 357 *edac_dev, char *data) in mpc85xx_l2_inject_data_hi_show() 359 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_hi_show() 365 *edac_dev, char *data) in mpc85xx_l2_inject_data_lo_show() 367 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_lo_show() 373 *edac_dev, char *data) in mpc85xx_l2_inject_ctrl_show() 375 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_ctrl_show() 381 *edac_dev, const char *data, in mpc85xx_l2_inject_data_hi_store() 384 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_hi_store() 394 *edac_dev, const char *data, in mpc85xx_l2_inject_data_lo_store() 397 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; in mpc85xx_l2_inject_data_lo_store() [all …]
|
D | cpc925_edac.c | 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() [all …]
|
D | amd8111_edac.h | 113 struct edac_device_ctl_info *edac_dev; member 116 void (*check)(struct edac_device_ctl_info *edac_dev); 124 struct edac_pci_ctl_info *edac_dev; member 127 void (*check)(struct edac_pci_ctl_info *edac_dev);
|
D | edac_core.h | 258 void (*edac_check) (struct edac_device_ctl_info * edac_dev); 356 void (*edac_check) (struct edac_pci_ctl_info * edac_dev); 492 extern int edac_device_add_device(struct edac_device_ctl_info *edac_dev); 494 extern void edac_device_handle_ue(struct edac_device_ctl_info *edac_dev, 496 extern void edac_device_handle_ce(struct edac_device_ctl_info *edac_dev,
|
D | amd8131_edac.h | 97 struct edac_pci_ctl_info *edac_dev; member 115 void (*check)(struct edac_pci_ctl_info *edac_dev);
|