Home
last modified time | relevance | path

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

/drivers/net/tokenring/
Dlanstreamer.c849 streamer_priv->tx_ring_last_status = STREAMER_TX_RING_SIZE - 1; in streamer_open()
1052 …while(streamer_priv->streamer_tx_ring[(streamer_priv->tx_ring_last_status + 1) & (STREAMER_TX_RING… in streamer_interrupt()
1053 …streamer_priv->tx_ring_last_status = (streamer_priv->tx_ring_last_status + 1) & (STREAMER_TX_RING_… in streamer_interrupt()
1055 dev->stats.tx_bytes += streamer_priv->tx_ring_skb[streamer_priv->tx_ring_last_status]->len; in streamer_interrupt()
1057 dev_kfree_skb_irq(streamer_priv->tx_ring_skb[streamer_priv->tx_ring_last_status]); in streamer_interrupt()
1058 streamer_priv->streamer_tx_ring[streamer_priv->tx_ring_last_status].buffer = 0xdeadbeef; in streamer_interrupt()
1059 streamer_priv->streamer_tx_ring[streamer_priv->tx_ring_last_status].status = 0; in streamer_interrupt()
1060 streamer_priv->streamer_tx_ring[streamer_priv->tx_ring_last_status].bufcnt_framelen = 0; in streamer_interrupt()
1061 streamer_priv->streamer_tx_ring[streamer_priv->tx_ring_last_status].buflen = 0; in streamer_interrupt()
1062 streamer_priv->streamer_tx_ring[streamer_priv->tx_ring_last_status].rsvd1 = 0; in streamer_interrupt()
[all …]
Dolympic.c688 olympic_priv->tx_ring_last_status=OLYMPIC_TX_RING_SIZE-1; /* last processed tx status */ in olympic_open()
971 …while(olympic_priv->olympic_tx_status_ring[(olympic_priv->tx_ring_last_status + 1) & (OLYMPIC_TX_R… in olympic_interrupt()
972 olympic_priv->tx_ring_last_status++; in olympic_interrupt()
973 olympic_priv->tx_ring_last_status &= (OLYMPIC_TX_RING_SIZE-1); in olympic_interrupt()
975 dev->stats.tx_bytes += olympic_priv->tx_ring_skb[olympic_priv->tx_ring_last_status]->len; in olympic_interrupt()
978 le32_to_cpu(olympic_priv->olympic_tx_ring[olympic_priv->tx_ring_last_status].buffer), in olympic_interrupt()
979 olympic_priv->tx_ring_skb[olympic_priv->tx_ring_last_status]->len,PCI_DMA_TODEVICE); in olympic_interrupt()
980 dev_kfree_skb_irq(olympic_priv->tx_ring_skb[olympic_priv->tx_ring_last_status]); in olympic_interrupt()
981 olympic_priv->olympic_tx_ring[olympic_priv->tx_ring_last_status].buffer=cpu_to_le32(0xdeadbeef); in olympic_interrupt()
982 olympic_priv->olympic_tx_status_ring[olympic_priv->tx_ring_last_status].status=0; in olympic_interrupt()
Dlanstreamer.h299 int tx_ring_free, tx_ring_last_status, rx_ring_last_received, member
Dolympic.h276 …int tx_ring_free, tx_ring_last_status, rx_ring_last_received,rx_status_last_received, free_tx_ring… member