Lines Matching refs:tx_skbs
434 } tx_skbs[TX_FD_NUM], rx_skbs[RX_BUF_NUM]; member
983 lp->tx_skbs[fdsystem].skb : NULL; in tc35815_clear_queues()
985 if (lp->tx_skbs[i].skb != skb) { in tc35815_clear_queues()
990 BUG_ON(lp->tx_skbs[i].skb != skb); in tc35815_clear_queues()
994 lp->tx_skbs[i].skb_dma, skb->len, in tc35815_clear_queues()
996 lp->tx_skbs[i].skb = NULL; in tc35815_clear_queues()
997 lp->tx_skbs[i].skb_dma = 0; in tc35815_clear_queues()
1017 lp->tx_skbs[fdsystem].skb : NULL; in tc35815_free_queues()
1019 if (lp->tx_skbs[i].skb != skb) { in tc35815_free_queues()
1024 BUG_ON(lp->tx_skbs[i].skb != skb); in tc35815_free_queues()
1028 lp->tx_skbs[i].skb_dma, in tc35815_free_queues()
1031 lp->tx_skbs[i].skb = NULL; in tc35815_free_queues()
1032 lp->tx_skbs[i].skb_dma = 0; in tc35815_free_queues()
1291 if (lp->tx_skbs[lp->tfd_start].skb) { in tc35815_send_packet()
1296 BUG_ON(lp->tx_skbs[lp->tfd_start].skb); in tc35815_send_packet()
1298 lp->tx_skbs[lp->tfd_start].skb = skb; in tc35815_send_packet()
1299 lp->tx_skbs[lp->tfd_start].skb_dma = dma_map_single(&lp->pci_dev->dev, in tc35815_send_packet()
1306 txfd->bd.BuffData = cpu_to_le32(lp->tx_skbs[lp->tfd_start].skb_dma); in tc35815_send_packet()
1751 lp->tx_skbs[fdsystem].skb : NULL; in tc35815_txdone()
1753 if (lp->tx_skbs[lp->tfd_end].skb != skb) { in tc35815_txdone()
1758 BUG_ON(lp->tx_skbs[lp->tfd_end].skb != skb); in tc35815_txdone()
1763 lp->tx_skbs[lp->tfd_end].skb_dma, in tc35815_txdone()
1765 lp->tx_skbs[lp->tfd_end].skb = NULL; in tc35815_txdone()
1766 lp->tx_skbs[lp->tfd_end].skb_dma = 0; in tc35815_txdone()