Lines Matching refs:netdev_desc
72 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct netdev_desc)
73 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct netdev_desc)
339 struct netdev_desc {
345 /* Bits in netdev_desc.status */
362 struct netdev_desc *rx_ring;
363 struct netdev_desc *tx_ring;
388 struct netdev_desc *last_tx; /* Last Tx descriptor used. */
542 np->tx_ring = (struct netdev_desc *)ring_space;
549 np->rx_ring = (struct netdev_desc *)ring_space;
1053 struct netdev_desc *txdesc =
1062 entry*sizeof(struct netdev_desc));
1070 iowrite32 (np->tx_ring_dma + head * sizeof(struct netdev_desc),
1078 struct netdev_desc *txdesc;
1318 struct netdev_desc *desc = &(np->rx_ring[entry]);