Lines Matching refs:txRing

685 typhoon_tso_fill(struct sk_buff *skb, struct transmit_ring *txRing,  in typhoon_tso_fill()  argument
691 tcpd = (struct tcpopt_desc *) (txRing->ringBase + txRing->lastWrite); in typhoon_tso_fill()
692 tcpd_offset += txRing->lastWrite; in typhoon_tso_fill()
694 typhoon_inc_tx_index(&txRing->lastWrite, 1); in typhoon_tso_fill()
709 struct transmit_ring *txRing; in typhoon_start_tx() local
720 txRing = &tp->txLoRing; in typhoon_start_tx()
746 while (unlikely(typhoon_num_free_tx(txRing) < (numDesc + 2))) in typhoon_start_tx()
749 first_txd = (struct tx_desc *) (txRing->ringBase + txRing->lastWrite); in typhoon_start_tx()
750 typhoon_inc_tx_index(&txRing->lastWrite, 1); in typhoon_start_tx()
777 typhoon_tso_fill(skb, txRing, tp->txlo_dma_addr); in typhoon_start_tx()
780 txd = (struct tx_desc *) (txRing->ringBase + txRing->lastWrite); in typhoon_start_tx()
781 typhoon_inc_tx_index(&txRing->lastWrite, 1); in typhoon_start_tx()
810 txd = (struct tx_desc *) (txRing->ringBase + in typhoon_start_tx()
811 txRing->lastWrite); in typhoon_start_tx()
812 typhoon_inc_tx_index(&txRing->lastWrite, 1); in typhoon_start_tx()
829 iowrite32(txRing->lastWrite, tp->tx_ioaddr + txRing->writeRegister); in typhoon_start_tx()
838 if (typhoon_num_free_tx(txRing) < (numDesc + 2)) { in typhoon_start_tx()
845 if (typhoon_num_free_tx(txRing) >= (numDesc + 2)) in typhoon_start_tx()
1502 typhoon_clean_tx(struct typhoon *tp, struct transmit_ring *txRing, in typhoon_clean_tx() argument
1505 u32 lastRead = txRing->lastRead; in typhoon_clean_tx()
1512 tx = (struct tx_desc *) (txRing->ringBase + lastRead); in typhoon_clean_tx()
1538 typhoon_tx_complete(struct typhoon *tp, struct transmit_ring *txRing, in typhoon_tx_complete() argument
1545 lastRead = typhoon_clean_tx(tp, txRing, index); in typhoon_tx_complete()
1546 if (netif_queue_stopped(tp->dev) && typhoon_num_free(txRing->lastWrite, in typhoon_tx_complete()
1550 txRing->lastRead = lastRead; in typhoon_tx_complete()