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

Go to the source code of this file.

Data Structures

struct  err_st
 
struct  s_smt_fp_txd
 
struct  s_smt_fp_rxd
 
union  s_fp_descr
 
struct  s_smt_tx_queue
 
struct  s_smt_rx_queue
 
struct  s_smt_fifo_conf
 
struct  s_smt_fp
 
struct  s_smt_fp::fddi_mac_sf
 

Macros

#define HW_PTR   void __iomem *
 
#define VOID_FRAME_OFF   0x00
 
#define CLAIM_FRAME_OFF   0x08
 
#define BEACON_FRAME_OFF   0x10
 
#define DBEACON_FRAME_OFF   0x18
 
#define RX_FIFO_OFF   0x21 /* to get a prime number for */
 
#define RBC_MEM_SIZE   0x8000
 
#define SEND_ASYNC_AS_SYNC   0x1
 
#define SYNC_TRAFFIC_ON   0x2
 
#define RX_FIFO_SPACE   0x4000 - RX_FIFO_OFF
 
#define TX_FIFO_SPACE   0x4000
 
#define TX_SMALL_FIFO   0x0900
 
#define TX_MEDIUM_FIFO   TX_FIFO_SPACE / 2
 
#define TX_LARGE_FIFO   TX_FIFO_SPACE - TX_SMALL_FIFO
 
#define RX_SMALL_FIFO   0x0900
 
#define RX_LARGE_FIFO   RX_FIFO_SPACE - RX_SMALL_FIFO
 
#define FM_ADDRX   (FM_ADDET|FM_EXGPA0|FM_EXGPA1)
 
#define QUEUE_S   0
 
#define QUEUE_A0   1
 
#define QUEUE_R1   0
 
#define QUEUE_R2   1
 
#define USED_QUEUES   2
 
#define FPMAX_MULTICAST   32
 
#define SMT_MAX_MULTI   4
 
#define RX_ENABLE_ALLMULTI   1 /* enable all multicasts */
 
#define RX_DISABLE_ALLMULTI   2 /* disable "enable all multicasts" */
 
#define RX_ENABLE_PROMISC   3 /* enable promiscuous */
 
#define RX_DISABLE_PROMISC   4 /* disable promiscuous */
 
#define RX_ENABLE_NSA   5 /* enable reception of NSA frames */
 
#define RX_DISABLE_NSA   6 /* disable reception of NSA frames */
 
#define AIX_REVERSE(x)   (x)
 
#define MDR_REVERSE(x)   (x)
 

Macro Definition Documentation

#define AIX_REVERSE (   x)    (x)

Definition at line 259 of file fplustm.h.

#define BEACON_FRAME_OFF   0x10

Definition at line 119 of file fplustm.h.

#define CLAIM_FRAME_OFF   0x08

Definition at line 118 of file fplustm.h.

#define DBEACON_FRAME_OFF   0x18

Definition at line 120 of file fplustm.h.

#define FM_ADDRX   (FM_ADDET|FM_EXGPA0|FM_EXGPA1)

Definition at line 153 of file fplustm.h.

#define FPMAX_MULTICAST   32

Definition at line 219 of file fplustm.h.

#define HW_PTR   void __iomem *

Definition at line 24 of file fplustm.h.

#define MDR_REVERSE (   x)    (x)

Definition at line 270 of file fplustm.h.

#define QUEUE_A0   1

Definition at line 181 of file fplustm.h.

#define QUEUE_R1   0

Definition at line 182 of file fplustm.h.

#define QUEUE_R2   1

Definition at line 183 of file fplustm.h.

#define QUEUE_S   0

Definition at line 180 of file fplustm.h.

#define RBC_MEM_SIZE   0x8000

Definition at line 124 of file fplustm.h.

#define RX_DISABLE_ALLMULTI   2 /* disable "enable all multicasts" */

Definition at line 239 of file fplustm.h.

#define RX_DISABLE_NSA   6 /* disable reception of NSA frames */

Definition at line 243 of file fplustm.h.

#define RX_DISABLE_PROMISC   4 /* disable promiscuous */

Definition at line 241 of file fplustm.h.

#define RX_ENABLE_ALLMULTI   1 /* enable all multicasts */

Definition at line 238 of file fplustm.h.

#define RX_ENABLE_NSA   5 /* enable reception of NSA frames */

Definition at line 242 of file fplustm.h.

#define RX_ENABLE_PROMISC   3 /* enable promiscuous */

Definition at line 240 of file fplustm.h.

#define RX_FIFO_OFF   0x21 /* to get a prime number for */

Definition at line 121 of file fplustm.h.

#define RX_FIFO_SPACE   0x4000 - RX_FIFO_OFF

Definition at line 129 of file fplustm.h.

#define RX_LARGE_FIFO   RX_FIFO_SPACE - RX_SMALL_FIFO

Definition at line 137 of file fplustm.h.

#define RX_SMALL_FIFO   0x0900

Definition at line 136 of file fplustm.h.

#define SEND_ASYNC_AS_SYNC   0x1

Definition at line 125 of file fplustm.h.

#define SMT_MAX_MULTI   4

Definition at line 220 of file fplustm.h.

#define SYNC_TRAFFIC_ON   0x2

Definition at line 126 of file fplustm.h.

#define TX_FIFO_SPACE   0x4000

Definition at line 130 of file fplustm.h.

#define TX_LARGE_FIFO   TX_FIFO_SPACE - TX_SMALL_FIFO

Definition at line 134 of file fplustm.h.

#define TX_MEDIUM_FIFO   TX_FIFO_SPACE / 2

Definition at line 133 of file fplustm.h.

#define TX_SMALL_FIFO   0x0900

Definition at line 132 of file fplustm.h.

#define USED_QUEUES   2

Definition at line 184 of file fplustm.h.

#define VOID_FRAME_OFF   0x00

Definition at line 117 of file fplustm.h.