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

Go to the source code of this file.

Data Structures

struct  init_table
 
struct  _cmac_instance
 

Macros

#define STATS_TICK_SECS   15
 
#define MAJOR_UPDATE_TICKS   (1800 / STATS_TICK_SECS)
 
#define MAX_MTU   9600
 
#define WM_DISABLE   0x01a01fff
 
#define WM_ENABLE   0x014a03F0
 
#define INITBLOCK_SLEEP   0xffffffff
 
#define HW_STAT(reg, stat_name)   { reg, (&((struct cmac_statistics *)NULL)->stat_name) - (u64 *)NULL }
 

Variables

struct gmac t1_vsc7326_ops
 

Macro Definition Documentation

#define HW_STAT (   reg,
  stat_name 
)    { reg, (&((struct cmac_statistics *)NULL)->stat_name) - (u64 *)NULL }
#define INITBLOCK_SLEEP   0xffffffff

Definition at line 34 of file vsc7326.c.

#define MAJOR_UPDATE_TICKS   (1800 / STATS_TICK_SECS)

Definition at line 12 of file vsc7326.c.

#define MAX_MTU   9600

Definition at line 14 of file vsc7326.c.

#define STATS_TICK_SECS   15

Definition at line 10 of file vsc7326.c.

#define WM_DISABLE   0x01a01fff

Definition at line 21 of file vsc7326.c.

#define WM_ENABLE   0x014a03F0

Definition at line 22 of file vsc7326.c.

Variable Documentation

struct gmac t1_vsc7326_ops
Initial value:
= {
.stats_update_period = STATS_TICK_SECS,
.create = vsc7326_mac_create,
.reset = vsc7326_mac_reset,
}

Definition at line 726 of file vsc7326.c.