Lines Matching refs:txbd
118 struct arc_emac_bd *txbd = &priv->txbd[*txbd_dirty]; in arc_emac_tx_clean() local
121 unsigned int info = le32_to_cpu(txbd->info); in arc_emac_tx_clean()
123 if ((info & FOR_EMAC) || !txbd->data || !skb) in arc_emac_tx_clean()
149 txbd->data = 0; in arc_emac_tx_clean()
150 txbd->info = 0; in arc_emac_tx_clean()
473 memset(priv->txbd, 0, TX_RING_SZ); in arc_emac_open()
554 struct arc_emac_bd *txbd = &priv->txbd[i]; in arc_free_tx_queue() local
567 txbd->info = 0; in arc_free_tx_queue()
568 txbd->data = 0; in arc_free_tx_queue()
681 __le32 *info = &priv->txbd[*txbd_curr].info; in arc_emac_tx()
707 priv->txbd[*txbd_curr].data = cpu_to_le32(addr); in arc_emac_tx()
813 memset(priv->txbd, 0, TX_RING_SZ); in arc_emac_restart()
961 priv->txbd = priv->rxbd + RX_BD_NUM; in arc_emac_probe()