Lines Matching refs:tx_chain
652 struct spider_net_descr_chain *chain = &card->tx_chain; in spider_net_prepare_tx_descr()
669 descr = card->tx_chain.head; in spider_net_prepare_tx_descr()
710 struct spider_net_descr *descr = card->tx_chain.tail; in spider_net_set_low_watermark()
720 while (descr != card->tx_chain.head) { in spider_net_set_low_watermark()
729 if (cnt < card->tx_chain.num_desc/4) in spider_net_set_low_watermark()
733 descr = card->tx_chain.tail; in spider_net_set_low_watermark()
739 spin_lock_irqsave(&card->tx_chain.lock, flags); in spider_net_set_low_watermark()
747 spin_unlock_irqrestore(&card->tx_chain.lock, flags); in spider_net_set_low_watermark()
767 struct spider_net_descr_chain *chain = &card->tx_chain; in spider_net_release_tx_chain()
857 descr = card->tx_chain.tail; in spider_net_kick_tx_dma()
867 if (descr == card->tx_chain.head) in spider_net_kick_tx_dma()
1937 result = spider_net_init_chain(card, &card->tx_chain); in spider_net_open()
1975 spider_net_free_chain(card, &card->tx_chain); in spider_net_open()
2154 spider_net_free_chain(card, &card->tx_chain); in spider_net_stop()
2349 card->tx_chain.num_desc = tx_descriptors; in spider_net_alloc_card()
2350 card->tx_chain.ring = card->darray + rx_descriptors; in spider_net_alloc_card()