Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
amd64_edac_dbg.c File Reference
#include "amd64_edac.h"

Go to the source code of this file.

Macros

#define EDAC_DCT_ATTR_SHOW(reg)
 

Functions

 EDAC_DCT_ATTR_SHOW (dhar)
 
 EDAC_DCT_ATTR_SHOW (dbam0)
 
 EDAC_DCT_ATTR_SHOW (top_mem)
 
 EDAC_DCT_ATTR_SHOW (top_mem2)
 
int amd64_create_sysfs_dbg_files (struct mem_ctl_info *mci)
 
void amd64_remove_sysfs_dbg_files (struct mem_ctl_info *mci)
 

Macro Definition Documentation

#define EDAC_DCT_ATTR_SHOW (   reg)
Value:
static ssize_t amd64_##reg##_show(struct device *dev, \
char *data) \
{ \
struct amd64_pvt *pvt = mci->pvt_info; \
return sprintf(data, "0x%016llx\n", (u64)pvt->reg); \
}

Definition at line 3 of file amd64_edac_dbg.c.

Function Documentation

int amd64_create_sysfs_dbg_files ( struct mem_ctl_info mci)

Definition at line 43 of file amd64_edac_dbg.c.

void amd64_remove_sysfs_dbg_files ( struct mem_ctl_info mci)

Definition at line 66 of file amd64_edac_dbg.c.

EDAC_DCT_ATTR_SHOW ( dhar  )
EDAC_DCT_ATTR_SHOW ( dbam0  )
EDAC_DCT_ATTR_SHOW ( top_mem  )
EDAC_DCT_ATTR_SHOW ( top_mem2  )