Lines Matching defs:prueth_emac
129 struct prueth_emac { struct
130 bool fw_running;
131 struct prueth *prueth;
132 struct net_device *ndev;
133 u8 mac_addr[6];
134 struct napi_struct napi_rx;
135 u32 msg_enable;
137 int link;
138 int speed;
139 int duplex;
141 const char *phy_id;
142 struct device_node *phy_node;
143 phy_interface_t phy_if;
144 enum prueth_port port_id;
145 struct icss_iep *iep;
146 unsigned int rx_ts_enabled : 1;
147 unsigned int tx_ts_enabled : 1;
150 struct prueth_tx_chn tx_chns[PRUETH_MAX_TX_QUEUES];
151 struct completion tdown_complete;
152 atomic_t tdown_cnt;
153 struct prueth_rx_chn rx_chns;
154 int rx_flow_id_base;
155 int tx_ch_num;
157 spinlock_t lock; /* serialize access */
161 struct sk_buff *tx_ts_skb[PRUETH_MAX_TX_TS_REQUESTS];
162 atomic_t tx_ts_pending;
163 int tx_ts_irq;
165 u8 cmd_seq;
167 u32 cmd_data[4];
168 struct completion cmd_complete;
170 struct mutex cmd_lock;
171 struct work_struct rx_mode_work;
172 struct workqueue_struct *cmd_wq;
174 struct pruss_mem_region dram;
176 struct delayed_work stats_work;
177 u64 stats[ICSSG_NUM_STATS];