Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
eni.h File Reference
#include <linux/atm.h>
#include <linux/atmdev.h>
#include <linux/interrupt.h>
#include <linux/sonet.h>
#include <linux/skbuff.h>
#include <linux/time.h>
#include <linux/pci.h>
#include <linux/spinlock.h>
#include <linux/atomic.h>
#include "midway.h"

Go to the source code of this file.

Data Structures

struct  eni_free
 
struct  eni_tx
 
struct  eni_vcc
 
struct  eni_dev
 
struct  eni_dev::eni_zero
 
struct  eni_skb_prv
 

Macros

#define DEV_LABEL   "eni"
 
#define UBR_BUFFER   (128*1024) /* UBR buffer size */
 
#define RX_DMA_BUF   8 /* burst and skip a few things */
 
#define TX_DMA_BUF   100 /* should be enough for 64 kB */
 
#define DEFAULT_RX_MULT   300 /* max_sdu*3 */
 
#define DEFAULT_TX_MULT   300 /* max_sdu*3 */
 
#define ENI_ZEROES_SIZE   4 /* need that many DMA-able zero bytes */
 
#define ENI_DEV(d)   ((struct eni_dev *) (d)->dev_data)
 
#define ENI_VCC(d)   ((struct eni_vcc *) (d)->dev_data)
 
#define ENI_PRV_SIZE(skb)   (((struct eni_skb_prv *) (skb)->cb)->size)
 
#define ENI_PRV_POS(skb)   (((struct eni_skb_prv *) (skb)->cb)->pos)
 
#define ENI_PRV_PADDR(skb)   (((struct eni_skb_prv *) (skb)->cb)->paddr)
 

Macro Definition Documentation

#define DEFAULT_RX_MULT   300 /* max_sdu*3 */

Definition at line 29 of file eni.h.

#define DEFAULT_TX_MULT   300 /* max_sdu*3 */

Definition at line 30 of file eni.h.

#define DEV_LABEL   "eni"

Definition at line 22 of file eni.h.

#define ENI_DEV (   d)    ((struct eni_dev *) (d)->dev_data)

Definition at line 120 of file eni.h.

#define ENI_PRV_PADDR (   skb)    (((struct eni_skb_prv *) (skb)->cb)->paddr)

Definition at line 133 of file eni.h.

#define ENI_PRV_POS (   skb)    (((struct eni_skb_prv *) (skb)->cb)->pos)

Definition at line 132 of file eni.h.

#define ENI_PRV_SIZE (   skb)    (((struct eni_skb_prv *) (skb)->cb)->size)

Definition at line 131 of file eni.h.

#define ENI_VCC (   d)    ((struct eni_vcc *) (d)->dev_data)

Definition at line 121 of file eni.h.

#define ENI_ZEROES_SIZE   4 /* need that many DMA-able zero bytes */

Definition at line 32 of file eni.h.

#define RX_DMA_BUF   8 /* burst and skip a few things */

Definition at line 26 of file eni.h.

#define TX_DMA_BUF   100 /* should be enough for 64 kB */

Definition at line 27 of file eni.h.

#define UBR_BUFFER   (128*1024) /* UBR buffer size */

Definition at line 24 of file eni.h.