Lines Matching defs:eni_dev
69 struct eni_dev { struct
71 spinlock_t lock; /* sync with interrupt */
72 struct tasklet_struct task; /* tasklet for interrupt work */
73 u32 events; /* pending events */
76 void __iomem *ioaddr;
77 void __iomem *phy; /* PHY interface chip registers */
78 void __iomem *reg; /* register base */
79 void __iomem *ram; /* RAM base */
80 void __iomem *vci; /* VCI table */
81 void __iomem *rx_dma; /* RX DMA queue */
82 void __iomem *tx_dma; /* TX DMA queue */
83 void __iomem *service; /* service list */
85 struct eni_tx tx[NR_CHAN]; /* TX channels */
86 struct eni_tx *ubr; /* UBR channel */
87 struct sk_buff_head tx_queue; /* PDUs currently being TX DMAed*/
88 wait_queue_head_t tx_wait; /* for close */
89 int tx_bw; /* remaining bandwidth */
90 u32 dma[TX_DMA_BUF*2]; /* DMA request scratch area */
91 struct eni_zero { /* aligned "magic" zeroes */
94 } zero;
95 int tx_mult; /* buffer size multiplier (percent) */
97 u32 serv_read; /* host service read index */
121 #define ENI_DEV(d) ((struct eni_dev *) (d)->dev_data) argument