Lines Matching refs:txRing

743 typhoon_tso_fill(struct sk_buff *skb, struct transmit_ring *txRing,  in typhoon_tso_fill()  argument
749 tcpd = (struct tcpopt_desc *) (txRing->ringBase + txRing->lastWrite); in typhoon_tso_fill()
750 tcpd_offset += txRing->lastWrite; in typhoon_tso_fill()
752 typhoon_inc_tx_index(&txRing->lastWrite, 1); in typhoon_tso_fill()
767 struct transmit_ring *txRing; in typhoon_start_tx() local
778 txRing = &tp->txLoRing; in typhoon_start_tx()
804 while(unlikely(typhoon_num_free_tx(txRing) < (numDesc + 2))) in typhoon_start_tx()
807 first_txd = (struct tx_desc *) (txRing->ringBase + txRing->lastWrite); in typhoon_start_tx()
808 typhoon_inc_tx_index(&txRing->lastWrite, 1); in typhoon_start_tx()
836 typhoon_tso_fill(skb, txRing, tp->txlo_dma_addr); in typhoon_start_tx()
839 txd = (struct tx_desc *) (txRing->ringBase + txRing->lastWrite); in typhoon_start_tx()
840 typhoon_inc_tx_index(&txRing->lastWrite, 1); in typhoon_start_tx()
869 txd = (struct tx_desc *) (txRing->ringBase + in typhoon_start_tx()
870 txRing->lastWrite); in typhoon_start_tx()
871 typhoon_inc_tx_index(&txRing->lastWrite, 1); in typhoon_start_tx()
889 writel(txRing->lastWrite, tp->tx_ioaddr + txRing->writeRegister); in typhoon_start_tx()
900 if(typhoon_num_free_tx(txRing) < (numDesc + 2)) { in typhoon_start_tx()
907 if(typhoon_num_free_tx(txRing) >= (numDesc + 2)) in typhoon_start_tx()
1539 typhoon_clean_tx(struct typhoon *tp, struct transmit_ring *txRing, in typhoon_clean_tx() argument
1542 u32 lastRead = txRing->lastRead; in typhoon_clean_tx()
1549 tx = (struct tx_desc *) (txRing->ringBase + lastRead); in typhoon_clean_tx()
1575 typhoon_tx_complete(struct typhoon *tp, struct transmit_ring *txRing, in typhoon_tx_complete() argument
1582 lastRead = typhoon_clean_tx(tp, txRing, index); in typhoon_tx_complete()
1583 if(netif_queue_stopped(tp->dev) && typhoon_num_free(txRing->lastWrite, in typhoon_tx_complete()
1587 txRing->lastRead = lastRead; in typhoon_tx_complete()