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

Go to the source code of this file.

Macros

#define DB120_GPIO_LED_WLAN_5G   12
 
#define DB120_GPIO_LED_WLAN_2G   13
 
#define DB120_GPIO_LED_STATUS   14
 
#define DB120_GPIO_LED_WPS   15
 
#define DB120_GPIO_BTN_WPS   16
 
#define DB120_KEYS_POLL_INTERVAL   20 /* msecs */
 
#define DB120_KEYS_DEBOUNCE_INTERVAL   (3 * DB120_KEYS_POLL_INTERVAL)
 
#define DB120_WMAC_CALDATA_OFFSET   0x1000
 
#define DB120_PCIE_CALDATA_OFFSET   0x5000
 

Functions

 MIPS_MACHINE (ATH79_MACH_DB120,"DB120","Atheros DB120 reference board", db120_setup)
 

Macro Definition Documentation

#define DB120_GPIO_BTN_WPS   16

Definition at line 37 of file mach-db120.c.

#define DB120_GPIO_LED_STATUS   14

Definition at line 34 of file mach-db120.c.

#define DB120_GPIO_LED_WLAN_2G   13

Definition at line 33 of file mach-db120.c.

#define DB120_GPIO_LED_WLAN_5G   12

Definition at line 32 of file mach-db120.c.

#define DB120_GPIO_LED_WPS   15

Definition at line 35 of file mach-db120.c.

#define DB120_KEYS_DEBOUNCE_INTERVAL   (3 * DB120_KEYS_POLL_INTERVAL)

Definition at line 40 of file mach-db120.c.

#define DB120_KEYS_POLL_INTERVAL   20 /* msecs */

Definition at line 39 of file mach-db120.c.

#define DB120_PCIE_CALDATA_OFFSET   0x5000

Definition at line 43 of file mach-db120.c.

#define DB120_WMAC_CALDATA_OFFSET   0x1000

Definition at line 42 of file mach-db120.c.

Function Documentation

MIPS_MACHINE ( ATH79_MACH_DB120  ,
"DB120"  ,
"Atheros DB120 reference board ,
db120_setup   
)