Lines Matching defs:au1000_private
87 struct au1000_private { struct
88 struct db_dest *pDBfree;
89 struct db_dest db[NUM_RX_BUFFS+NUM_TX_BUFFS];
90 struct rx_dma *rx_dma_ring[NUM_RX_DMA];
91 struct tx_dma *tx_dma_ring[NUM_TX_DMA];
92 struct db_dest *rx_db_inuse[NUM_RX_DMA];
93 struct db_dest *tx_db_inuse[NUM_TX_DMA];
94 u32 rx_head;
95 u32 tx_head;
96 u32 tx_tail;
97 u32 tx_full;
99 int mac_id;
101 int mac_enabled; /* whether MAC is currently enabled and running
105 int old_link; /* used by au1000_adjust_link */
106 int old_speed;
107 int old_duplex;
109 struct phy_device *phy_dev;
110 struct mii_bus *mii_bus;
113 int phy_static_config;
114 int phy_search_highest_addr;
115 int phy1_search_mac0;
117 int phy_addr;
118 int phy_busid;
119 int phy_irq;
124 struct mac_reg *mac; /* mac registers */
125 u32 *enable; /* address of MAC Enable Register */
126 void __iomem *macdma; /* base of MAC DMA port */
127 u32 vaddr; /* virtual address of rx/tx buffers */
128 dma_addr_t dma_addr; /* dma address of rx/tx buffers */
130 spinlock_t lock; /* Serialise access to device */
132 u32 msg_enable;