Linux Kernel
3.7.1
|
#include <linux/ctype.h>
#include <linux/slab.h>
#include <linux/edac.h>
#include <linux/bug.h>
#include <linux/pm_runtime.h>
#include <linux/uaccess.h>
#include "edac_core.h"
#include "edac_module.h"
Go to the source code of this file.
Macros | |
#define | to_dimm(k) container_of(k, struct dimm_info, dev) |
#define | to_mci(k) container_of(k, struct mem_ctl_info, dev) |
Functions | |
int | edac_mc_get_log_ue (void) |
int | edac_mc_get_log_ce (void) |
int | edac_mc_get_panic_on_ue (void) |
int | edac_mc_get_poll_msec (void) |
module_param (edac_mc_panic_on_ue, int, 0644) | |
MODULE_PARM_DESC (edac_mc_panic_on_ue,"Panic on uncorrected error: 0=off 1=on") | |
module_param (edac_mc_log_ue, int, 0644) | |
MODULE_PARM_DESC (edac_mc_log_ue,"Log uncorrectable error to console: 0=off 1=on") | |
module_param (edac_mc_log_ce, int, 0644) | |
MODULE_PARM_DESC (edac_mc_log_ce,"Log correctable error to console: 0=off 1=on") | |
module_param_call (edac_mc_poll_msec, edac_set_poll_msec, param_get_int,&edac_mc_poll_msec, 0644) | |
MODULE_PARM_DESC (edac_mc_poll_msec,"Polling period in milliseconds") | |
DEVICE_ATTR (reset_counters, S_IWUSR, NULL, mci_reset_counters_store) | |
DEVICE_ATTR (mc_name, S_IRUGO, mci_ctl_name_show, NULL) | |
DEVICE_ATTR (size_mb, S_IRUGO, mci_size_mb_show, NULL) | |
DEVICE_ATTR (seconds_since_reset, S_IRUGO, mci_seconds_show, NULL) | |
DEVICE_ATTR (ue_noinfo_count, S_IRUGO, mci_ue_noinfo_show, NULL) | |
DEVICE_ATTR (ce_noinfo_count, S_IRUGO, mci_ce_noinfo_show, NULL) | |
DEVICE_ATTR (ue_count, S_IRUGO, mci_ue_count_show, NULL) | |
DEVICE_ATTR (ce_count, S_IRUGO, mci_ce_count_show, NULL) | |
DEVICE_ATTR (max_location, S_IRUGO, mci_max_location_show, NULL) | |
DEVICE_ATTR (sdram_scrub_rate, S_IRUGO|S_IWUSR, mci_sdram_scrub_rate_show, mci_sdram_scrub_rate_store) | |
int | edac_create_sysfs_mci_device (struct mem_ctl_info *mci) |
void | edac_remove_sysfs_mci_device (struct mem_ctl_info *mci) |
void | edac_unregister_sysfs (struct mem_ctl_info *mci) |
int __init | edac_mc_sysfs_init (void) |
void __exit | edac_mc_sysfs_exit (void) |
Definition at line 481 of file edac_mc_sysfs.c.
#define to_mci | ( | k | ) | container_of(k, struct mem_ctl_info, dev) |
Definition at line 626 of file edac_mc_sysfs.c.
DEVICE_ATTR | ( | sdram_scrub_rate | , |
S_IRUGO| | S_IWUSR, | ||
mci_sdram_scrub_rate_show | , | ||
mci_sdram_scrub_rate_store | |||
) |
int edac_create_sysfs_mci_device | ( | struct mem_ctl_info * | mci | ) |
Definition at line 980 of file edac_mc_sysfs.c.
Definition at line 37 of file edac_mc_sysfs.c.
Definition at line 32 of file edac_mc_sysfs.c.
Definition at line 42 of file edac_mc_sysfs.c.
Definition at line 48 of file edac_mc_sysfs.c.
Definition at line 1146 of file edac_mc_sysfs.c.
Definition at line 1118 of file edac_mc_sysfs.c.
void edac_remove_sysfs_mci_device | ( | struct mem_ctl_info * | mci | ) |
Definition at line 1069 of file edac_mc_sysfs.c.
void edac_unregister_sysfs | ( | struct mem_ctl_info * | mci | ) |
Definition at line 1092 of file edac_mc_sysfs.c.
module_param | ( | edac_mc_panic_on_ue | , |
int | , | ||
0644 | |||
) |
module_param | ( | edac_mc_log_ue | , |
int | , | ||
0644 | |||
) |
module_param | ( | edac_mc_log_ce | , |
int | , | ||
0644 | |||
) |
module_param_call | ( | edac_mc_poll_msec | , |
edac_set_poll_msec | , | ||
param_get_int | , | ||
& | edac_mc_poll_msec, | ||
0644 | |||
) |
MODULE_PARM_DESC | ( | edac_mc_panic_on_ue | ) |
MODULE_PARM_DESC | ( | edac_mc_log_ue | ) |
MODULE_PARM_DESC | ( | edac_mc_log_ce | ) |