Home
last modified time | relevance | path

Searched refs:netdev_desc (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/net/ethernet/dlink/
H A Ddl2k.h38 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct netdev_desc)
39 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct netdev_desc)
355 struct netdev_desc { struct
366 struct netdev_desc *rx_ring; argument
367 struct netdev_desc *tx_ring;
392 struct netdev_desc *last_tx; /* Last Tx descriptor used. */
H A Dsundance.c69 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct netdev_desc)
70 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct netdev_desc)
340 struct netdev_desc { struct
363 struct netdev_desc *rx_ring;
364 struct netdev_desc *tx_ring;
551 np->tx_ring = (struct netdev_desc *)ring_space; in sundance_probe1()
558 np->rx_ring = (struct netdev_desc *)ring_space; in sundance_probe1()
1065 struct netdev_desc *txdesc = in tx_poll()
1074 entry*sizeof(struct netdev_desc)); in tx_poll()
1090 struct netdev_desc *txdesc; in start_tx()
[all …]
H A Ddl2k.c426 static inline dma_addr_t desc_to_dma(struct netdev_desc *desc) in desc_to_dma()
492 sizeof(struct netdev_desc)); in alloc_list()
509 sizeof(struct netdev_desc)); in alloc_list()
710 struct netdev_desc *txdesc; in start_xmit()
765 entry * sizeof (struct netdev_desc)); in start_xmit()
887 np->old_tx * sizeof (struct netdev_desc)); in tx_error()
922 struct netdev_desc *desc = &np->rx_ring[entry]; in receive_packet()
/openbmc/linux/drivers/net/ethernet/natsemi/
H A Dnatsemi.c513 struct netdev_desc { struct
541 struct netdev_desc *rx_ring;
542 struct netdev_desc *tx_ring;
556 struct netdev_desc *rx_head_desc;
1719 writel(np->ring_dma + RX_RING_SIZE * sizeof(struct netdev_desc), in init_registers()
1917 sizeof(struct netdev_desc) * (RX_RING_SIZE + TX_RING_SIZE), in alloc_ring()
1978 +sizeof(struct netdev_desc) in init_ring()
1997 +sizeof(struct netdev_desc) in init_ring()
2052 sizeof(struct netdev_desc) * (RX_RING_SIZE + TX_RING_SIZE), in free_ring()