Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mach-ap81.c File Reference
#include "machtypes.h"
#include "dev-wmac.h"
#include "dev-gpio-buttons.h"
#include "dev-leds-gpio.h"
#include "dev-spi.h"
#include "dev-usb.h"

Go to the source code of this file.

Macros

#define AP81_GPIO_LED_STATUS   1
 
#define AP81_GPIO_LED_AOSS   3
 
#define AP81_GPIO_LED_WLAN   6
 
#define AP81_GPIO_LED_POWER   14
 
#define AP81_GPIO_BTN_SW4   12
 
#define AP81_GPIO_BTN_SW1   21
 
#define AP81_KEYS_POLL_INTERVAL   20 /* msecs */
 
#define AP81_KEYS_DEBOUNCE_INTERVAL   (3 * AP81_KEYS_POLL_INTERVAL)
 
#define AP81_CAL_DATA_ADDR   0x1fff1000
 

Functions

 MIPS_MACHINE (ATH79_MACH_AP81,"AP81","Atheros AP81 reference board", ap81_setup)
 

Macro Definition Documentation

#define AP81_CAL_DATA_ADDR   0x1fff1000

Definition at line 30 of file mach-ap81.c.

#define AP81_GPIO_BTN_SW1   21

Definition at line 25 of file mach-ap81.c.

#define AP81_GPIO_BTN_SW4   12

Definition at line 24 of file mach-ap81.c.

#define AP81_GPIO_LED_AOSS   3

Definition at line 20 of file mach-ap81.c.

#define AP81_GPIO_LED_POWER   14

Definition at line 22 of file mach-ap81.c.

#define AP81_GPIO_LED_STATUS   1

Definition at line 19 of file mach-ap81.c.

#define AP81_GPIO_LED_WLAN   6

Definition at line 21 of file mach-ap81.c.

#define AP81_KEYS_DEBOUNCE_INTERVAL   (3 * AP81_KEYS_POLL_INTERVAL)

Definition at line 28 of file mach-ap81.c.

#define AP81_KEYS_POLL_INTERVAL   20 /* msecs */

Definition at line 27 of file mach-ap81.c.

Function Documentation

MIPS_MACHINE ( ATH79_MACH_AP81  ,
"AP81"  ,
"Atheros AP81 reference board ,
ap81_setup   
)