Home
last modified time | relevance | path

Searched refs:tx_chain (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c538 struct gelic_descr_chain *tx_chain; in gelic_card_release_tx_chain() local
543 for (tx_chain = &card->tx_chain; in gelic_card_release_tx_chain()
544 tx_chain->head != tx_chain->tail && tx_chain->tail; in gelic_card_release_tx_chain()
545 tx_chain->tail = tx_chain->tail->next) { in gelic_card_release_tx_chain()
546 status = gelic_descr_get_status(tx_chain->tail); in gelic_card_release_tx_chain()
547 netdev = tx_chain->tail->skb->dev; in gelic_card_release_tx_chain()
561 if (tx_chain->tail->skb) { in gelic_card_release_tx_chain()
564 tx_chain->tail->skb->len; in gelic_card_release_tx_chain()
575 gelic_descr_release_tx(card, tx_chain->tail); in gelic_card_release_tx_chain()
676 if (!card->tx_chain.head) in gelic_card_get_next_tx_descr()
[all …]
Dspider_net.c644 struct spider_net_descr_chain *chain = &card->tx_chain; in spider_net_prepare_tx_descr()
660 descr = card->tx_chain.head; in spider_net_prepare_tx_descr()
700 struct spider_net_descr *descr = card->tx_chain.tail; in spider_net_set_low_watermark()
709 while (descr != card->tx_chain.head) { in spider_net_set_low_watermark()
718 if (cnt < card->tx_chain.num_desc/4) in spider_net_set_low_watermark()
722 descr = card->tx_chain.tail; in spider_net_set_low_watermark()
728 spin_lock_irqsave(&card->tx_chain.lock, flags); in spider_net_set_low_watermark()
736 spin_unlock_irqrestore(&card->tx_chain.lock, flags); in spider_net_set_low_watermark()
756 struct spider_net_descr_chain *chain = &card->tx_chain; in spider_net_release_tx_chain()
845 descr = card->tx_chain.tail; in spider_net_kick_tx_dma()
[all …]
Dspider_net_ethtool.c118 ering->tx_pending = card->tx_chain.num_desc; in spider_net_ethtool_get_ringparam()
Dps3_gelic_net.h276 struct gelic_descr_chain tx_chain; member
Dspider_net.h455 struct spider_net_descr_chain tx_chain; member
/Linux-v5.10/drivers/net/ethernet/aurora/
Dnb8800.c452 if (!priv->tx_chain) { in nb8800_xmit()
454 priv->tx_chain = txb; in nb8800_xmit()
456 priv->tx_chain->chain_len++; in nb8800_xmit()
465 priv->tx_chain->ready = true; in nb8800_xmit()
466 priv->tx_chain = NULL; in nb8800_xmit()
Dnb8800.h278 struct nb8800_tx_buf *tx_chain; member