Lines Matching refs:txRing
690 typhoon_tso_fill(struct sk_buff *skb, struct transmit_ring *txRing, in typhoon_tso_fill() argument
696 tcpd = (struct tcpopt_desc *) (txRing->ringBase + txRing->lastWrite); in typhoon_tso_fill()
697 tcpd_offset += txRing->lastWrite; in typhoon_tso_fill()
699 typhoon_inc_tx_index(&txRing->lastWrite, 1); in typhoon_tso_fill()
714 struct transmit_ring *txRing; in typhoon_start_tx() local
725 txRing = &tp->txLoRing; in typhoon_start_tx()
751 while (unlikely(typhoon_num_free_tx(txRing) < (numDesc + 2))) in typhoon_start_tx()
754 first_txd = (struct tx_desc *) (txRing->ringBase + txRing->lastWrite); in typhoon_start_tx()
755 typhoon_inc_tx_index(&txRing->lastWrite, 1); in typhoon_start_tx()
782 typhoon_tso_fill(skb, txRing, tp->txlo_dma_addr); in typhoon_start_tx()
785 txd = (struct tx_desc *) (txRing->ringBase + txRing->lastWrite); in typhoon_start_tx()
786 typhoon_inc_tx_index(&txRing->lastWrite, 1); in typhoon_start_tx()
815 txd = (struct tx_desc *) (txRing->ringBase + in typhoon_start_tx()
816 txRing->lastWrite); in typhoon_start_tx()
817 typhoon_inc_tx_index(&txRing->lastWrite, 1); in typhoon_start_tx()
834 iowrite32(txRing->lastWrite, tp->tx_ioaddr + txRing->writeRegister); in typhoon_start_tx()
843 if (typhoon_num_free_tx(txRing) < (numDesc + 2)) { in typhoon_start_tx()
850 if (typhoon_num_free_tx(txRing) >= (numDesc + 2)) in typhoon_start_tx()
1505 typhoon_clean_tx(struct typhoon *tp, struct transmit_ring *txRing, in typhoon_clean_tx() argument
1508 u32 lastRead = txRing->lastRead; in typhoon_clean_tx()
1515 tx = (struct tx_desc *) (txRing->ringBase + lastRead); in typhoon_clean_tx()
1541 typhoon_tx_complete(struct typhoon *tp, struct transmit_ring *txRing, in typhoon_tx_complete() argument
1548 lastRead = typhoon_clean_tx(tp, txRing, index); in typhoon_tx_complete()
1549 if (netif_queue_stopped(tp->dev) && typhoon_num_free(txRing->lastWrite, in typhoon_tx_complete()
1553 txRing->lastRead = lastRead; in typhoon_tx_complete()