Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
netxbig_v2-setup.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/ata_platform.h>
#include <linux/mv643xx_eth.h>
#include <linux/input.h>
#include <linux/gpio.h>
#include <linux/gpio_keys.h>
#include <linux/leds.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <mach/kirkwood.h>
#include <linux/platform_data/leds-kirkwood-netxbig.h>
#include "common.h"
#include "mpp.h"
#include "lacie_v2-common.h"

Go to the source code of this file.

Macros

#define NETXBIG_V2_GPIO_SWITCH_POWER_ON   13
 
#define NETXBIG_V2_GPIO_SWITCH_POWER_OFF   15
 
#define NETXBIG_V2_GPIO_FUNC_BUTTON   34
 
#define NETXBIG_V2_SWITCH_POWER_ON   0x1
 
#define NETXBIG_V2_SWITCH_POWER_OFF   0x2
 
#define NETXBIG_LED(_name, maddr, mval, baddr)
 
#define NETXBIG_V2_GPIO_POWER_OFF   7
 

Macro Definition Documentation

#define NETXBIG_LED (   _name,
  maddr,
  mval,
  baddr 
)
Value:
{ .name = _name, \
.mode_addr = maddr, \
.mode_val = mval, \
.bright_addr = baddr }

Definition at line 213 of file netxbig_v2-setup.c.

#define NETXBIG_V2_GPIO_FUNC_BUTTON   34

Definition at line 66 of file netxbig_v2-setup.c.

#define NETXBIG_V2_GPIO_POWER_OFF   7

Definition at line 356 of file netxbig_v2-setup.c.

#define NETXBIG_V2_GPIO_SWITCH_POWER_OFF   15

Definition at line 65 of file netxbig_v2-setup.c.

#define NETXBIG_V2_GPIO_SWITCH_POWER_ON   13

Definition at line 64 of file netxbig_v2-setup.c.

#define NETXBIG_V2_SWITCH_POWER_OFF   0x2

Definition at line 69 of file netxbig_v2-setup.c.

#define NETXBIG_V2_SWITCH_POWER_ON   0x1

Definition at line 68 of file netxbig_v2-setup.c.