#include <linux/module.h>
#include <linux/types.h>
#include <linux/smp.h>
#include <linux/init.h>
#include <linux/sysctl.h>
#include <linux/highmem.h>
#include <linux/timer.h>
#include <linux/slab.h>
#include <linux/jiffies.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/ctype.h>
#include <linux/workqueue.h>
#include <asm/uaccess.h>
#include <asm/page.h>
#include "edac_core.h"
#include "edac_module.h"
Go to the source code of this file.
|
struct edac_device_ctl_info * | edac_device_alloc_ctl_info (unsigned sz_private, char *edac_device_name, unsigned nr_instances, char *edac_block_name, unsigned nr_blocks, unsigned offset_value, struct edac_dev_sysfs_block_attribute *attrib_spec, unsigned nr_attrib, int device_index) |
|
| EXPORT_SYMBOL_GPL (edac_device_alloc_ctl_info) |
|
void | edac_device_free_ctl_info (struct edac_device_ctl_info *ctl_info) |
|
| EXPORT_SYMBOL_GPL (edac_device_free_ctl_info) |
|
void | edac_device_workq_setup (struct edac_device_ctl_info *edac_dev, unsigned msec) |
|
void | edac_device_workq_teardown (struct edac_device_ctl_info *edac_dev) |
|
void | edac_device_reset_delay_period (struct edac_device_ctl_info *edac_dev, unsigned long value) |
|
int | edac_device_alloc_index (void) |
|
| EXPORT_SYMBOL_GPL (edac_device_alloc_index) |
|
int | edac_device_add_device (struct edac_device_ctl_info *edac_dev) |
|
| EXPORT_SYMBOL_GPL (edac_device_add_device) |
|
struct edac_device_ctl_info * | edac_device_del_device (struct device *dev) |
|
| EXPORT_SYMBOL_GPL (edac_device_del_device) |
|
void | edac_device_handle_ce (struct edac_device_ctl_info *edac_dev, int inst_nr, int block_nr, const char *msg) |
|
| EXPORT_SYMBOL_GPL (edac_device_handle_ce) |
|
void | edac_device_handle_ue (struct edac_device_ctl_info *edac_dev, int inst_nr, int block_nr, const char *msg) |
|
| EXPORT_SYMBOL_GPL (edac_device_handle_ue) |
|
edac_device_add_device: Insert the 'edac_dev' structure into the edac_device global list and create sysfs entries associated with edac_device structure. : pointer to the edac_device structure to be added to the list 'edac_device' structure.
Return: 0 Success !0 Failure
Definition at line 494 of file edac_device.c.
int edac_device_alloc_index |
( |
void |
| ) |
|
edac_device_del_device: Remove sysfs entries for specified edac_device structure and then remove edac_device structure from global list
: Pointer to 'struct device' representing edac_device structure to remove.
Return: Pointer to removed edac_device structure, OR NULL if device not found.
Definition at line 566 of file edac_device.c.