Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pm.c File Reference
#include <linux/init.h>
#include <linux/kobject.h>
#include <linux/suspend.h>
#include <linux/sysfs.h>
#include <asm/mach-au1x00/au1000.h>
#include <asm/mach-au1x00/gpio.h>
#include <asm/mach-db1x00/bcsr.h>

Go to the source code of this file.

Macros

#define ATTRCMP(x)   (0 == strcmp(attr->attr.name, #x))
 
#define ATTR(x)
 
#define ATTR_LIST(x)   & x ## _attribute.attr
 

Functions

 ATTR (gpio0)
 
 late_initcall (pm_init)
 

Macro Definition Documentation

#define ATTR (   x)
Value:
static struct kobj_attribute x##_attribute = \
__ATTR(x, 0664, db1x_pmattr_show, \
db1x_pmattr_store);

Definition at line 196 of file pm.c.

#define ATTR_LIST (   x)    & x ## _attribute.attr
#define ATTRCMP (   x)    (0 == strcmp(attr->attr.name, #x))

Definition at line 120 of file pm.c.

Function Documentation

ATTR ( gpio0  )

Definition at line 201 of file pm.c.

late_initcall ( pm_init  )