Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/dlink/
Ddl2k.h41 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct netdev_desc)
42 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct netdev_desc)
351 struct netdev_desc { struct
362 struct netdev_desc *rx_ring; argument
363 struct netdev_desc *tx_ring;
389 struct netdev_desc *last_tx; /* Last Tx descriptor used. */
Dsundance.c72 #define TX_TOTAL_SIZE TX_RING_SIZE*sizeof(struct netdev_desc)
73 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct netdev_desc)
348 struct netdev_desc { struct
371 struct netdev_desc *rx_ring;
372 struct netdev_desc *tx_ring;
397 struct netdev_desc *last_tx; /* Last Tx descriptor used. */
562 np->tx_ring = (struct netdev_desc *)ring_space; in sundance_probe1()
569 np->rx_ring = (struct netdev_desc *)ring_space; in sundance_probe1()
1077 struct netdev_desc *txdesc = in tx_poll()
1086 entry*sizeof(struct netdev_desc)); in tx_poll()
[all …]
Ddl2k.c563 sizeof (struct netdev_desc)); in alloc_list()
570 sizeof (struct netdev_desc)); in alloc_list()
604 struct netdev_desc *txdesc; in start_xmit()
660 entry * sizeof (struct netdev_desc)); in start_xmit()
707 static inline dma_addr_t desc_to_dma(struct netdev_desc *desc) in desc_to_dma()
788 np->old_tx * sizeof (struct netdev_desc)); in tx_error()
827 struct netdev_desc *desc = &np->rx_ring[entry]; in receive_packet()
/linux-4.1.27/drivers/net/ethernet/natsemi/
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;
1718 writel(np->ring_dma + RX_RING_SIZE * sizeof(struct netdev_desc), in init_registers()
1916 sizeof(struct netdev_desc) * (RX_RING_SIZE+TX_RING_SIZE), in alloc_ring()
1971 +sizeof(struct netdev_desc) in init_ring()
1990 +sizeof(struct netdev_desc) in init_ring()
2046 sizeof(struct netdev_desc) * (RX_RING_SIZE+TX_RING_SIZE), in free_ring()