Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
bnx2x_init_ops.h File Reference

Go to the source code of this file.

Data Structures

struct  arb_line
 

Macros

#define BP_ILT(bp)   NULL
 
#define BP_FUNC(bp)   0
 
#define BP_PORT(bp)   0
 
#define BNX2X_ILT_FREE(x, y, sz)
 
#define BNX2X_ILT_ZALLOC(x, y, sz)
 
#define ILOG2(x)   x
 
#define IF_IS_INT_TABLE_ADDR(base, addr)   if (((base) <= (addr)) && ((base) + 0x400 >= (addr)))
 
#define IF_IS_PRAM_ADDR(base, addr)   if (((base) <= (addr)) && ((base) + 0x40000 >= (addr)))
 
#define NUM_WR_Q   13
 
#define NUM_RD_Q   29
 
#define MAX_RD_ORD   3
 
#define MAX_WR_ORD   2
 
#define PCIE_REG_PCIER_TL_HDR_FC_ST   0x2980
 
#define ILT_MEMOP_ALLOC   0
 
#define ILT_MEMOP_FREE   1
 
#define ILT_ADDR1(x)   ((u32)(((u64)x >> 12) & 0xFFFFFFFF))
 
#define ILT_ADDR2(x)   ((u32)((1 << 20) | ((u64)x >> 44)))
 
#define ILT_RANGE(f, l)   (((l) << 10) | f)
 
#define QM_QUEUES_PER_FUNC   16 /* E1 has 32, but only 16 are used */
 
#define QM_INIT_MIN_CID_COUNT   31
 
#define QM_INIT(cid_cnt)   (cid_cnt > QM_INIT_MIN_CID_COUNT)
 

Macro Definition Documentation

#define BNX2X_ILT_FREE (   x,
  y,
  sz 
)

Definition at line 32 of file bnx2x_init_ops.h.

#define BNX2X_ILT_ZALLOC (   x,
  y,
  sz 
)

Definition at line 36 of file bnx2x_init_ops.h.

#define BP_FUNC (   bp)    0

Definition at line 24 of file bnx2x_init_ops.h.

#define BP_ILT (   bp)    NULL

Definition at line 20 of file bnx2x_init_ops.h.

#define BP_PORT (   bp)    0

Definition at line 28 of file bnx2x_init_ops.h.

#define IF_IS_INT_TABLE_ADDR (   base,
  addr 
)    if (((base) <= (addr)) && ((base) + 0x400 >= (addr)))

Definition at line 145 of file bnx2x_init_ops.h.

#define IF_IS_PRAM_ADDR (   base,
  addr 
)    if (((base) <= (addr)) && ((base) + 0x40000 >= (addr)))

Definition at line 148 of file bnx2x_init_ops.h.

#define ILOG2 (   x)    x

Definition at line 40 of file bnx2x_init_ops.h.

#define ILT_ADDR1 (   x)    ((u32)(((u64)x >> 12) & 0xFFFFFFFF))

Definition at line 612 of file bnx2x_init_ops.h.

#define ILT_ADDR2 (   x)    ((u32)((1 << 20) | ((u64)x >> 44)))

Definition at line 613 of file bnx2x_init_ops.h.

#define ILT_MEMOP_ALLOC   0

Definition at line 604 of file bnx2x_init_ops.h.

#define ILT_MEMOP_FREE   1

Definition at line 605 of file bnx2x_init_ops.h.

#define ILT_RANGE (   f,
  l 
)    (((l) << 10) | f)

Definition at line 614 of file bnx2x_init_ops.h.

#define MAX_RD_ORD   3

Definition at line 325 of file bnx2x_init_ops.h.

#define MAX_WR_ORD   2

Definition at line 326 of file bnx2x_init_ops.h.

#define NUM_RD_Q   29

Definition at line 324 of file bnx2x_init_ops.h.

#define NUM_WR_Q   13

Definition at line 323 of file bnx2x_init_ops.h.

#define PCIE_REG_PCIER_TL_HDR_FC_ST   0x2980
#define QM_INIT (   cid_cnt)    (cid_cnt > QM_INIT_MIN_CID_COUNT)

Definition at line 833 of file bnx2x_init_ops.h.

#define QM_INIT_MIN_CID_COUNT   31

Definition at line 832 of file bnx2x_init_ops.h.

#define QM_QUEUES_PER_FUNC   16 /* E1 has 32, but only 16 are used */

Definition at line 831 of file bnx2x_init_ops.h.