Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations
t4vf_defs.h File Reference
#include "../cxgb4/t4_regs.h"

Go to the source code of this file.

Macros

#define T4VF_SGE_BASE_ADDR   0x0000
 
#define T4VF_MPS_BASE_ADDR   0x0100
 
#define T4VF_PL_BASE_ADDR   0x0200
 
#define T4VF_MBDATA_BASE_ADDR   0x0240
 
#define T4VF_CIM_BASE_ADDR   0x0300
 
#define T4VF_REGMAP_START   0x0000
 
#define T4VF_REGMAP_SIZE   0x0400
 
#define T4VF_MOD_MAP(module, index, first, last)
 
#define SGE_VF_KDOORBELL   0x0
 
#define SGE_VF_GTS   0x4
 
#define MPS_VF_CTL   0x0
 
#define MPS_VF_STAT_RX_VF_ERR_FRAMES_H   0xfc
 
#define PL_VF_WHOAMI   0x0
 
#define CIM_VF_EXT_MAILBOX_CTRL   0x0
 
#define CIM_VF_EXT_MAILBOX_STATUS   0x4
 
#define NUM_CIM_VF_MAILBOX_DATA_INSTANCES   16
 
#define T4VF_MBDATA_FIRST   0
 
#define T4VF_MBDATA_LAST   ((NUM_CIM_VF_MAILBOX_DATA_INSTANCES-1)*4)
 

Enumerations

enum  
 

Macro Definition Documentation

#define CIM_VF_EXT_MAILBOX_CTRL   0x0

Definition at line 99 of file t4vf_defs.h.

#define CIM_VF_EXT_MAILBOX_STATUS   0x4

Definition at line 100 of file t4vf_defs.h.

#define MPS_VF_CTL   0x0

Definition at line 96 of file t4vf_defs.h.

#define MPS_VF_STAT_RX_VF_ERR_FRAMES_H   0xfc

Definition at line 97 of file t4vf_defs.h.

#define NUM_CIM_VF_MAILBOX_DATA_INSTANCES   16

Definition at line 116 of file t4vf_defs.h.

#define PL_VF_WHOAMI   0x0

Definition at line 98 of file t4vf_defs.h.

#define SGE_VF_GTS   0x4

Definition at line 95 of file t4vf_defs.h.

#define SGE_VF_KDOORBELL   0x0

Definition at line 94 of file t4vf_defs.h.

#define T4VF_CIM_BASE_ADDR   0x0300

Definition at line 57 of file t4vf_defs.h.

#define T4VF_MBDATA_BASE_ADDR   0x0240

Definition at line 56 of file t4vf_defs.h.

#define T4VF_MBDATA_FIRST   0

Definition at line 118 of file t4vf_defs.h.

#define T4VF_MBDATA_LAST   ((NUM_CIM_VF_MAILBOX_DATA_INSTANCES-1)*4)

Definition at line 119 of file t4vf_defs.h.

#define T4VF_MOD_MAP (   module,
  index,
  first,
  last 
)
Value:
T4VF_MOD_MAP_##module##_INDEX = (index), \
T4VF_MOD_MAP_##module##_FIRST = (first), \
T4VF_MOD_MAP_##module##_LAST = (last), \
T4VF_MOD_MAP_##module##_OFFSET = ((first)/4), \
T4VF_MOD_MAP_##module##_BASE = \
(T4VF_##module##_BASE_ADDR/4 + (first)/4), \
T4VF_MOD_MAP_##module##_LIMIT = \
(T4VF_##module##_BASE_ADDR/4 + (last)/4),

Definition at line 84 of file t4vf_defs.h.

#define T4VF_MPS_BASE_ADDR   0x0100

Definition at line 54 of file t4vf_defs.h.

#define T4VF_PL_BASE_ADDR   0x0200

Definition at line 55 of file t4vf_defs.h.

#define T4VF_REGMAP_SIZE   0x0400

Definition at line 60 of file t4vf_defs.h.

#define T4VF_REGMAP_START   0x0000

Definition at line 59 of file t4vf_defs.h.

#define T4VF_SGE_BASE_ADDR   0x0000

Definition at line 53 of file t4vf_defs.h.

Enumeration Type Documentation

anonymous enum

Definition at line 102 of file t4vf_defs.h.